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
olivierlaloo
Regular Visitor

RLS with groups on multiple levels

Hi All,

 

I have a report where i would like to apply the following security (for a customer)

 

  • Company owner can see all data
  • Sales representative group level 1 with multiple users
  • Sales representative group level 2 with multiple users
  • Sales representative group level 3 with multiple users


Customers are linked to level 1, 2 or 3.

 

The security should be setup like:

 

  • Company owner should be able to see all data
  • sales rep that belongs to group level 3 can only see his customers
  • sales rep that belongs to group level 1 can see
    • his customers (linked to group 1)
    • all customers linked to group 2 (which falles under group 1)
    • all customers linked to group 3 (which falls under group 1 & 2)

 

Question to you: how can this be achieved? Did someone already implement this? Is it possible?

 

Thanks !

 

2 REPLIES 2
v-sihou-msft
Microsoft Employee
Microsoft Employee

@olivierlaloo

 

In this scenario, I suggest you use a numeric Level Column. Then you can apply row level filter like:

 

Table[Level]>=LOOKUPVALUE(Table[Level],Table[UserName],USERNAME())

 

 

Or you can consider using SSAS multidimension model as source. You can create a hierarchy for Employee, then apply cell level and dimension security based defined roles. Please refer to docs below:

 

Roles and Permissions (Analysis Services)

Connect to SSAS Multidimensional Models in Power BI Desktop

 

Regards,

 

Hi Simon,

 

Could you provide me with a bit more information on how to implement it using this numeric level column?

 

Thanks for your help!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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