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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors