Forum Discussion
RLS does not get applied
- 1 year ago
i have booked quite some progress;
i noticed that within 1 role the full context have to be included;
i have 1 role per fact table, as expectation is to limit the access to companies depending on the fact table ; i created therefore 2 roles, and put filters inside: 1 role -> table1 filter; 2 role - > table2 filter;
how Powerbi read this: 1 role -> table1 filter, table2 give full result; 2 role -> table2 filter, table1 give full result; as roles add to each other, it kept giving me full results; i put now the filters into 1 role, and first tests are very promising; all data got filtered on both tables; lets see where this gets me;
Edit: this was the correct approach; it solved my issue
Hi MamaHani2 ,
Row-Level Security (RLS) in Power BI only works for users with Viewer permissions
Please refer this article-
https://learn.microsoft.com/en-us/fabric/security/service-admin-row-level-security
I hope it will be helpful.
Thanks,
Sai Teja