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
Anonymous
Not applicable

RLS - can't load data when user has been assigned multiple roles

Hi all

 

My dataset relates to a project with multiple teams. As users should only view their own team's data, I have set up RLS using USERPRINCIPALNAME. This was working fine until recently.

 

As some staff members work on more than one team, they were assigned multiple roles. I have a USERS table with the team names and organisational IDs, with a relationship connecting to my TEAMS table. 

 

Users with only 1 team can access the reports fine with no issues. Now I am getting reports of errors but only by users who work on more than 1 team. The error they get is per the screenshot:

GC_4002_1-1605777692345.png

 

Can anyone advise as how to resolve?

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, you could need dynamic RLS with a hierarchy.

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi 

 

Best Regards,
Liang
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

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on your description, you could need dynamic RLS with a hierarchy.

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi 

 

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

nandukrishnavs
Community Champion
Community Champion

@Anonymous 

 

Can you provide more information?

How many roles you have?

What is the filter condition?

Can you share a snapshot of the data model view (relationship)


Regards,
Nandu Krishna

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 Kudoed Authors