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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
AutismRunner296
Frequent Visitor

Table Join problem

My intelligence is sorely lacking today. I am trying to join two tables from excel on my visualisation, and I can't seem to get them to do what I want.

 

I have a sports team table showing a list of players with some overall stats, and I'd like to join that to a table that shows the individual scores, where the game was, and the name of the opponent. Each entry in that table has a unique key (A, B, C.....)

 

The first screenshot shows the scores from Game A in the final column.  Is there a way that I join the tables so that Power BI knows which location and which opponent it is, by selecting the main table and highlighting column A perhaps, or B and so on?

 

On the flip side, if I chose the location in Table B can I show the games in the main table that only show that location?

 

If anyone can decipher what I'm getting at that would be great.

Skittle 1.pngSkittle 2.png

2 REPLIES 2
AbhinavJoshi
Responsive Resident
Responsive Resident

Hello @AutismRunner296. You can either merge these tables in Power Query M using the Primary - Foreign key or the key that is in common. The best option is to create a relationship between these two. To do that, navigate to Model View. Once you are there it will show your tables, in the top bar click on Manage Relationships. Once there try clicking on Autodetect and see if Power BI joins them correctly for you. If it didn't work, click on "NEW" and  join them manually again using the Primary - Foreign key or the key that is in common. Once you have selected the tables, ensure to set the cross filter direction to both, this ensures you can filter both the tables in vice versa order. I hope it helps! 

AbhinavJoshi_0-1690305017076.png

AbhinavJoshi_1-1690305074412.png

AbhinavJoshi_2-1690305155124.png

AbhinavJoshi_3-1690305182896.png

 

 

AutismRunner296
Frequent Visitor

Looking at it a bit more, it's quite possible I have over complicated the excel tables. The point here is to use Power BI to do the magic, not in Excel and then try and use Power BI to decipher it.

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.