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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Formatting numbers in Matrix visual

Hi all,

 

I am using a Matrix visual and some of the values in one column are in the millions while other numbers in the same column are in the thousands. How can I format the column to show 1M for 1 million while other values show 2k for 2 thousand?

 

thank you!

1 ACCEPTED SOLUTION
mhossain
Solution Sage
Solution Sage

@Anonymous 

 

You can try calculation group, see below blog:

https://www.sqlbi.com/articles/controlling-format-strings-in-calculation-groups/

 

Hope this helps.

View solution in original post

3 REPLIES 3
mhossain
Solution Sage
Solution Sage

@Anonymous 

 

You can try calculation group, see below blog:

https://www.sqlbi.com/articles/controlling-format-strings-in-calculation-groups/

 

Hope this helps.

amitchandak
Super User
Super User

@Anonymous , you may have to write measure using format function and value range

 

Can you share sample data and sample output in table format?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak  I will share a sample in a bit. I have seen someone use a table that was placed in the "Columns" section of the visual that did all the formatting, I have no idea how that was done though

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors