Forum Discussion
Conditional Formatting on Calculated Date
- 7 years ago
Hi esammann,
Please create such a measure:
flag = DATEDIFF(TODAY(),SELECTEDVALUE(Table1[Expiration Date]),DAY)
Then, set conditional formatting for certifications as below:
Best regards,
Yuliana Gu
- 7 years ago
Hello Yuliana,
Thank you for the reply. I managed to get it going a different way though. After parsing apart the days portion of the date I highlighted the DaysRemaining column, clicked the Transform tab, and then under Data Type I selected Whole Number. Now the formatting works because before it was being seen as text.
Thanks again!
Eric
Hi esammann,
Please create such a measure:
flag = DATEDIFF(TODAY(),SELECTEDVALUE(Table1[Expiration Date]),DAY)
Then, set conditional formatting for certifications as below:
Best regards,
Yuliana Gu
- esammann7 years agoNew Member
Hello Yuliana,
Thank you for the reply. I managed to get it going a different way though. After parsing apart the days portion of the date I highlighted the DaysRemaining column, clicked the Transform tab, and then under Data Type I selected Whole Number. Now the formatting works because before it was being seen as text.
Thanks again!
Eric