Forum Discussion
mmoizk
Helper III
10 years agoCombining 2 different if statements in one
Trying to calculate days bucket for 2 dates against today's date. For example TargetStartdate and TargetEndDate. I did my dax for Start and end sperately and its working fine but I need to combine th...
mmoizk
Helper III
10 years agohere you go Teal
TealCanady
Advocate II
10 years agoMmoizk,
Looks like Sean's solution is the only way to go; why on earth they limit datediff this way in DAX i can only guess. This should work for you sorry for the misleading post; never would have guessed on that limit (spent to much time in SQL).
Column:
DaysSinceStart = TMPlan[Target Start Date] - TODAY()
Teal