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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors