Forum Discussion
How to filter and exclude rows based on date slicer maximum date range?
- Anonymous5 years ago
Hi deb_power123 ,
Have you forgotten to create a "calendar" table?
Measure =
var x1=CALCULATE(MAX('Calendar'[Date]),ALLSELECTED('Calendar'[Date]))
return
IF(DATEDIFF(MAX('student'[LastAttendanceDate]),x1,DAY)<0,1,0)Result:I don't think it can display the rows containing LastAttendedDate as null values. It will make errors.
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi deb_power123 ,
Have you forgotten to create a "calendar" table?
Measure =
var x1=CALCULATE(MAX('Calendar'[Date]),ALLSELECTED('Calendar'[Date]))
return
IF(DATEDIFF(MAX('student'[LastAttendanceDate]),x1,DAY)<0,1,0)
I don't think it can display the rows containing LastAttendedDate as null values. It will make errors.
Hope that's what you were looking for.
Best Regards,
Yuna
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I too feel the same.It is not possible.Anyways thanks for all the helpful points