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
mitchreece
Frequent Visitor

Problem matching 2 fields in a relationship to a staff list

I am trying to join 2 fields from one table to a list in another

i.e Table one contains a list of clients, a field for the manager, a field for the partner and other fields.

Table 2 contains a list of staff (Which the manager and partner are part of), and a team for each staff member.

 

I believe it's not possible to 'join' them using relationships so am looking for another way to relate them as I am using row level security and I need to do that based on team in table 2.

 

(I need to relate both 'Partner' and 'Manager' in [Agent Listing] to 'Name' in [Staff] so that I can run report wide filter on 'Team' in [Staff] and it will include results where either the manager or the partner for a client is in the chosen team)

 

CaptureBI.PNG

3 REPLIES 3
v-danhe-msft
Employee
Employee

Hi @mitchreece,

Could you please offer me some sample data to have a test and post your desired result if possible?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Daniel

 

Thank you, I appreciate it. 

Below is a link to what the 2 tables would look like.

 

What I want is for the leader of Team Y (That has 'staff 2' in it) to be able to see clients C though to H as Staff 2 is either Partner or Manager on those clients.

Leader of team X (Staff 1 & 3) could see clients A through to F

Leader of team Z can see clients G & H

 

Hope this makes sense.

 

https://app.powerbi.com/view?r=eyJrIjoiMjFjMDc4NTEtMmViYS00OWFkLWE3NDktM2RmZmY0Mjc1ZGVjIiwidCI6ImRmY...

 

 

@v-danhe-msft - Did you have any luck?

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