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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Emily_Kim
New Member

Conditional Formatting in Matrix Visual with different conditions based on Row Headers

Hello Everyone,

I need a complex conditional formatting in my matrix visual. I hope you can help me, thank you.

 

ClassMax1-May1-Jun1-Jul1-Aug1-Sep
A201518221419
B252230282519
C303128192535

 

This is my matrix with Class and Max in Rows, Date in Column and number of participants in the Values.

Each class has a maximum capacity. If the number of participants in more than the Max for each Class, the font colour shd be in RED. How can I achieve this?

Thank you for your kind help.

 

1 ACCEPTED SOLUTION
DataNinja777
Super User
Super User

Hi @Emily_Kim ,

 

You can achive your required output using the color measure like below and using in conjunction with conditional formatting of measures.  

DataNinja777_0-1715401135965.png

DataNinja777_1-1715401199958.png

I attach an example pbix file.  

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @Emily_Kim ,

 

You can achive your required output using the color measure like below and using in conjunction with conditional formatting of measures.  

DataNinja777_0-1715401135965.png

DataNinja777_1-1715401199958.png

I attach an example pbix file.  

Hi @DataNinja777 ,

It works, thank you very much. Really appreciate your kind help.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.