Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kamalbandam
Helper III
Helper III

Dynamic RLS for different 3 different roles

Hi,

I have three employee categories where in the data I have 3 different countries XYZ. Where A category can see X,Y,Z data. B Category should see only Z data and should not see Y and X data. C Category can see only Y data.

 

Can anyone help me with this.

 

Thanks,

Kamal

1 ACCEPTED SOLUTION
2 REPLIES 2
tex628
Community Champion
Community Champion

A table like the one below is what you're going to need:

Employee Email Category Country
Person1@email.com A X
Person1@email.com A Y
Person1@email.com A Z
Person2@email.com A X
Person2@email.com A Y
Person2@email.com A Z
Person2@email.com B Z
Person2@email.com B Z
Person3@email.com C Y
Person3@email.com C Y


You will need to combine it with a mapping table as the relationship will connect to the country, which isn't distinct. Keep in mind that RLS filtering needs to be turned on specifically for double sided crossfiltered relations. You will find this in the relationship settings for each individual relation.

/ J


Connect on LinkedIn

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.