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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
oakfootballclub
Helper IV
Helper IV

how to add thousands separator to values based on switch true measure?

Hi experts, I created a multiple hierarchy column header in matrix, first I created a dimension table:

oakfootballclub_0-1721890217690.png

and then I created the measure to get revelent metrics:

oakfootballclub_1-1721890257802.png

I created the matrix by put the year_name, metric_name in the column and keep the hierarchy,

since there are percentage and decimals, how can I transform the decimals to have thousands separator ?

 

 

 
 
1 ACCEPTED SOLUTION
SamWiseOwl
Super User
Super User

Good morning @oakfootballclub ,

Your DAX is looking great, to apply thousand seperators add them in to your FORMAT function.
FORMAT([cal_amount_FYTD_PreviousM], "0,0.00").

Also just checking you know there is the custom option for formatting measures?
Under format choose Dynamic:

dynamic formatting.PNG

 

This lets you have the formatting and the measure seperate:

SamWiseOwl_0-1721893043877.png

Let me know if it works!
All the best

Sam

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

View solution in original post

1 REPLY 1
SamWiseOwl
Super User
Super User

Good morning @oakfootballclub ,

Your DAX is looking great, to apply thousand seperators add them in to your FORMAT function.
FORMAT([cal_amount_FYTD_PreviousM], "0,0.00").

Also just checking you know there is the custom option for formatting measures?
Under format choose Dynamic:

dynamic formatting.PNG

 

This lets you have the formatting and the measure seperate:

SamWiseOwl_0-1721893043877.png

Let me know if it works!
All the best

Sam

 


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors