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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
jums
Frequent Visitor

dax code for colour coding

my conditional formating of colour on opportunity status , won,lost ,open only shows the right colours when I include opportunity ID in the row header ,can someone know how to fix this issue?

1 REPLY 1
ValtteriN
Super User
Super User

Hi,

It is quite hard to grasp what you are trying to achieve. Could you provide some examples of the data and dax you are currently using? Generally speaking it sounds like the DAX you use doesn't work properly in the rowcontext. It might be that your measure needs the OpportunityID to get proper results. To troubleshoot this I would place the conditional formatting measure in the visualization you are trying to format. This way you should be able to see more easily what is the root cause for the problem. 


E.g. in this example instead of placing my measure as a formatting option I placed it to the table to see if the value is what I expected:



ValtteriN_0-1659812663273.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

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.