Forum Discussion
Overdue
- 4 years ago
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]+3Then 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.
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
- rbriga4 years ago
Impactful Individual
It works for me. Perhaps try tweaking it a bit?
- richpow4 years agoRegular Visitor
I can already see whats happening, some of the dates are americanised, and some missing entries, I can sort that.
Thanks for your help
- richpow4 years agoRegular Visitor
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.