Power BI Exchange

Please login or click SIGN UP FOR FREE to create your PowerBIUG account to join this user group.
Expand all | Collapse all

Dynamic Row Level Security in an Embedded Report

  • 1.  Dynamic Row Level Security in an Embedded Report

    Posted 26 days ago

    I am trying to create a dynamic row level security solution for an embedded report. Users will log into an existing corporate dashboard and this report will show for them. The embedded report passes a USERPRINCIPALNAME() that corresponds to the user's email address contained in a Users table.

     

    The Users table connects to a UsersGroups table which contains a UserID and a GroupID. The GroupID connects to a Groups table that contains the GroupID and a LocationID. The LocationID connects to a Location table, which should be what grants access to the data using the LocationID.

     

    Users may have multiple LocationIDs that they need access to.

     

    I've been struggling to find the correct DAX command to put into the Row Level Security filters. Help!



    ------------------------------
    Erin Hayes
    BI Developer
    Woodbury
    ------------------------------


  • 2.  RE: Dynamic Row Level Security in an Embedded Report

    Posted 25 days ago
    We do something very similar.  This article helped me - https://www.mssqltips.com/sqlservertip/6153/power-bi-row-level-security/

    ------------------------------
    Andrew McDonald
    ------------------------------