Forum Discussion
StevenHarrison
Resolver I
4 years agoDates - Future, Past and Blank (null) - conditional formatting
Hi Guys - I have a [NEXT DATE] column with Future, Past and null dates (in Power Query Editor displayed as null and as (Blank) in Data view). I want to be able to conditionally format a table visual...
- 4 years ago
Hi - Probably did this the long way round but created a custom column called Due Service?
New 'Due?' column in the data view:
Then used that for the conditioning on the NEXT DATE column:
This seems to work, thanks for the feedback.
Samarth_18
Community Champion
4 years agoHi StevenHarrison ,
You could create a column as below:-
column =
SWITCH (
TRUE (),
[next date] < TODAY (), "Overdue",
[next date] >= TODAY (), "Not Due",
ISBLANK ( [next date] ), "N/A"
)
BR,
Samarth
StevenHarrison
Resolver I
4 years agoHi Samarth - The entry for the ISBLANK entry returns Overdue: