The object that describes the calculated measure. Note that a calculated measure must have the formula property defined.
Example
In the example, we add the "Average Quantity" calculated measure. The formula is sum("Quantity")/count("Quantity"). The calculated measure will be added to the list of available measures and selected for the slice (active: true):