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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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