The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi all,
Would appreciate your help in this.
We have a matrix where under the rows section we have below columns
City Name
Branch Name
Employee Name
and under the Value Section We have
Total Leave
Sick Leave
Annual Leave
All the above fields are from a single flat table.
The requirement is out of 50 users 10 users should see the data for all the rows ( City Name , Branch Name,Employee Name)
but other 40 users should see data only for ( City Name , Branch Name). In other words, they should not see Data at Employee Name Level.
Please advise any easy way to implement this security.
Hi @Shadaiv
You may refer to this video to learn how to create Row Level Security with hierarchies.
For reference:
Row Level Security With Hierarchies
Dynamic Row Level Security with Organizational Hierarchy Power BI
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @Shadaiv ,
you can create specific roles and map them to each user:
Row-level security (RLS) with Power BI - Power BI | Microsoft Docs
Also you could create a table with all the users and the access they have and then dynamically filter with the USERPRINCIPLENAME function:
Dynamic Row Level Security with Profiles and Users in Power BI : Many-to-Many Relationship - RADACAD
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
82 | |
63 | |
54 | |
52 |
User | Count |
---|---|
127 | |
118 | |
81 | |
65 | |
64 |