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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Limiting a hierarchy by AD user?

I'm building an SSAS model for DirectQuery usage.

In it there's an organizational hierarchy I want to limit according to the logged on user.

I got some old books and knowledge about how to do this with a multidimensional cube and reporting services, but fail to find good information about how to do this with tabular mode/DAX and Power BI.

Any good resource to look up or some pointers anyone could give?

 

The dimension is as such:

All
- Department 1
-- Employee 1 (emp1@domain.com)
-- Employee 2 (emp2@domain.com)
- Department 2
-- Employee 3 (emp3@domain.com)

 

The requirement is that emp1@domain.com is supposed to see his/her own dimension member, Department 1 aggregated and All aggregated.

 

All pointers appreciated. 🙂

Lars-Erik

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Perhaps:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Hierarchical-Row-Level-Security/td-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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Perhaps:

https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Hierarchical-Row-Level-Security/td-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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Looks spot on! Thanks!

Crossing my fingers I can do this in the SSAS model as well. 🙂

 

Lars-Erik

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.