Forum Discussion
How to display different measures using a selector
- 9 years ago
I've managed to acheive this using a measure table.
Download the following PBIX file
https://1drv.ms/u/s!AtDlC2rep7a-jkiRG_LyHcv0RSXI
You'll notice on the 2nd page called 'All Sorts' you can choose different Measure names from the box in the top left and it works.
I create a static table called [Dynamic] that carries measures and then reference them in a calculated measure on the fly
Hi,
An addtional issue I have is that the 2 measures I am toggling need to display in different formats. 1 to 1 decimal place and the other to 4 decimal places. This solution works for me apart from being able to dynamically be able to set the format of the measure returned.
Does anyone know if this is possible?,
Thanks in advance for your help,
Cheers,
Jack
- dkay84_PowerBI8 years agoMicrosoft EmployeeGoogle: “Dax format”
- jkenne018 years agoFrequent Visitor
Thanks for the reply but FORMAT returns a text value so my measures would be converted to text. So this won't work unfortunetly.
- dkay84_PowerBI8 years agoMicrosoft EmployeeAre your measures actual measures or calculated within the SWITCH measure? I wonder if they are separate measures each formatted themselves, and the SWITCH just calls them, if the formatting will be honored.