Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Everyone,
I am trying to highlight the date column red when the date is blank and the status field is "Completed"
I have been able to create a measure that turns the date field red when status is completed, how do i make this only happen when the date is blank?
Solved! Go to Solution.
[Color Date MPLA] =
var StatusValue =
SELECTEDVALUE( 'PLP & MPLA Qualification Data'[MPLA Status] )
var DateValue_ =
SELECTEDVALUE(
'PLP & MPLA Qualification Data'[MPLA Date],
// This value makes sure that when many dates are
// visible in the current context BLANK is not
// returned as that could change the logic.
dt"3000-01-01"
)
var ColorCondition =
StatusValue = "Completed" && ISBLANK( DateValue_ )
VAR Color =
IF( ColorCondition, "red" )
return
Color
[Color Date MPLA] =
var StatusValue =
SELECTEDVALUE( 'PLP & MPLA Qualification Data'[MPLA Status] )
var DateValue_ =
SELECTEDVALUE(
'PLP & MPLA Qualification Data'[MPLA Date],
// This value makes sure that when many dates are
// visible in the current context BLANK is not
// returned as that could change the logic.
dt"3000-01-01"
)
var ColorCondition =
StatusValue = "Completed" && ISBLANK( DateValue_ )
VAR Color =
IF( ColorCondition, "red" )
return
Color
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
10 | |
9 |