Enum PivotValueDisplayType
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ピボット値表示タイプ
ピボット値を別の値の関数として表示する方法の列挙型。
列挙型を呼び出すには、その親クラス、名前、プロパティを呼び出します。たとえば、
SpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL
です。
プロパティ
プロパティ | タイプ | 説明 |
DEFAULT | Enum | デフォルト。ピボット値は、別の値の関数ではなく、実際の値として表示されます。 |
PERCENT_OF_ROW_TOTAL | Enum | ピボット値をその行の合計の割合として表示します。 |
PERCENT_OF_COLUMN_TOTAL | Enum | ピボット値をその列の合計の割合として表示します。 |
PERCENT_OF_GRAND_TOTAL | Enum | ピボット値を総合計の割合として表示します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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. |"]]