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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
zyniekies
Regular Visitor

Mark Overdue Column (Date data type) with red

Hi team, 

I am referring to below link to achieve this functionality, however it did not work on me.

Solved: Power Bi Overdue date = mark red - Microsoft Fabric Community

 

This is my measure I created:

DateColor =
IF (
MAX ( 'EOP Input Main DB'[FA EOP (DD-Mmm-YY)] ) < TODAY(),
"#FF0000",
BLANK()
)

 
When I tried to use the measure, I got this instead at my conditional formatting opup.
zyniekies_0-1757658616523.png
 

 

The report:

zyniekies_1-1757658704180.png

Wold appreicate if someone could point out where did

 

3 ACCEPTED SOLUTIONS
MohamedFowzan1
Solution Specialist
Solution Specialist

Hi @zyniekies 

 

Above you are using Rules for Format Type but using DateColor.

Switch the "Format style" dropdown from "Rules" to "Field value" in conditional formatting. Then select your DateColor measure. Your DAX logic is correct

View solution in original post

Selva-Salimi
Super User
Super User

Hi @zyniekies ,

 

in format stle, try to choose "field value".

 

If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.

View solution in original post

rohit1991
Super User
Super User

Hi @zyniekies 

Could you please follow below steps:
1. I used the Sample Data table to solve the problem. You can change the table name to your own table name.
image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Create Measure:

DateColor =
IF (
    SELECTEDVALUE ( 'Table'[FA EOP (DD-Mmm-YY)] ) < TODAY(),
    "#FF0000",   -- red for overdue
    BLANK()      -- no color
)

 

3. Apply Conditional Formatting

  • Go to your table/matrix visual.

  • Column >> FA EOP (DD-Mmm-YY).

  • Right click >> Go to Conditional formatting >> Background color.

  • Choose:

    • Format by >>Field value

    • Based on field >> DateColor

  • Apply >> OK.

image.png

 

image.png

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

4 REPLIES 4
rohit1991
Super User
Super User

Hi @zyniekies 

Could you please follow below steps:
1. I used the Sample Data table to solve the problem. You can change the table name to your own table name.
image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Create Measure:

DateColor =
IF (
    SELECTEDVALUE ( 'Table'[FA EOP (DD-Mmm-YY)] ) < TODAY(),
    "#FF0000",   -- red for overdue
    BLANK()      -- no color
)

 

3. Apply Conditional Formatting

  • Go to your table/matrix visual.

  • Column >> FA EOP (DD-Mmm-YY).

  • Right click >> Go to Conditional formatting >> Background color.

  • Choose:

    • Format by >>Field value

    • Based on field >> DateColor

  • Apply >> OK.

image.png

 

image.png

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Selva-Salimi
Super User
Super User

Hi @zyniekies ,

 

in format stle, try to choose "field value".

 

If this post helps, then I would appreciate a thumbs up and mark it as the solution to help the other members find it more quickly.

MohamedFowzan1
Solution Specialist
Solution Specialist

Hi @zyniekies 

 

Above you are using Rules for Format Type but using DateColor.

Switch the "Format style" dropdown from "Rules" to "Field value" in conditional formatting. Then select your DateColor measure. Your DAX logic is correct

Hi @MohamedFowzan1@rohit1991 , @Selva-Salimi 

 

Thank you for pointing it out! It works now 😊

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

Top Solution Authors