Forum Discussion

Mike282's avatar
Mike282
Helper III
7 years ago
Solved

Dynamic Row Level Security using a GUID column in Power BI

Hi all,   So I've got a question in regards to dynamic row level security based on data in Power BI.   I've got my Power BI connected to a SharePoint online list for hours worked that requires ma...
  • Anonymous's avatar
    Anonymous
    7 years ago
    Mike, the user principal name is the root to assigning role based security as this is the id passed to the power bi report from the power bi service. You need to set up 2 roles in your scenario, one that matches the manager login and one for the salesperson. The role for the manager should filter the manager column containing the upn, either in the sales table or via your employee manager lookup. The second role for the salesperson should filter the salesperson column containing the UPN. If you don’t already have the UPN you need to get that imported as well as power bi won’t map directly to a GUID. Hope this helps.