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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
AndreaCBS
Helper III
Helper III

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, @AndreaCBS 

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!





 

Thanks for your help!

AndreaCBS_0-1715353780058.png

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.