Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MJ23
New Member

ROW LEVEL SECURITY (RLS)

Hi everyone, 

I´ve set up RLS and dynamic RLS for two datsets and they work fine so far.

 

Now, I would to enable certain users to select certain items (different years, or different product categories) within their roles. On the other hand I woud like to disable this function for other user. In different words, for some users I want them to make use of the so called self service function and for others I want them to have a read only permission. Thank you very much!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @MJ23,

 

AFAIK, RLS only works on users who has read permission. For dataset owner, admin or other users who has edit permission, RLS not works for them.

 

If you mean unlock some data form specific users which not suitable for current RLS setting, I think you need to coding formula for multiple level RLS.

 

For example:

Current dynamic RLS setting: username function -> User table(RLS filter) -> other tables.

Modified dynamic RLS setting: username function -> User table -> user role table(RLS filter) <- other tables.

 

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI @MJ23,

 

AFAIK, RLS only works on users who has read permission. For dataset owner, admin or other users who has edit permission, RLS not works for them.

 

If you mean unlock some data form specific users which not suitable for current RLS setting, I think you need to coding formula for multiple level RLS.

 

For example:

Current dynamic RLS setting: username function -> User table(RLS filter) -> other tables.

Modified dynamic RLS setting: username function -> User table -> user role table(RLS filter) <- other tables.

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.