Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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/
The Power BI Data Visualization World Championships is back! It's time to submit your entry.