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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
oakfootballclub
Helper III
Helper III

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
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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