Forum Discussion
joshua1990
Post Prodigy
3 years agoSwitch between Currency and Number
Hi all!
I have a report where I would like to put a switch on top as a slicer to switch between currency and units.
For this objective I started with this approach:
SWITCH A =
VAR _Selection ...
- 3 years ago
joshua1990
Sure,
Here is an example file
ValtteriN
Community Champion
3 years agoHi ,
I would do this with a calculation group:
Expression:selectedmeasure()
Format string expression:
IF(SELECTEDVALUE('Selection for V/C'[value]="Currency", "$ #,##K", selectedmeasureformatstring())
joshua1990
Post Prodigy
3 years agoValtteriN THanks a lot! Any workourant without Tabular Editor? I am not allowed to use this software.
- ValtteriN3 years ago
Community Champion
joshua1990 you can also manage calculation groups in Visual studio or after the upcoming release announced at MS Build calculation groups will be available in Power BI desktop. I think this was scheduled for June's release.