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

Metrix Row Background Color Change Using Conditional Format

How Do I change the Matrix Row Background color Using Conditional Format?

The data set :

Report Data.PNG

 

The Report :

 

The Requirement is to only change the background of the Measure Category as mentioned below :

(Note : The Measure Field background was achieved using the background format option for the Values field.)

Report - Page.PNG

 

Any help is highly appreciated.

 

Thanks,

Abhisek

4 REPLIES 4
Anonymous
Not applicable

Dear @amitchandak , any help to the problem I am facing ?
Thanks for the help.

Anonymous
Not applicable

HI @Anonymous,

Yes, it is possible to do conditional formatting on the subtotal levels.
According to your snapshot, I think you may need to transform your table structure before applying conditional format. Can you please share some dummy data and paste it here in 'table' format then we can test it?

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Thanks @amitchandak . I was able to use conditional formatting and in the value part this is achived.
Below is my present state of the report.present state.PNG

 

The only point where I am struggling is to have conditional formatting for Matrix Row Values.

Thanks.

amitchandak
Super User
Super User

@Anonymous , One  is you can check style, In that you can get some options 

 

You can use conditional formatting using measure(field value option)  - but that will happen on values

 

If(isinscope(Table[Category]) , "Grey", "White")

 

Show on row it the option that will show measure on row

 

For the format, you might have to consider the calculation group

 

How to do conditional formatting by measure and apply it on pie?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/1682539

 

Calculation Groups- Measure Slicer, Measure Header Grouping, Measure to dimension conversion. Complex Table display : https://youtu.be/qMNv67P8Go0

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.