Forum Discussion
Custom Date-Range Filter Erasing Visualizations
- 4 years ago
Hi, Casey_Douthitt
I wasn't able to open your PBIX file due to dataset permissions, I simply simulated some data to hopefully match your situation. You can try the following method.
Column:
Filter = SWITCH(TRUE(), [Date]>=TODAY()-7,"Last 7 Days", [Date]>=TODAY()-28,"Last 28 Days", [Date]>=TODAY()-90,"Last 90 Days", [Date]>=TODAY()-365,"Last 365 Days")Select the slicer at this point and the data corresponding to the time range will appear.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, Casey_Douthitt
I wasn't able to open your PBIX file due to dataset permissions, I simply simulated some data to hopefully match your situation. You can try the following method.
Column:
Filter = SWITCH(TRUE(),
[Date]>=TODAY()-7,"Last 7 Days",
[Date]>=TODAY()-28,"Last 28 Days",
[Date]>=TODAY()-90,"Last 90 Days",
[Date]>=TODAY()-365,"Last 365 Days")
Select the slicer at this point and the data corresponding to the time range will appear.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.