To define Derived Data, follow these steps.
Inside a visual that generates a subset of data, select a measure field on a shelf.
In this case, we are using sum(population)
.
Click the icon to the right of the field.
In the dropdown, click Save as Derived Data.
In the Save as Derived Data modal window, under
Name, type Pop
, and click
Save.
Notice that in the left navigation under Measures, you have a new category
Derived Data that contains
Pop
.
To check the definition of the saved derived data Pop
, click the down arrow to
the right of its name, and click View Definition.
The Derived Data Definition modal window appears. Note that the definition
includes a parameterized filter for year
.
You can now use Pop
as any other measure.