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
vishal097
Helper II
Helper II

Row Subtotal formatting option is disable when particular row is selected in matrix

Hello There,

I hope you all are doing well.

I'm currently in the process of working on one of my Power BI reports, which involves a hierarchical data structure with three levels in rows: Crop, Crop Type, and Field.

My objective here is to implement two distinct background colors for subtotals at the Crop and Crop Type levels, thereby enabling users to easily distinguish between them.

The challenge I'm encountering is that while Power BI offers the option to apply formatting to specific rows, I've noticed that this feature seems to be disabled when I select any specific row like crop.

I'm uncertain whether this is a bug or if there's something I might be missing.

Your insights on this matter would be greatly appreciated.

what I want to achive

vishal097_0-1697203853461.png

 

 

Issue

vishal097_0-1697203555311.png

 

Best regards,

Vishal Nasre

3 REPLIES 3
vishal097
Helper II
Helper II

Thanks Igna for responding however.

There is no option to apply conditional formating for row level subtotal.

vishal097_0-1697436742819.png

 

Hello,

 

This is because you are looking in the "Format your visual" pane and not in the "Add data to your visual". Take a look at this video 🙂https://www.youtube.com/watch?v=SfL3aniCl8o

 

Igna

Igna
Resolver III
Resolver III

Hello,

 

To solve your problem I would create a measure :

 

Background Color = 
    IF(ISINSCOPE(YourTable[Crop]), 1, 
        IF(ISINSCOPE(YourTable[Crop Type]), 2, 0))

 

and I would use it in conditional formating. Minimum 1 , maximum 2 and set colors that you want.

 

Tell me if it helps.

 

Igna

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 Solution Authors
Top Kudoed Authors