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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors