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,
I have my dataset configured for RLS and I created 2 groups - ALL and RLS.
Group ALL was created for people that should see all of the data.
Group RLS has traditional function as [USERNAME] = USERPRINCIPALNAME() and works fine.
The problem is that I have one manager which is assigned to group ALL but he is also a member of mail alias which is assigned to group RLS.
Therefore Power BI automatically determines the most strict role when he opens the dashboard and it limits the data. How can I force Power BI to choose ALL group just for this one guy?
Regards
Solved! Go to Solution.
Hi @xhurit ,
Try modifying Group RLS as [USERNAME] = USERPRINCIPALNAME()&&USERPRINCIPALNAME()<>"the manager"
Best Regards,
Jay
Hi @xhurit ,
Try modifying Group RLS as [USERNAME] = USERPRINCIPALNAME()&&USERPRINCIPALNAME()<>"the manager"
Best Regards,
Jay
Hi @xhurit
Why would you want them in both if they can see everything?
I would just have the under in the everything group and they can then filter the data they need to see.
Hi. I don't think you can do that. That's Power Bi default behaviour. If you can't remove him from that group and this is a unique case that won't be repeated, you can add a hardcode rule for RLS with an IF.
IF ( [USERNAME] <> uniquecase@company.com; [USERNAME] = USERPRINCIPALNAME() )
You can play with the rule. However the recommendation would be removing the person from RLS group because it should see ALL.
I hope that helps,
Happy to help!
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.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
52 | |
22 | |
11 | |
11 | |
11 |
User | Count |
---|---|
116 | |
31 | |
30 | |
21 | |
19 |