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
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?

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors