Ein Enum, das die Aggregationstypen definiert, die für eine Field festgelegt werden können.
Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
DataStudioApp.AggregationType.AVG.
Attribute
Attribut
Typ
Beschreibung
AVG
Enum
Durchschnittlich.
COUNT
Enum
Zählen.
COUNT_DISTINCT
Enum
„Einzeln zählen“
MAX
Enum
Max.
MIN
Enum
Min.
SUM
Enum
Summe:
AUTO
Enum
Automatisch. Verwenden Sie „Automatisch“ für berechnete Felder, die auf ein aggregiertes Feld verweisen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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"]]