Forum Discussion

markandrewolive's avatar
markandrewolive
Frequent Visitor
4 years ago
Solved

Set format to currency and percentage when using SWITCH()

I have a report with a slicer that changes the metric being displayed so that, for each category, our client can switch between viewing the percentage of respondents or their projected annual revenue impact

 

When I use data labels, the project annual revenue impact looks exactly how I want it to:


The number is condensed to "16M" and easy to read.

However, when I use "Total Data Labels", the number does not get condensed:

Which can make it a bit messy and hard to read.

 

Normally, I'd fix this by changing the metric, but, in this case, my metric can be either a percentage or a dollar value.

Is there any way to standardize how a metric is displayed when it is a calculated measure using SWITCH()?

2 Replies