Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi All,
As the title suggest, I'm looking for a way to implement dynamic row-level security automatically within a cost center hierarchy with, at the lowest level, multiple parents. I've already read several partial solutions, but, I'm not able to figure this out totally.
So why didn't i implement this yet, you ask? Well, I just can work out how I can put all these together... I'm really scratching the edges of my understanding of relational databases, many to many relationships and DAX. So your help in putting this all together is much appreciated.
My situation is as follows:
EmployeeID | Department | Business Unit | Team | Supervisory Level | Score |
1 | TL | TPO | RR | ExR | 10 |
2 | As | AssZ | AssZ1 | Public | 20 |
3 | FS | HC | DA | DB | 25 |
4 | TL | TPO | TT | ExR | 15 |
5 | TL | T | V | VT | 16 |
ID | name | Department | Business Unit | Team | Supervisory Level | |
1 | Ian | Ian@example.com | TL | |||
2 | Andreas | andreas@example.com | TPO | |||
2 | Andreas | andreas@example.com | T | |||
3 | Sara | Sara@example.com | RR | |||
4 | Peter | Peter@example.com | ExR | |||
5 | Boss | Boss@example.com | All, including below |
So yeah, In my (probably very noobish view), this is pretty complicated, especially since it combines implementing dynamic row-level security with multiple positions, multiple parents and multiple tables (see screenshot below of real data model). Has anybody figured this out ever? Thanks so much in advance!
HI @Anonymous,
I'd like to suggest you take a look at following blog if it suitable for your scenario:
Dynamic Row Level Security (Rls) and Company Hierarchies
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
Thanks for the reply. The link provided unfortunately doesn't help me, since it does not cover multiple parents of the same children (see my second point).
Best, Strike88