Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
yasemsem
Frequent Visitor

Unable to format a measure

 

I created a matrix table with the values are based on multiple measures. Because I needed to gather a group of measures under a title I had to encapsulate them under another measure  as you see in the below SS ( work around from this post )

 

yasemsem_0-1716062863778.png

 

However, it looks like the outcome is to have all measures with the same format. Which doesn't look good in my case because I want the 1st and 2nd measures to have a curreny format and the 3rd to be in %.

 

The goal is for the below measure values to be in $, I tried clicking on it, going to "Measure tools", clicking $, but it didn't work out.

Also tried to enclose it with Currency function in the measure code, but not output as well

yasemsem_1-1716062955129.png

 

Would appreciate any work around..

Thank you.

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

You have 2 choices. You can use FORMAT([measure], "$0,000").  You can have a different format for each measure in your switch statement. Alternatively you can use a calculation group as I covered here https://exceleratorbi.com.au/dynamic-formatting-of-switch-measures/

note, the first solution is text formatted to look like a number, just so you know. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

1 REPLY 1
MattAllington
Community Champion
Community Champion

You have 2 choices. You can use FORMAT([measure], "$0,000").  You can have a different format for each measure in your switch statement. Alternatively you can use a calculation group as I covered here https://exceleratorbi.com.au/dynamic-formatting-of-switch-measures/

note, the first solution is text formatted to look like a number, just so you know. 



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.