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
Ahmed-Hesham
Frequent Visitor

conditional formatting blanks and 0 values

I made a conditional formatting by color to a matrix but when it comes to blanks and 0 values it doesn't give me the right color 
i used the following measure in my formatting and i doubled it to make the format work

>>Total Ach% 1col = SWITCH(
     TRUE(),
    [Total Ach%]>=[%timegone],
    "#32CD32",
    [Total Ach%]<[%timegone],
    "#ff0000")
thos are examples to the issue
 color issue 1.pngcolor issue 2.png
3 REPLIES 3
Fowmy
Super User
Super User

@Ahmed-Hesham 

What is the value for %timegone, please share a screenshot with this measure included

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

if there's any update i'll appreciate.

Really appreciate your support

Timegone% and workingdays.png

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.