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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Row Level Security comparison between columns

Hi all

 

I am implementing RLS in my dashboard where there are two tables, one of managers and other customers. 
They do not have a direct relationship/join but there is a relation which is the team they both are on. The managers manage the team and the table contains the column with each users team; m2m relation between team and manager, each manager can have multiple teams and each team can have multiple managers. so I have flattened the data so I have 2 rows for one manager with 2 teams (to make thing easier). The customers also have a team column in their table.

 

Issues:

1- Managers need to be able to see only customers of their teams

2- Customer team name can have suffix , for example Sales in manager is equivalent in Sales U and Sales GP in customer.

 

I can't seem to make this work. I tried simple Customer[team] = Manager[team], it didnt work. Neither did using IN and Search functions.

 

Any help is much appreciated. 
Thanks 

1 REPLY 1
Mariusz
Community Champion
Community Champion

Hi @Anonymous 

 

Can you create a data sample that represents your scenario?

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
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.

Top Solution Authors