cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rtemplin
Regular Visitor

Comma Format count of values in Matrix

I am new to the forum and PBI.  My apologies if I breach any forum protocol.

 

So below is a matrix visualization i have on a report. The values are a count of a non-numeric field.  

 

I want the counts to be formatted as XX,XXX.   So, for example, 15009 would be 15,009.  

 

I do not know a way, let alone the best, to accomplish?

 

Capture.PNG

1 ACCEPTED SOLUTION
Greg_Deckler
Super User IV
Super User IV

Best way would be to create a measure that does your count like:

 

MyCount = COUNT('Table'[Column])

Then, you can highlight this measure and go to the Modeling tab in the ribbon and click the "," button to format it.

 

image.png

 

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

8 REPLIES 8
Sherry_R
Advocate I
Advocate I

I realize this is an old post, but here's another option for anyone else who comes across this (this functionality was added after the original post).

 

You can select the visual and go to formatting options, then choose "Field Formatting" and select the field you want, then enter a value for decimal places and select apply to total.  There is not an option for "thousands separator" specifically, but populating the decimal places will result in the comma appearing.

 

2020-05-21_9-40-44.jpg

 

@rtemplin  This should be marked as a solution.  It accomplishes exactly what you're asking for and doesn't require the creation of extra measures.

thanks

Thanks for sharing, I had a simliar issue as OP and found this to be a quick and easy solution for me!

Very simple and great solution!!!!

 

Thanks for posting it!

 

Thanks! This looks like the cleanest solution!

Greg_Deckler
Super User IV
Super User IV

Best way would be to create a measure that does your count like:

 

MyCount = COUNT('Table'[Column])

Then, you can highlight this measure and go to the Modeling tab in the ribbon and click the "," button to format it.

 

image.png

 

Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Thank you, Greg.  I greatly appreciate the help and forum guidance.  

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.