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
AndreaCBS
Helper I
Helper I

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
Continued Contributor
Continued Contributor

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
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.