Using master measures in expressions
You can use master measures in expressions. You can use the master measure by itself, or use it to build a more complex expression.
When you type in the Expression editor, an auto-complete list of matching master measures opens.
Master measure in Expression editor

Example: Using a master measure in an expression
This example creates a master measure, and then uses the master measure in a chart expression.
-
Create the master measure.
- Click Master items in the assets panel.
-
Under Measures, click Create new.
Create new measure button
-
In the Create new measure dialog box, enter a Name for the master measure, and then click
to open the Expression editor.
Create new measure dialog box
-
In the Expression editor, create the expression.
You can type the expression, or use the options available in the expression builder panel. For more information, see Working with the expression editor.
Insert the expression using the expression builder Count(distinct item), and then click Apply.
Add expression in Expression editor
-
In the Create new measure dialog box, click Create.
Create measure
The new master measure is created.
New master measure
- Use the master measure in a chart expression.
Add a KPI chart to a sheet in an app.
New KPI
Click Add measure, and then click
to open the Expression editor for the KPI.
Open Expression editor
Type the master measure into the expression. As you type, you will get an auto-complete list of any available master measures. If required, the master measure can be used to build more complex expressions in the Expression editor.
Add expression for KPI
Close the Expression editor to view the KPI. You can change properties for the KPI, including the label, in the properties panel.
Master measure in KPI