AggregationType

An enum that defines the aggregation types that can be set for a `https://developers.google.com/apps-script/reference/data-studio/field`.

To call an enum, you call its parent class, name, and property. For example, `
DataStudioApp.AggregationType.AVG`.

### Properties

| Property | Type | Description |
|---|---|---|
| `AVG` | `Enum` | Average. |
| `COUNT` | `Enum` | Count. |
| `COUNT_DISTINCT` | `Enum` | Count Distinct. |
| `MAX` | `Enum` | Max. |
| `MIN` | `Enum` | Min. |
| `SUM` | `Enum` | Sum. |
| `AUTO` | `Enum` | Auto. Use Auto for calculated fields which reference an aggregated field. |

### Deprecated properties

| Property | Type | Description |
|---|---|---|
| `NO_AGGREGATION` | `Enum` | DEPRECATED: Use `AUTO` instead. No aggregation. |