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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.