Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
PivotValeurAffichageType
Énumération des méthodes permettant d'afficher une valeur pivot en fonction d'une autre valeur.
Pour appeler un énumération, vous devez appeler sa classe parente, son nom et sa propriété. Par exemple,
SpreadsheetApp.PivotValueDisplayType.PERCENT_OF_ROW_TOTAL.
Propriétés
Propriété
Type
Description
DEFAULT
Enum
Par défaut. Affiche les valeurs du pivot sous la forme de la valeur réelle et non en fonction d'une autre valeur.
PERCENT_OF_ROW_TOTAL
Enum
Affiche les valeurs croisées dynamiquement sous forme de pourcentage du total de la ligne.
PERCENT_OF_COLUMN_TOTAL
Enum
Affiche les valeurs croisées sous forme de pourcentage du total de cette colonne.
PERCENT_OF_GRAND_TOTAL
Enum
Affiche les valeurs du tableau croisé dynamique sous la forme d'un pourcentage du total général.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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. |"]]