Enum PivotValueDisplayType
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
PivotValueDisplayType
Bir pivot değerini başka bir değerin işlevi olarak göstermenin yollarının listesi.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
SpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL
.
Özellikler
Mülk | Tür | Açıklama |
DEFAULT | Enum | Varsayılan. Pivot değerlerini başka bir değerin işlevi olarak değil, gerçek değer olarak gösterir. |
PERCENT_OF_ROW_TOTAL | Enum | Pivot değerlerini, ilgili satırın toplamının yüzdesi olarak gösterir. |
PERCENT_OF_COLUMN_TOTAL | Enum | Pivot değerlerini, ilgili sütunun toplamının yüzdesi olarak gösterir. |
PERCENT_OF_GRAND_TOTAL | Enum | Pivot değerlerini toplamın yüzdesi olarak gösterir. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]