Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
bobbob123
Helper III
Helper III

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?

 

3 ACCEPTED SOLUTIONS
Ritaf1983
Super User
Super 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.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

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:

Ritaf1983_0-1716780875205.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

You can add a date column with the Today() formula and then you will get the option to filter based on this column...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super 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.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

@Ritaf1983  How do i go about freezing my report at the last date using the all pages filter? My measure is not accepted at that filter. 

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:

Ritaf1983_0-1716780875205.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

My data model/ all visuals does not have a date metric/column hence why I'm struggling to get to disable all visuals. 

You can add a date column with the Today() formula and then you will get the option to filter based on this column...

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.