Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi , Im new in PowerBI an i have a problem
I want to join two tables.
The Product ID column is identical in both tables and contains almost 128 Product IDs, each of which is assigned 8 UserIDs and 8 Reviews IDs. I want to join them so that I always have 8 Product IDs, 8 UserIDs and 8 ReviewIDs next to each other.User ID
Review ID
But if I now perform an InnerJoin and select both ProductIDs as the matching column, and then expand the column. Then it assigns 8 different reviews to each User ID.
So after expanding, I have 64 times the same Product ID, with 8x 8 User IDs, each with 8 different Review IDs.
After Join
How can I make it so that the columns are simply linked together without it doing this multiple allocation?
Solved! Go to Solution.
Hello again @Schreckofant, you can even use this code. Create blank query, open Advanced editor and replace whole code with this one:
let
Source = Table.FromColumns(Table.ToColumns(UserID) & Table.ToColumns(ReviewID[[ReviewID]]), Value.Type(Table.FirstN(UserID,0) & Table.FirstN(ReviewID[[ReviewID]],0)))
in
Source
Ok, thank you :).
Is there a way to add this column exactly as it is, which would be easy in Excel, but seems impossible here.
Hello @Schreckofant ,
You can make relationships with data modelling instead of join in Power Query. However, you made data modelling and put the columns that are product_ıd, user ıd and reference ıd, you will get same results. You need more column that needs to be joined.
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
Hello @Schreckofant ,
You joined only one spesific column which is product ıd. Therefore, in User ID for example for product ıd "...4JI" that have eight different User ID. For Revıew table again same "...4IJ" that have eight different reference ID. When it matches only Product ID they both have eight different value for user ıd and reference ıd so that will be 64 row for only "...4JI" But, assume that you have also user ıd in your review table. and joined both product id and user id, you will get different result.
You can reference this link:
https://www.geeksforgeeks.org/sql-join-set-1-inner-left-right-and-full-joins/
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.