Forum Discussion
ehartanto
5 years agoFrequent Visitor
Multiple Number Format in the Same Column
Hello, I am having difficulty having multiple number formats in the same column. I had it in the same column for drilling down and filtering purposes from different entities. For example, here i...
- Anonymous5 years ago
You can create a measure with multiple format.
Measure = SWITCH(MAX('Table'[Metric]), "Occupancy",FORMAT(SUM('Table'[Amount]),"Percent"), "% Margin", FORMAT(SUM('Table'[Amount]),"Percent"), SUM('Table'[Amount]))
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
5 years agoSuper User
ehartanto , In that case, you have to return the number from a column in the given format. It might become a text column use format function. refer various format here -https://docs.microsoft.com/en-us/power-bi/desktop-custom-format-strings
A few days back I have seen a video from Guyincube where they used external tools for formatting for measure slicer. Not sure that can work for you.