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

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

Reply
NewbiePBI916
New Member

Matrix grouping did not work for different display format

So here is the problem:
I have a matrix with different measures, some are in percentage, some are just the rate in 0 decimal places, some are the rate in 2 decimal places.

The matrix is used as there are sub-categories and we want it collaspable.

The rate is just numerator divided by denominator.

So the final measure rate, is done using format(rate,"0%") or other DAX conditions.

The problem is, while the numerator and denominator (all levels) and rates (sub-category level) are calculated accurately, the collapsed top level rate is inaccurate, because it is treated as "string"/"text" and it just pick first or last (after the format).

How to get around that so it is accurate at the collapsed top level?

Thank you in advanced.

 

 

1 REPLY 1
amitchandak
Super User
Super User

@NewbiePBI916 , Not very clear. But dynamic formatting can help. In this case, you might have to use isinscope for each level

 

https://powerbi.microsoft.com/en-us/blog/deep-dive-into-the-new-dynamic-format-strings-for-measures/

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.