Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Row level security multiple group memberships

Hi,   I am using RLS to filter what a logged in person can see but i am really struggling with the scenario where a person should be able to see more than one groups data. So far i am using this fu...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

    Please try the formula as below and check if it can work well...

    [Group]
        IN CALCULATETABLE (
            VALUES ( 'Table'[Group] ),
            FILTER ( 'Table', 'Table'[Email] = USERPRINCIPALNAME () )
        )

    If the above one can't help you get the expected result, could you please provide some raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

    How to provide sample data in the Power BI Forum

    How to Get Your Question Answered Quickly

    And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

    How to upload PBI in Community

    Best Regards