Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member




Need your assistance.


I currently have a RLS that restricts access for viewing employees information out of the base location. Typically the Leads can view details based on Team ID and base location.

And now I have a new requirement where I want to share the details of an employee who is out of the location (team id) but share a common work ID.

Example: an employee with X team ID and working on a different project out of his base location. So he has 2 work id's say it as A and B where represent the work ID of base location and B out side of base location.


Because of my current RLS the Lead M is not ablebto view the details of B and X employee.


I tried to create some intermediate tables which work id's and matching team codes. Here if I hard-coded the work ID the RLS is working but not sure how to make it dynamic. So that  when a Lead login userprincipalname() should be checked against the Work ID and display the Offshore employees along with base location else the normal RLS will work as is.


Can you please help me on this.







I found a solution for this. What I actually did is that I added the column (Regional Manager) and added it in the existing role that filters users based on base location.




View solution in original post

Community Support
Community Support

Hi @akash0800-pbi1 ,

If I understand correctly, it seems that you are trying to display the data dynamically. You can refer the following links to get it:

Dynamic Row-level Security in Power BI (

Dynamic Row Level Security with Power BI Made Simple - RADACAD


If the above ones can't help you get the expected result, please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples.It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum


And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I will try to share more details. Please allow me some time.



I found a solution for this. What I actually did is that I added the column (Regional Manager) and added it in the existing role that filters users based on base location.




Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors