Forum Discussion

MarcOhm's avatar
MarcOhm
New Member
4 years ago
Solved

Different RLS-Criterias on different report sites

Hello, 

 

in my current project i am trying to set different RLS-criterias on different report pages. The goal is to get a Dashboard where i have an Overview-site with no restrictions and another site where the same table, that is used in the Overview-site, is restricted. So when a User switches to the Overview-site his RLS-role changes and when he switches to the other site, his RLS-role changes again. The following picture somehow shows what i am trying to do. 

 

 

Is there a way to switch the RLS-Roles of users depending on the report-page they are using at the moment ?

 

Kind regards

Marc 

  • MarcOhm what is your source? Let's if I have to do it, on the overview page I show sales by year (for example) and I have SQL as my source. I will create a view in SQL which groups sales by year and just visualize it on the overview page, it will not have a performance impact but again this is a simple example, maybe you have bit of complex requirements. End of the day this is the only solution available to you, maybe you need to review your existing model why it is running slow. 

     

    Follow us on LinkedIn and  to our YouTube channel

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

6 Replies