Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Row level security

This is my measure for row level security. I look up the username and match the manager should be able to see the employee IDs corresponding to the manager ID.  1 = var stock = LOOKUPVALUE(user_secu...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Anonymous ,

     

    You may refer to Row-level security (RLS) with Power BI.

     

    According to your sample data. I create a role in the Manage roles as follows.

    [Username] = username()

     

    The test is this.

     

     

    You can check more details from here.

     

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.