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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
scoder
Frequent Visitor

Custom date slicer with persistProperties commented

I’m currently stuck on a Power BI visualization issue related to bookmarks and slicers, and I have a unique requirement.

I have 3 funds: F1, F2, and F3, and I’ve created a Button for each fund.
Each fund has 3 different subpages: Overview, Projections, and Portfolio.
Each subpage contains visuals specific to that fund. (Attached sample image)

I’ve created bookmarks accordingly. However, the problem is with the Date slicer. Since bookmarks preserve the slicer’s state, the date selection is always fixed to what was selected when the bookmark was created. I want the Date slicer to always default to the latest date from the date_dim table, regardless of the bookmark.

I tried unchecking the Data option in the bookmark, but that causes other issues. I have hidden slicers that dynamically filter the selected fund when the corresponding button is clicked. Disabling the Data option prevents those fund slicers from working correctly.

Each visual should display data only for the respective fund selected.

After some research, I found that this is a known limitation in Power BI — you cannot exclude only one slicer (like Date) from a bookmark while retaining others.

As a workaround, I explored the idea of customizing a visual, such as the slicer from this GitHub repo:
https://github.com/microsoft/powerbi-visuals-timeline

I commented out the this.host.persistProperties line to stop it from persisting the selection state. But after building and uploading the custom visual to Power BI, it doesn’t seem to work , is there other way to solve this problem? I need a date slicer with provision to exclude persistent or any different approach to this problem 

scoder_0-1752259929210.png

 

1 REPLY 1
johnbasha33
Super User
Super User

Hi @scoder 

You're absolutely right — you're facing a classic Power BI bookmarks vs slicers conflict, and your use case is quite complex but not uncommon in real-world enterprise reporting.

To summarize your need:

  • You have buttons and bookmarks switching between funds (F1, F2, F3) and subpages (Overview, Projections, Portfolio)

  • You want fund filtering to be preserved via bookmarks

  • But you do not want the Date slicer state to be locked in by the bookmarks — instead, you want it to always show the latest date

You're also right that Power BI does not currently support selectively excluding slicer state for specific visuals while keeping others — the Data option in bookmarks applies to all slicers and filters.

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors