View the original community article here
Last Tested: Jan 21, 2019
Let's say I have a dimension that I want to see multiple aggregations for one at a time!
We can create a parameter with n number of allowed values depending on the number of measures you wish to display:
From here, we can create a measure with liquid that listens to the parameter value declared above and then chooses the corresponding measure to display:
You can then add the dimension and dynamic measure to an explore, save it to a dashboard, and then add a dashboard filter on that parameter:
You should then see similar functionality to this:
Congratulations! You've now made a dynamic measure that users can interact with! :)