cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors