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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
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.

Top Solution Authors