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

Relationship between three tables

Hi,

 

I think I have an issue regarding a relationship between three tables:

On the left you can see the list of our employees and then I have blurred out their sales. On the very right you can see a matrix with a list of the same employees and then the number of customer they have.

 

I want to be able to filter those matrixes through "month". At the moment you can see those data for the whole year. If I change the month it just changes the sales for this specific month but not the number of customers on the right - it still shows me the number of customers for the whole year.

SOD_Analyse.png

 

These are my relationships. If I reactive the green relationship I am able to filter through "month" and I will get the number of customers for this specific month but then the SALES per employee remain the whole sales per year. I do not know how to make it possible to filter those two items 😞 Maybe you can help

 

Relationship.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Ideally there should a join between Sod Monthly and details (M-M) if it a details table then it should be 1-M.

Disable that and activate 1-M of Time and SOD detail.

 

See you can create a bridge table between SOD monthly and SOD details

https://www.seerinteractive.com/blog/join-many-many-power-bi/

 

Or activate join using use relation as per need

View solution in original post

4 REPLIES 4
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Try making your relationships bi-directional.

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

amitchandak
Super User
Super User

@Anonymous , Ideally there should a join between Sod Monthly and details (M-M) if it a details table then it should be 1-M.

Disable that and activate 1-M of Time and SOD detail.

 

See you can create a bridge table between SOD monthly and SOD details

https://www.seerinteractive.com/blog/join-many-many-power-bi/

 

Or activate join using use relation as per need

Anonymous
Not applicable

Hello Amit,

 

@amitchandak 

another question regarding this topic. Now those working days are shown correctly after filtering by month. But when I filter by SOD (which are our employees) it filters me the right name for the total sales but not in the right matrix - it still shows all. Is there any simple soluation for that? Or is it possible to highlight the filtered person?

 

SOD.png

Anonymous
Not applicable

This is excactly what I needed! Thank you. I just began to work with Power BI and in Germany it is just kinda learning by doing. Thank you so much!

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