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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
rajulshah
Memorable Member
Memorable Member

Keep only few filters intact while creating bookmarks

Hello all,
I want to have 3 buttons: Last Year, Last Month & Last Week, and there will be a Date Slicer(with Slider) too on the page.

So, when I select 'Last Year', it should filter the data w.r.t last 365 days, and likewise for 'Last Month' & 'Last Week' buttons.

So, the date range filter should also get filtered for the last 365 days. But, at the same time, when I switch from one button to another, it should not reset the other filters, which is the most important part. 

 

I can do it as given in the link here, but I don't want to implement this as I would need to add many more measures, plus I want to save space taken by the intermediate table.

Can anyone please guide me how to resolve this issue? Any help would be great.
Thanks in advance.

1 ACCEPTED SOLUTION

Hello @v-shex-msft , @amitchandak and @ibarrau .

 

Thank you for the responses. But none of the solutions provided worked for me. Instead, I followed this link here.
This wasn't pretty much crisp and clear understanding it. If anyone does have any problem, feel free to reach me anytime.
It is really sad that none of the links were useful or helpful for this. Or even to show how 'All Visuals' & 'Selected Visuals' works or how to implement it.

View solution in original post

6 REPLIES 6
v-shex-msft
Community Support
Community Support

Hi @rajulshahm,

Nope, I don't think you can keep the current filter effect when you enabled to restore the filter effect that stored in a bookmark. 

I'd like to suggest you direct use filter/slicer to achieve this instead of use a bookmark. 

For example:  create an attribute filter to interaction with visuals.

Dynamic Attributes In A Power BI Report 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello @v-shex-msft , @amitchandak and @ibarrau .

 

Thank you for the responses. But none of the solutions provided worked for me. Instead, I followed this link here.
This wasn't pretty much crisp and clear understanding it. If anyone does have any problem, feel free to reach me anytime.
It is really sad that none of the links were useful or helpful for this. Or even to show how 'All Visuals' & 'Selected Visuals' works or how to implement it.

amitchandak
Super User
Super User

@rajulshah , I think you have a very similar solution. But still, check if this can help

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
ibarrau
Super User
Super User

Hi. This might sound like a lazy answer but did you try the relative date slicer?

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

This way you can filter by last N period, so you can do like last 1 week or last 1 month, etc. Then you can edit interactions to avoid filtering the other filters.

Hope this helps, I think is the only way to keep it simple, otherwise you have to play with DAX.

 

Regards


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

Happy to help!

LaDataWeb Blog

Thank you for the response @ibarrau .

I don't want the users to play with the Date Slicer as we would have many users and not proper training management for the users. So I want it to be very simple, straightforward & easy for the users to use.

 

Any other options may work!? 

Well if you don't want the DAX way you have shown or the date slicer you may be able to do it generating bookmark buttons. You can hide and show different visualizations for last year, month and week depending on the bookmark state. 

 

You chan check the toggle button idea of this post but instead of doing an on/off switch it would be three buttons to pick up. 

https://community.powerbi.com/t5/Community-Blog/Three-Killer-Ways-to-Use-Bookmarks/ba-p/870816

 

Regards,


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

Happy to help!

LaDataWeb Blog

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 MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.