When you are working with an unpublished app, you can create master dimensions so that they can be reused. You can create a master dimension from the Fields section of the assets panel.
Do the following :
Click Edit in the toolbar.
The assets panel opens on the left-hand side.
Click the field you want to use to create a dimension.
The preview opens.
Click at the bottom of the preview.
The Create new dimensions dialog opens with the field you selected. The field name is also used as the name of the dimension.
Select if the dimension is to be single or drill-down.
For more information, see Creating a drill-down dimension.
Edit the name if you want to.
Type a description for the dimension (optional).
If you want to specify a color, click in the color drop down and select a color through one of the following methods:
Add tags (optional).
Click Done to close the dialog.
The dimension is now saved in the Dimensions category in the master items, and you can use it in visualizations.
When you are working with an unpublished app, you can create master measures so that they can be reused. You can create a master measure from the Fields section of the assets panel.
Click in the toolbar.
The assets panel opens on the left-hand side.
Click the field you want to use to create a measure.
The preview opens.
Click 3 at the bottom of the preview.
The Create new measure dialog opens with the field you selected as the name of the measure and as a part of the expression.
Click 3 in the Expression field to open the Edit expression dialog.
Type the expression directly in the expression editor (the main window).
The field names you use in the expression are checked, and the syntax of the expression is validated.
Each line in the expression editor is numbered and syntax highlighting is used.
Click Apply to close the Add expression dialog.
Now you need to add some descriptive data for the measure.
Edit the name if you want to.
Type a description for the measure (optional).
If you want to specify a color, click in the color drop down and select a color through one of the following methods:
Add tags (optional).
The measure is now saved in the Measures category in the master items, and you can use it in visualizations.
For more information on how to create expressions go to the next section : Create expressions