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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
campelliann
Post Patron
Post Patron

Row Level Security - best approach?

Hi there,

 

So I have this situation where I will have 10-20 roles to manage in PowerBI.  There will be 10 tables or so to filter for each role and I am not able to easily create a Single "Role Table" that spreads the filter across the model without creating ambiguity.  I have thought on these possibilities:

 

1) Doing "manual" RLS creating the roles with the filters in the standard way.

2) Creating various Role Tables in the model, to minimize the number of Tables I ll have to filter in the modeling/RLS section

3) I also thought something of creating one role, and with SWITCH/selectedValue on email measure, I would do the filter. SWitch( true() , mail = john@complany, "value1", etc.). Dont know if this would be bad in terms of performance though..
Thanks!

2 REPLIES 2
Anonymous
Not applicable

Hi @campelliann,

In fact, RLS and filters work on different levels, you can't use the selection from the slicer to dynamic effect the RLS.

Notice: the data level of power bi(from parent to child level)

Database(external) -> query table(query, custom function, query parameters) -> data model table(table, calculate column/table,RLS) -> data view with virtual tables(measure, visual, filter, slicer)

Regards,

Xiaoxin Sheng

lbendlin
Super User
Super User

Keep in mind that you can have multiple RLS rules for the same person. More permissive rules will override more restrictive rules.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors
Top Kudoed Authors