This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
The data I have I get from AD. It's a default table which I've added some columns to
| User | Manager | Id | Manager ID | Login | Org Level 1 | Org Level 2 | Org Level 3 | Path | Path User |
| A | B | 1 | 2 | a@company.com | c@company.com | b@company.com | a@company.com | 3|2|1 | A|B|C |
| B | C | 2 | 3 | b@company.com | c@company.com | b@company.com | 3|2 | B|C | |
| C | 3 | c@company.com | c@company.com | 3 | C |
But when I add RLS it just does not work.
If I view the role as 'User' I only can see myself (User B), not the people below me.
If I view the role as 'Other User' it does not matter what I put in there, I still can see everyone. There is just no filtering on the user table.
I've tried the following dax codes in my RLS user table:
PATHCONTAINS(
User[Path User],
LOOKUPVALUE(
User[User],
User[Login],
USERPRINCIPALNAME()
)
)
-----------------------------------------------------------------------------------------------------------------------------------------------
PATHCONTAINS(User[User],
MaxX(
Filter(
User,
[Login]=USERPRINCIPALNAME()
)
, User[User]
)
)
-----------------------------------------------------------------------------------------------------------------------------------------------
VAR Agents =
CALCULATETABLE (
VALUES ( 'User'[User] ),
'user'[Manager] = USERNAME())
RETURN
IF('Agent name'[login] IN Agents, TRUE, FALSE)
-----------------------------------------------------------------------------------------------------------------------------------------------
LOOKUPVALUE(
User[User],
User[User],
RIGHT(USERNAME(), USERNAME())
-----------------------------------------------------------------------------------------------------------------------------------------------
[Login] = USERPRINCIPALNAME()
|| [Org Level 3] = USERPRINCIPALNAME()
|| [Org Level 2] = USERPRINCIPALNAME()
|| [Org Level 1] = USERPRINCIPALNAME()
With all I have the same result
Hi @Anonymous
Kindly check below blog whether helps:
https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
@Anonymous , Refer if this can help
https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies
Hi @amitchandak Thank you for the link, unfortunaly I've already tried his solution which also did not work (see last dax query)
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 25 | |
| 24 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 26 | |
| 21 | |
| 20 |