Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi I have three fields in a table all dates.
Date Received
Due Date
Date completed
When Date received is entered it will calculate the date 3 days later and put that in the Due Date column. What I need to do is highlight in the Date Completed Column, if it is Blank or the date entered is after the Due Date, mark it in Red to show that it needs attention.
I'm stuck on how to conditional format the Date completed colum to show Red if Blank, or show Red if the date displayed there is after the Due Date.
Solved! Go to Solution.
Hi,
According to your description, I can roughly understand your requirement, I think you can try this measure to apply as the conditional format for the column [Completed data] to achieve your requirement:
This is the test data I used:
Due Date = 'Table'[Date Received]+3
Then create a measure like this:
Color =
IF(
MAX('Table'[Date completed])<>BLANK(),
IF(MAX('Table'[Date completed])>MAX('Table'[Due Date]),"Red","White"),
"Red")
Then you can set the conditional format for the field [Completed data] like this:
And you can get what you want, like this:
You can download my test pbix file below
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
According to your description, I can roughly understand your requirement, I think you can try this measure to apply as the conditional format for the column [Completed data] to achieve your requirement:
This is the test data I used:
Due Date = 'Table'[Date Received]+3
Then create a measure like this:
Color =
IF(
MAX('Table'[Date completed])<>BLANK(),
IF(MAX('Table'[Date completed])>MAX('Table'[Due Date]),"Red","White"),
"Red")
Then you can set the conditional format for the field [Completed data] like this:
And you can get what you want, like this:
You can download my test pbix file below
If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.
How to Get Your Question Answered Quickly
Thank you very much!
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank You 🙂
Hi @richpow
Try this measure:
Date Color =
Var _CD = MAX ( 'Table'[Date Completed] )
Var _DD = MAX ( 'Table'[Due Date] )
return
if(_CD>_DD||_CD=blank(),1,0)
then set a conditional formatting to change the color of Date completed when the measure value is 1.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
You can create a measure that yields a color hex code:
Date Color =
IF (
Date Color =
IF (
OR (
SELECTEDVALUE ( 'Table'[Date Completed] ) > SELECTEDVALUE ( 'Table'[Due Date] ),
ISBLANK ( SELECTEDVALUE ( 'Table'[Date Completed] ) )
),
"#FD0000",
BLANK () --or any color you wish
)
Now, you can activate a conditional formatting on that field (background color; format style: field value on [Data Color]
Thank You, I just tried that and updated conditional formatting but it seems to have coloured every entry in Red. So Far all entries have been completed before the due date, so this should ideally not return any colouring in conditional formatting
It works for me. Perhaps try tweaking it a bit?
I can already see whats happening, some of the dates are americanised, and some missing entries, I can sort that.
Thanks for your help
I have changed the names slightly but the letter of acknowledgment was sent before the ack due date therefore it should not be highlighted in red.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
8 | |
6 | |
4 | |
3 |