Reusing measures with master measures
When you are working with an unpublished app, you can create master measures so that they can be reused. Users of a published app will have access to the master measures, but will not be able to modify them.
A master measure is a combination of an expression and descriptive data, such as name, description and tags. You can create a master measure in different ways.
Creating a master measure from a field
Creating a master measure with a common aggregation function
Creating a master measure by typing the expression
Creating a master measure from the data model viewer
You can also create a master measure based on a measure created in a visualization. Under the measure in the properties panel of a visualization, click Add new under Master items.
Master measure formatting
Number formatting, color, and label can be configured for a master measure. These properties are not applied to a visualization if you reference the master measure using an expression. To apply these properties in a visualization, create a direct link to the master measure when configuring the visualization.
Do the following:
-
Expand Data > Measures in the properties panel.
-
Click Add.
-
In the drop down menu, under Measures, select the master measure.
A direct link is now created to the master measure.
Learn more
Using master measures in expressions
Reusing assets with master items