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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Narukkp
Helper V
Helper V

Color condition format in Matrix visualization

Hi Team,

Anyone having the idea how to achieve the below scenario .

 

Currently I am creating the 3 measures for giving color(Green) condition based on Measure(Actual vs Plan) value. It is working as expected at date level but our client requirement is when ever month level if is equal then we have to show the Green color. Please  find below highlighted area Feb month level both actual and plan

both are same.

Actual = CALCULATE(SELECTEDVALUE('Sheet1'[Value]),'Sheet1'[Status]="Actual")

Plan = CALCULATE(SELECTEDVALUE('Sheet1'[Value]),'Sheet1'[Status]="Plan")

Actual Vs Plan = IF([Actual] =""|| [Plan]="",2,IF([Actual]=[Plan],1,0))

 

ProjectStatus.PNG

 

ColorCondtion.PNG

4 REPLIES 4
Cmcmahan
Resident Rockstar
Resident Rockstar

So you're saying that the entire month of Feb should be highlighted yellow because every project's Plan is the same as it's actual within the month?  Or just the bottom two cells? How is all this data stored in tables?

 

If you could anonymize your data and share the .pbix, it would greatly help us determine the best way to accomplish your goal.  Even just relevant dummy data in the same model as yours would be very helpful in getting towards a result.

 

 

Hi,

@Cmcmahan please help on this if you have any idea..

Hi Cmcmahan, Yes you are correct with in same if it is equal then we need to show Green color. Do u have any idea how to attach the pbix file and excle file here. For time being find below screen shot of excel data. Using below data i have unpivot the data and prepared the eariler screen shot reprot. 

 

ProjectDetails.PNG

Narukkp
Helper V
Helper V

Hi everyone ,

if Anyone having the idea about this scenario please share your thoughts. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.