Forum Discussion

Charu's avatar
Charu
Post Patron
8 years ago
Solved

Dynamic RLS role creation based on Login name

  Hi Everyone, Based on the user logged in for them their own record and the person who is reporting to the logged in user those details also should display  How to compare the logged in username ...
  • Anonymous's avatar
    Anonymous
    8 years ago

    Charu,

    In your scenario, create two roles, one using the DAX below. In Power BI Service, add Ajay as member of this role.

    1=1


    Another using DAX below.

    [Email_address] = USERPRINCIPALNAME()



    Regards,
    Lydia