Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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 |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |