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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bobbob123
Helper II
Helper II

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.

 

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.

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...

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.

 

@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.

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...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors