Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi guys,
I have a complicated situation with RLS. I have 2 pages:
- Page 1 everyone can see all the data (Overview our department).
- In Page 2 the user is allowed to see only his data. (this is easy to fix namely Email = USERPRINCIPALENAME() )
But the thing is when I go to Page 1 then I see only the data of mine, but I need to see all the data of my department. How can I use 2 different RLS?
Is there any solution for this situation?
Thanks in advance!
Solved! Go to Solution.
@Anonymous when you apply RLS data will automatically get filter according the Row level restrictions placed. You can't restict access to one page as RLS is applied on the dataset.
However, there are cases where we may need to overried RLS in such cases you can either create seperate tables if possible. Else best thing would be to create a measure that is not impacted by RLS.
below are some links can guide you in the right direction
https://community.powerbi.com/t5/Desktop/RLS-creating-a-measure-to-overide-RLS/td-p/37019
Proud to be a Super User!
Hi @Anonymous
I wonder if the data from page1 and page2 are related ? If it has relationships between different data, it will definitely be affected by filters .And as per the online document Row-level security, the RLS filter the dataset directly.
If it possible , you can create a separate table in page1, without establishing any relationship, then you will not be affected by RLS.
More info about RLS can refer to the link :
https://docs.microsoft.com/en-us/power-bi/guidance/relationships-bidirectional-filtering
https://docs.microsoft.com/en-us/power-bi/guidance/rls-guidance
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sorry, but there is no clear reply!
Hi Guys,
Sorry for the late response! But the solutions to duplicate the datamodel does works thanks!
Hi @Anonymous
I wonder if the data from page1 and page2 are related ? If it has relationships between different data, it will definitely be affected by filters .And as per the online document Row-level security, the RLS filter the dataset directly.
If it possible , you can create a separate table in page1, without establishing any relationship, then you will not be affected by RLS.
More info about RLS can refer to the link :
https://docs.microsoft.com/en-us/power-bi/guidance/relationships-bidirectional-filtering
https://docs.microsoft.com/en-us/power-bi/guidance/rls-guidance
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous when you apply RLS data will automatically get filter according the Row level restrictions placed. You can't restict access to one page as RLS is applied on the dataset.
However, there are cases where we may need to overried RLS in such cases you can either create seperate tables if possible. Else best thing would be to create a measure that is not impacted by RLS.
below are some links can guide you in the right direction
https://community.powerbi.com/t5/Desktop/RLS-creating-a-measure-to-overide-RLS/td-p/37019
Proud to be a Super User!
User | Count |
---|---|
114 | |
71 | |
57 | |
46 | |
39 |
User | Count |
---|---|
173 | |
121 | |
58 | |
58 | |
56 |