Forum Discussion
Revoke RLS for a specific page
- Anonymous5 years ago
v-diye-msftI thought of it but I require my users to export the underlying data as well. Anyways I have followed the similar approach but replicated the entire table ( 3 tables in my case). Marking this comment as a solution.
Greg_Deckler Please see the above.
Anonymous You could potentially use this approach for your 1 page that you want to lock down, basically put duplicates of the columns in a separate table. https://community.powerbi.com/t5/Community-Blog/Column-Level-Security/ba-p/1309392
Greg_Deckler I dont think this will work when RLS is applied based on the userprincipalaname. So basically the users can see the data based on their logins or heirarchy. However I want to bypass this RLS which is based on username only for two tabs and allow every user to see all data in these two tabs.
I have users 'a' 'b' and 'c'.
Tab 1 to 4 -> user 'a' can see only data relevant to 'a'. and so on for other users too.
Tab 5 and 6 -> user 'a' can see all data including that of 'b' and 'c' and so on for the other users as well.
- Greg_Deckler5 years agoCommunity Champion
Anonymous Right, so the thought is to duplicate your fact table data and not have it connected to whatever table your RLS is tied to. But would need to better understand your model and data to see if it would work.
- Anonymous5 years agoNot applicable
Greg_Decklercould you share your email id so that I can send you the pbix file? I do not want to post it here considering the access to multiple users.
- Greg_Deckler5 years agoCommunity Champion
Anonymous [email protected]