Forum Discussion
jcastr02
6 years agoPost Prodigy
Conditional Formatting based on DATE and IS BLANK
I currently have a rule in place that if a data point is BLANK, then shade the table box RED. I'd like to add another rule based on Class Start date. If the class start date is MORE Than 7 days AGO, then shade red, if within the last 7 days, yellow.
I'd like to combien both of those rules if blank and then the red/yellow combo
Please see screen shot.
8 Replies
- v-lid-msftCommunity Support
Hi jcastr02 ,
We can create a measure and set it as Field Value of Condition Format.
ColorFormat = IF ( TODAY () - MAX ( 'Table'[Class Start Date] ) <= 7, IF ( ISBLANK ( [YourMeasure] ), "#FFFF00" ), IF ( ISBLANK ( [YourMeasure] ), "#FF0000" ) )Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.