Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi,
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.
Thanks,
Akash
Solved! Go to Solution.
Hi,
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.
Thanks,
Akash
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 (databear.com)
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
I will try to share more details. Please allow me some time.
Hi,
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.
Thanks,
Akash
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
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!