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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

reset slicers with bookmarks

Hi

 

I have the following slicers to filter data: 

 

juanbonosoinn_0-1595720295106.png

I have a teacher slicer(docente) to get the courses for the selected teacher(cursos). My idea is the following:

 

  • I have published these reports as an power bi app, so I can share them to the teachers.
  • I pass the id of the teacher as a query string through the url, when doing this only one teacher appears on the teacher slicer. 
  • I want the reset button(Reiniciar) to clear all the selections, however when i do this the whole list of teacher appears again because the bookmark has all the teachers unselected.

 

I have two questions:

  1. Do you have a better approach to share reports across different teachers? for the moment the approach of sending the id is working, but not sure if its the best solution
  2. How to use/create a bookmark to clear the slicers without showing the entire list of teachers? If there's another solution rathern than bookmarks, it would be good to know

 

 

1 ACCEPTED SOLUTION

RLS will restrict the entire report based on filters you set ,so you can set it up so that each teacher only sees their own info. That way, when you reset the slicers as you are currently doing, it will still only show the data for the teacher who is logged in, so while RLS doesn't help directly with resetting slicers, it will help with this scenario.
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

4 REPLIES 4
Robert1981
Helper II
Helper II

In my report I want to be able to switch all metrics in the dashboard between monhtly value or annual values.

How do I alter between both slicers and have the values alter dependent what slicer is used?

 

If both slicers are on screen, how do I ignore the month selection, if a year is selected?

Robert1981_0-1646791929698.png

 

 

AllisonKennedy
Super User
Super User

Do you ever need teachers to see other teachers data? If not, you could try Row Level Security instead of URL filter to limit the data each teacher sees to only their own.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Anonymous
Not applicable

No, I just need the teacher to see its own information.

 

I have not heard about Row Level Security, i'll check that. What about how to reset slicers? will the RLS helped me with that?

RLS will restrict the entire report based on filters you set ,so you can set it up so that each teacher only sees their own info. That way, when you reset the slicers as you are currently doing, it will still only show the data for the teacher who is logged in, so while RLS doesn't help directly with resetting slicers, it will help with this scenario.
https://docs.microsoft.com/en-us/power-bi/admin/service-admin-rls

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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