Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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/
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.