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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
shreyoogp
Frequent Visitor

Matrix Visual- Grand Total Numbers to be formatted with comma

Hi Everyone,

I wanted to know if there is any way we can format the Matrix visual Grand Total number as comma seperated numbers. I am displaying count(ID) in the visual for below rows and columns. I want to display the grand total or numbers with comma separator e.g. Grant total has 1978, which needs to be displayed as 1,978. How to achieve this.  I see Power BI new Feb version has no Field Formatting option and also i tried selecting the ID field from Field list, then under column tools formatting the ID field with comma, but Individual ID values in column gets the comma but not the Matrix visual, when tried dragging by using count(ID).

shreyoogp_0-1649950557397.png

Appreciate your help greatly

Thank you

SGP

2 ACCEPTED SOLUTIONS
MFelix
Super User
Super User

Hi @shreyoogp ,

 

Since you are making a use of a column and doing the count the formatting is not easy. Best way is to add a measure with the following code:

measure = COUNT(Table[ID])

Now format this has a numbe with the decimal separator.

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

PaulDBrown
Community Champion
Community Champion

I take it you are using the Count function available in the field options. If you use a measure instead, you can format the measure to display the values as comma separated numbers.

The measure would be:

Count ID = COUNT(table[ID])

 

You then format the number under the options in "Measure Tools"

2022-04-14.png





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

4 REPLIES 4
PaulDBrown
Community Champion
Community Champion

I take it you are using the Count function available in the field options. If you use a measure instead, you can format the measure to display the values as comma separated numbers.

The measure would be:

Count ID = COUNT(table[ID])

 

You then format the number under the options in "Measure Tools"

2022-04-14.png





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@MFelix  : Thank you so much. It worked

MFelix
Super User
Super User

Hi @shreyoogp ,

 

Since you are making a use of a column and doing the count the formatting is not easy. Best way is to add a measure with the following code:

measure = COUNT(Table[ID])

Now format this has a numbe with the decimal separator.

 


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Thank you so much. It worked

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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