March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello Experts,
I have a requirement as when my manager logs into the Power BI report then he would like to see only the direct people reporting to him.
How can we achieve this scenario?
Below is the list of employees in the group.
If Sam logs in then he would like to see all the resources reporting to him as given below for reference.
Could you please share me link/youtube videos for reference?
Thank you in advance!
Regards,
Prakash
Solved! Go to Solution.
Hey @Prakash04 ,
First of all, you need create a new table with the data of the managers (name, id, email). After that, you should related the Manager with the table Emp (that have the data about employees). I use the name of the manager on the Manager table and related with the Reporting in the Emp table.
Then you create your dinamic RLS. Check the images. 😃
*If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Kind Regards,
Marcel Magalhães
Content of Manager table (the email field will be the key to the dinamic RLS)
Create the RLS on tab Manager on field 'email'
Applying the test (pay attention in the visual. All people are list)
Just viewing the SAM team
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Hey @Prakash04 ,
First of all, you need create a new table with the data of the managers (name, id, email). After that, you should related the Manager with the table Emp (that have the data about employees). I use the name of the manager on the Manager table and related with the Reporting in the Emp table.
Then you create your dinamic RLS. Check the images. 😃
*If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Kind Regards,
Marcel Magalhães
Content of Manager table (the email field will be the key to the dinamic RLS)
Create the RLS on tab Manager on field 'email'
Applying the test (pay attention in the visual. All people are list)
Just viewing the SAM team
Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI
Hi,
You can do this by preparing data which supports your need. You should have table with Employee Name and their direct reporting employees (1st level managers) and use this table for RLS .
I have done similar to this 2020. So data preparation is key here.
Appreciate a Kudos!
If this helps and resolves the issue, please mark it as a Solution!
Regards,
N V Durga Prasad
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
114 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |