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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Matrix Conditional Formatting

I have a Matrix consisting of Forecasted Sales amount and the Actual sales amount. I want to have a conditional format set so if the Actual Amount is >= Forecast Amount be Green else if the Actual Amount is < Forecast Amount be Red.

 

Column "Forecast Amount" is in table "Sales Rep Goals" 

Column "Amount" is in table "Sales by Customer"

 

DSwezey_0-1635362763333.png

 

1 ACCEPTED SOLUTION
KNP
Super User
Super User

Hi @Anonymous,

 

Something like the attached PBIX should do the job.

Have a look and let me know if you have questions.

 

The basics of it, create a measure that specifies your condition and use it in the conditional formatting.

 

xoKxDIEIVw.gif

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

1 REPLY 1
KNP
Super User
Super User

Hi @Anonymous,

 

Something like the attached PBIX should do the job.

Have a look and let me know if you have questions.

 

The basics of it, create a measure that specifies your condition and use it in the conditional formatting.

 

xoKxDIEIVw.gif

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

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