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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
nagaraj007
Post Patron
Post Patron

Conditional Formatting in Matrix Table

Hello All,

 

I have a scenario wherein I am using Table matrix and want to show conditional formatting if the show 2 numbers are greater than show 1 then show GREEN, if the show 3 data is lesser than show 2 data then show RED. Below is the sample table.

 

Please advice how to go about this.

 

Company NameShow 1Show 2Show 3
ABC203010
xyz102030
1 ACCEPTED SOLUTION

Hi @nagaraj007 ,

Do you mean that "From 2016", "From 2018", and "From 2020" are measures?

If so, you can create the two measures like so:

Condition11 = IF ( [Measure 2] > [Measure], 1, 0 )
Condition22 = IF ( [Measure 3] > [Measure 2], 1, 0 )

decimal follow.PNG

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
Icey
Community Support
Community Support

Hi @nagaraj007 ,

You can try this:

1. Create measures.

Condition1 = IF(MAX('Table (2)'[Show 2])>MAX('Table (2)'[Show 1]),1,0)
Condition2 = IF(MAX('Table (2)'[Show 3])>MAX('Table (2)'[Show 2]),1,0)

2. Conditional Format.

show2.PNGshow3.PNGshow22.PNGshow33.PNG

Then, the Matrix shows like what you want.

show.PNG

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Icey,

 

I am unable to get the required solution as per the below query. I have a table as per mentioned below

 

ExhibitionName    -----------------Table Name

Form2016---------------------------Show Name

Form2018---------------------------Show Name

Form2020---------------------------Show Name

 

Please advice.

Hi @nagaraj007 ,

 

Maybe you can give me a screenshot. 

 

Best Regards,

Icey

Screenshot1.png

 

Hi @nagaraj007 ,

Do you mean that "From 2016", "From 2018", and "From 2020" are measures?

If so, you can create the two measures like so:

Condition11 = IF ( [Measure 2] > [Measure], 1, 0 )
Condition22 = IF ( [Measure 3] > [Measure 2], 1, 0 )

decimal follow.PNG

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much for the help.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.