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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Red and green conditional formatting matrix visual in Power BI... Need help!

I don't understand how make this kind of rules working.

AndreaCBS_0-1715349907087.png

 

I'm just trying tu make the text gree if the valueit's over 0, and red if it's under.

 

Thanks for any further suggestions.
AG

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

Change two things:

1) The order of the clauses (first you should evaluate for those less than 0).

2) The first dropdown should be Number, not percentage.

 

See example:

ray_aramburo_0-1715352161825.png

 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
hackcrr
Super User
Super User

Hi, @Anonymous 

I have the following matrix:

hackcrr_1-1715352457440.png

 

It is suggested that you can create a metric similar to the following:

Measure 2 = IF(SUM('Table'[count])>40,"green","red")

This metric will be used in the conditional format of the matrix

hackcrr_4-1715352604934.png

 

hackcrr_2-1715352533952.png

The results are as follows:

hackcrr_3-1715352547089.png

Best Regards,

hackcrr

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

ray_aramburo
Super User
Super User

Change two things:

1) The order of the clauses (first you should evaluate for those less than 0).

2) The first dropdown should be Number, not percentage.

 

See example:

ray_aramburo_0-1715352161825.png

 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Anonymous
Not applicable

 

Thanks for your help!

AndreaCBS_0-1715353780058.png

 

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.