Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I am trying to setup RLS using Hierarchical Organization structure. Users are not stored in Active Directory.
The following business rules apply
On data level this corresponds to the following tables :
I want to come to a RLS security, where the logged in userid is sent via CustomData to Power BI. Using the userid, I want to filter out all facts which belongs to the OrganizationUnit where the user belongs too PLUS all his sublevels.
Any tips how I should do this?
Below my datastructure
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 11 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 38 | |
| 34 | |
| 34 | |
| 31 | |
| 20 |