cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
imagautham
Helper II
Helper II

Can Static and Dynamic Row Level security be applied in the same report?

In one of my reports in my organization, I could see that they have applied static RLS on one table (Example: [org]='ABC') and in another table they have applied dynamic RLS (Example: [Email]=USERPRINCIPALNAME()  ).

Is this possible?If yes, If an user is viewing the report, Whether will it check the static RLS or dynamic RLS?

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @imagautham ,

When using both RLS at the same time, the following error occurs:

The user belongs to multiple roles 'Sta role, da role' that have security filters, which isn't supported when one of the roles has filters affecting table 'Table' with SecurityFilteringBehavior=Both relationships.

vyangliumsft_0-1656307717358.png

 

You can refer to the following link to solve:

https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#issue-multiple-roles-and-limi...

https://community.powerbi.com/t5/Desktop/Users-with-multiple-security-roles-suddenly-can-t-see-data/...

Application Scenarios of Static RLS and Dynamic RLS

https://www.phdata.io/blog/power-bi-row-level-security/

https://hevodata.com/learn/power-bi-row-level-security/

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @imagautham ,

When using both RLS at the same time, the following error occurs:

The user belongs to multiple roles 'Sta role, da role' that have security filters, which isn't supported when one of the roles has filters affecting table 'Table' with SecurityFilteringBehavior=Both relationships.

vyangliumsft_0-1656307717358.png

 

You can refer to the following link to solve:

https://docs.microsoft.com/en-us/power-bi/enterprise/service-admin-rls#issue-multiple-roles-and-limi...

https://community.powerbi.com/t5/Desktop/Users-with-multiple-security-roles-suddenly-can-t-see-data/...

Application Scenarios of Static RLS and Dynamic RLS

https://www.phdata.io/blog/power-bi-row-level-security/

https://hevodata.com/learn/power-bi-row-level-security/

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors
Top Kudoed Authors