Enum PivotValueDisplayType
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
PivotWertDarstellungTyp
Eine Aufzählung der Möglichkeiten, einen Pivot-Wert als Funktion eines anderen Werts darzustellen.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL
.
Attribute
Attribut | Typ | Beschreibung |
DEFAULT | Enum | Standard. Hier werden Pivot-Werte als tatsächlicher Wert und nicht als Funktion eines anderen Werts angezeigt. |
PERCENT_OF_ROW_TOTAL | Enum | Hier werden Pivot-Werte als Prozentsatz der Gesamtsumme für diese Zeile angezeigt. |
PERCENT_OF_COLUMN_TOTAL | Enum | Hier werden Pivot-Werte als Prozentsatz der Gesamtsumme für diese Spalte angezeigt. |
PERCENT_OF_GRAND_TOTAL | Enum | Hier werden Pivot-Werte als Prozentsatz der Gesamtsumme angezeigt. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003e\u003ccode\u003ePivotValueDisplayType\u003c/code\u003e is used to control how values are displayed in a pivot table, offering options to present them as raw values or percentages relative to row, column, or grand totals.\u003c/p\u003e\n"],["\u003cp\u003eTo utilize a specific display type, reference it using the format \u003ccode\u003eSpreadsheetApp.PivotValueDisplayType.[property]\u003c/code\u003e, such as \u003ccode\u003eSpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL\u003c/code\u003e for displaying values as a percentage of the row total.\u003c/p\u003e\n"],["\u003cp\u003eAvailable display types include \u003ccode\u003eDEFAULT\u003c/code\u003e (displays the raw value), \u003ccode\u003ePERCENT_OF_ROW_TOTAL\u003c/code\u003e, \u003ccode\u003ePERCENT_OF_COLUMN_TOTAL\u003c/code\u003e, and \u003ccode\u003ePERCENT_OF_GRAND_TOTAL\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum PivotValueDisplayType\n\nPivotValueDisplayType\n\nAn enumeration of ways to display a pivot value as a function of another value.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL`. \n\n### Properties\n\n| Property | Type | Description |\n|---------------------------|--------|--------------------------------------------------------------------------------------------|\n| `DEFAULT` | `Enum` | Default. Displays pivot values as the actual value and not as a function of another value. |\n| `PERCENT_OF_ROW_TOTAL` | `Enum` | Displays pivot values as a percent of the total for that row. |\n| `PERCENT_OF_COLUMN_TOTAL` | `Enum` | Displays pivot values as a percent of the total for that column. |\n| `PERCENT_OF_GRAND_TOTAL` | `Enum` | Displays pivot values as a percent of the grand total. |"]]