Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

reset slicers with bookmarks

Hi

 

I have the following slicers to filter data: 

 

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

 

 

  • 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

4 Replies

  • AllisonKennedy's avatar
    AllisonKennedy
    Icon for Community Champion rankCommunity Champion
    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.
    • Anonymous's avatar
      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?

      • AllisonKennedy's avatar
        AllisonKennedy
        Icon for Community Champion rankCommunity Champion
        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
  • 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?