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

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

Reply
Anonymous
Not applicable

Dynamically change x axis according to RLS

Hi All, 

 

I have 4 levels of hierarchy: 

1st: VP Level 

2nd: Director

3rd: Department

4th: Employees 

 

I have a report that tracks the number of hours that employee are working in a column chart. However, on the X axis I would like to dynamically display one level lower according to which level of user is signing in. For e.g., if VP level signs in then the x axis should show director level, if director signs in then it should show department level, if department signs in then employees etc.   How can implement this? 

 

Thanks a lot in advance 🙂 🙂 

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

For Dynamic Row Level Security with Hierarchy case, you may refer to these blog:

https://radacad.com/dynamic-row-level-security-with-organizational-hierarchy-power-bi

https://radacad.com/dynamic-row-level-security-in-power-bi-with-organizational-hierarchy-and-multipl...

https://www.blue-granite.com/blog/using-dynamic-row-level-security-with-organizational-hierarchies

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

danielwelch
Resolver II
Resolver II

Hi Evko,


Create a new calculated column in hours table identifying who can see what i.e if - role is lowest then All, Else if next level then Department, Else Director, Else VP.

Then filter your RLS for each user based on the new column, this will then remove any data they are not authorised to see from the sales table and update your visualisation.

Hope this helps.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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.

Top Solution Authors