Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Below is the Employee table showing Emp id , emp name email,Organization group, manager id , name and email. Each employee is assigned to more than one group (here 2 groups).
Another is the sales table showing sales data for employee.
When an employee "Leia Organa" view the report she should see data for the groups she is assigned (Technical chief group ,cloud computing group) as well as her reportees data.
reportees Hierarchy.
This should be the final result in powerbi.
Immediate help would be appreciated!
Solved! Go to Solution.
This should be model
This should be Joins between tables:
Table DAX Code:
In Manage Roles:
Hope I answered your RLS. If so, please provide Kudos and encourage me.
Thanks for you reply @Chakravarthy . But here it shows data for only that particular employee. It doesnt show data for their reportees. If I select " Leia Organa", it should show data for 1. " Leia Organa" 2. Kylo Ren 3.Darth Maul. Leia Organa is Manager of Kylo Ren and Darth Maul.
@VeenaAnalyst When I select "Leia Organa" It is showing "Kylo Ren" and "Darth Maul" Below is the screenshot
@Chakravarthy .Kindly ignore previous reply\post since it worked !. Ihere was issue in relationship between Distinct_emp and Bridge table. After I correct that it worked !!Thanks. Accepted as solution. Thanks for your immediate help!.
Hi @Chakravarthy , I have created tables and relatioship as shown by you. But it is not working.
Not sufre where it goes wrong.
Could you please send your .pbix file to refer?
This should be model
This should be Joins between tables:
Table DAX Code:
In Manage Roles:
Hope I answered your RLS. If so, please provide Kudos and encourage me.
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
103 | |
98 | |
98 | |
38 | |
37 |
User | Count |
---|---|
152 | |
120 | |
73 | |
72 | |
63 |