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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
yogevz
Helper II
Helper II

RLS on Hierarchy

Hi

I want to implement RLS on Hierarchy table.

the Hierarchy table is made of 12 columns (from 1 till 12..).

and i want to create generic RLS, through users/groups.

issue is, that if a user has permissions for level 6, then he will see 6 till 12....

if a user has permissions for level 8, then he will see 8 till 12....

if a user has permissions for level 3, then he will see 3 till 12....

Etc...

any ideas?

users/groups/etl/powerbi///what is the way?

3 REPLIES 3
amitchandak
Super User
Super User

@yogevz , refer if these can help

https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies
https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi
https://blog.tallan.com/2018/04/10/row-level-security-in-power-bi-part-1-roles-and-users/

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks but small issue...

after i will implement it in the model,

still i need to enter the poerbi service and insert every user seperatly...

so it is not fully dynamic...

can i enter in the power bi service an active directory group...and then i will just refresh the group in my systems?

or any other way, so i won't need to enter the system every new users...?

Greg_Deckler
Super User
Super User

Maybe this will help: https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Hierarchical-Row-Level-Security/m-p/...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.