Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Solved! Go to Solution.
hi @humam85
try like:
Look Ahead Activity =
VAR _start = min('Updates'[Remaining Early Start])
RETURN
SWITCH(
TRUE(),
OR(
'Updates'[Start]>= _start
&&'Updates'[Start]<= _start + 40,
'Updates'[Finish]>= _start
&&'Updates'[Finish]<= _start + 40
),
"Yes",
"No"
)
hi @humam85
try like:
Look Ahead Activity =
VAR _start = DATE(2022,1,12)
RETURN
SWITCH(
TRUE(),
OR(
'Updates'[Start]>= _start
&&'Updates'[Start]<= _start + 40,
'Updates'[Finish]>= _start
&&'Updates'[Finish]<= _start + 40
),
"Yes",
"No"
)
hi @humam85
try like:
Look Ahead Activity =
VAR _start = min('Updates'[Remaining Early Start])
RETURN
SWITCH(
TRUE(),
OR(
'Updates'[Start]>= _start
&&'Updates'[Start]<= _start + 40,
'Updates'[Finish]>= _start
&&'Updates'[Finish]<= _start + 40
),
"Yes",
"No"
)
thanks for quick reply ...
it works well
if i want to put a specific date as 1/12/2022 rather than /min (remaining date)/
in wich format can i put it inside my dax
hi @humam85
try like:
Look Ahead Activity =
VAR _start = DATE(2022,1,12)
RETURN
SWITCH(
TRUE(),
OR(
'Updates'[Start]>= _start
&&'Updates'[Start]<= _start + 40,
'Updates'[Finish]>= _start
&&'Updates'[Finish]<= _start + 40
),
"Yes",
"No"
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!