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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
bo_afk
Post Patron
Post Patron

Table join - multiple columns

I have two tables joined together on 3 columns

1. Market

2. WeekNumber

3. Division

 

Using the columns from one table only, I'd like to filter the data for a metric in the other table. However, when I apply the filter, the metric doesn't change. I realised that the data only chages for the column where I've marked the join as "make this relationship active", but i can only do this for one column.

 

How can I filter the metrics based on all 3 columns of the other table?

 

Thanks

2 ACCEPTED SOLUTIONS
v-chuncz-msft
Community Support
Community Support

@bo_afk 

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/composite-primary-key/td-p/307604

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

View solution in original post

Hi @v-chuncz-msft , thanks for the link.

I actually ended up doing something similar by merging the columns I wanted to join and then join the tables on these merged columns.

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@bo_afk ,

I think you want to join on more than one column. Create a concateneated column in both tables like this 

key = Market & "-" & WeekNumber &"-"& Division

and join. 

 

Power BI mutiple joins are there to change relation using userelation. You can check my HR Anaytics blog for that. Link is in signature.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
v-chuncz-msft
Community Support
Community Support

@bo_afk 

 

You may take a look at the post below.

https://community.powerbi.com/t5/Desktop/composite-primary-key/td-p/307604

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

Hi @v-chuncz-msft , thanks for the link.

I actually ended up doing something similar by merging the columns I wanted to join and then join the tables on these merged columns.

vivran22
Community Champion
Community Champion

Hello @bo_afk ,

 

You need to create measures by using dax : USERELATIONSHIP

 

This will help you to filter your visuals accordingly.

 

If you could share the sample data along with expected results, then we could provide a better solution.

 

Cheers!
Vivek

If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Connect on LinkedIn

Hi @vivran22 , thanks for your response.

 

Could you kindly walk through how I'd use this?

vivran22
Community Champion
Community Champion

@bo_afk 

 

Is it possible for you to share the sample data file? It will help in creating specific solution in this context

 

Cheers!
Vivek

https://www.vivran.in/
Connect on LinkedIn

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.