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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
syasmin25
Helper V
Helper V

RLS path calculation

Hello, 

I am pretty new to RLS and have been trying to implement it in a certain way. 

syasmin25_0-1594884971967.png

My table above is a sample. I am trying to create RLS here based on the levels. Normally I can create 3 roles for 3 levels where, 
Level 1 is regular employees
Level 2 is supervisor of employees 
Level 3 is the manager/head of the building (based on the BuildingID)

I am trying to create RLS where the manager (Level 3) will be able to see the data for people below them by filtering through. For example when the manager of BuildingID='233' logs in, they can filter through the report to see people they are assigned to. 

syasmin25_1-1594885338957.png

It would be clickable in the filter pane. However, I am more used to on doing DAX calculations when the manager ID is on a different column and this seems to be a new scenario. I have tried a couple of methods and so far have not been successful. Any kind of help here would be much appreciated. 

 

2 REPLIES 2
amitchandak
Super User
Super User

Hello, 

Thank you for the links. I understand how its done on the links provided. However, I am having difficulty creating paths since I only have a column that states the level the person is on. I do not have a column that has the superior ID. How would I be calculating the pathways then? 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.