Forum Discussion
Between date slicer - default start and end time
- Anonymous2 years ago
Hi amir_mm ,
You can try below formula to create calculated column and use it to page filter.
CurrentDay = VAR StartDate = TODAY() - 7 RETURN IF('Dim-Date'[Date] >= StartDate && 'Dim-Date'[Date] <= TODAY(), 1, 0)Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi amir_mm ,
You can try below formula to create calculated column and use it to page filter.
CurrentDay =
VAR StartDate = TODAY() - 7
RETURN
IF('Dim-Date'[Date] >= StartDate && 'Dim-Date'[Date] <= TODAY(), 1, 0)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- amir_mm2 years ago
Helper III
Thanks for the query. But as I mentioned in the other post and shown in the photo, I still want users to be able to move the slider all the way back to earlier years. So, when a user opens a report, the default view should be the last 7 days, but they should still have the ability to move the toggle back and forth.
- kushanNa2 years ago
Super User
looks like someone had mistakenly marked the wrong answer as the correct answer, maybe you might need to create a new post 😕