This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi, So I’m embedding a Power BI report in an application and I’m trying to implement RowLevelSecurity in Power BI to restrict access to data based on the User Permissions.
Tables -
OR I can still group by UserId & Group to get it in the following way (why? please read-on)
A user can have access to one or more of these codes and these codes come from different groups. There is one catch though -
A User can have access defined using 1 or n groups. The access can be defined based on any of these codes (A User can have access to only BillTo or only Shipper or only Receiver or a combination of BillTo, Shipper or BillTo, Receiver or Receiver, Shipper codes or all 3)
See the expected result below to know the logic in its entirety -
I’m able to pass the UserId to Power BI in the embed token and filter the UserPermissions table based on the User login.
My next steps would be to -
I'm able to pass the User Id in the embed token & I already have an RLS in place with the help of a DAX query, but thtat's a very simplistic case. Any help on solving this is appreciated. Thanks in advance!!
Hi @shashanm
Could you look at dynamic RLS and see if that will work?
https://www.kasperonbi.com/power-bi-desktop-dynamic-security-cheat-sheet/
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 11 | |
| 8 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 22 | |
| 19 | |
| 16 |