Forum Discussion
Disable all visuals after a certain date
Hi,
I have a report that has multiple pages and visuals. I want to disable all the visuals once it goes past a certain date eg 31/12/2024.
I want this always to work once the report has been published to the service.
So far my approach has been a simple IF measure, but this fails for 2 reasons (unable to be used across all pages and once published, it doesn't calculate on the service).
Is there any workaround for this problem?
Hi bobbob123
As long as you want to maintain the interactivity of your reports, the only way to achieve this is through the conditions of each metric and dimension in each visualization there are no other tricks.
The second option is to simply "freeze" the report at the last date you want to display by using a filter at the "All pages" level.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Hi bobbob123
This is a matter of your data model. If you want to perform date-level metric manipulations, the metric must have some connection to a calendar table, either through tables or through DAX.
Once there is a connection, you can filter the report as shown in the image:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
You can add a date column with the Today() formula and then you will get the option to filter based on this column...
5 Replies
- Ritaf1983Super User
Hi bobbob123
As long as you want to maintain the interactivity of your reports, the only way to achieve this is through the conditions of each metric and dimension in each visualization there are no other tricks.
The second option is to simply "freeze" the report at the last date you want to display by using a filter at the "All pages" level.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- Ritaf1983Super User
Hi bobbob123
This is a matter of your data model. If you want to perform date-level metric manipulations, the metric must have some connection to a calendar table, either through tables or through DAX.
Once there is a connection, you can filter the report as shown in the image:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.