Enum AggregationType
AggregationType
מאגר ערכים שמגדיר את סוגי הצבירה שאפשר להגדיר ל-Field
.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
DataStudioApp.AggregationType.AVG
.
מאפיינים
נכס | סוג | תיאור |
AVG | Enum | ממוצע. |
COUNT | Enum | ספירה. |
COUNT_DISTINCT | Enum | פונקציית Count Distinct. |
MAX | Enum | מקס. |
MIN | Enum | מינ. |
SUM | Enum | סכום. |
AUTO | Enum | אוטומטי. משתמשים באפשרות 'אוטומטי' בשדות מחושבים שמפנים לשדה מצטבר. |
נכסים שהוצאו משימוש
נכס | סוג | תיאור |
NO_AGGREGATION | Enum | האפשרות הזו הוצאה משימוש. במקום זאת צריך להשתמש ב-AUTO . ללא צבירת נתונים. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-02 (שעון UTC).
[null,null,["עדכון אחרון: 2024-12-02 (שעון UTC)."],[[["`AggregationType` is an enum used to define how data is aggregated within a [Field](/apps-script/reference/data-studio/field) in Data Studio."],["You can call an AggregationType enum through its parent class like so: `DataStudioApp.AggregationType.AVG`."],["Available aggregation types include `AVG`, `COUNT`, `COUNT_DISTINCT`, `MAX`, `MIN`, `SUM`, and `AUTO`, with `AUTO` recommended for calculated fields referencing an aggregated field."],["The `NO_AGGREGATION` enum is deprecated; use `AUTO` instead."]]],["`AggregationType` is an enum defining aggregation options for a `Field`. It includes properties like `AVG`, `COUNT`, `COUNT_DISTINCT`, `MAX`, `MIN`, `SUM`, and `AUTO`. These represent the types of calculations that can be applied to a field's data. `AUTO` is used for calculated fields that reference aggregated data. The `NO_AGGREGATION` property is deprecated and `AUTO` should be used instead. Each enum can be called by its parent class, name, and property.\n"]]