The formula transform extends data objects with new fields (columns) according to anexpression.
// Any View Specification{ ... "transform": [ {"calculate": ..., "as" ...} // Calculate Transform ... ], ...}
Property | Type | Description |
---|---|---|
calculate | String | Required. Aexpression string. Use the variable |
as | String | Required. The field for storing the computed formula value. |
This example usescalculate
to derive a new field, and thenfilter
s the data based on the new field.