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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello Power-Query Community,
I want to innerjoin the distinct values from two columns from two tables (queries) in one single step in Power Query as a new table (query). Can this be done?
Table 1
| Target Column | Random Column 1 | Random Column 2 |
| 1 | d | b |
| 1 | q | d |
| 2 | b | d |
| 2 | d | b |
Table 2
| Target Column | Random Column 1 | Random Column 2 |
| 1 | f | h |
| 1 | k | e |
| 2 | g | f |
| 2 | g | h |
| 3 | w | r |
| 3 | f | v |
Expected Results Table
| Result Column |
| 1 |
| 2 |
I already tried something like:
= Table.Join(
Table.Distinct(Table1,{"TargetColumn"}),
Table.Distinct(Table2,{"TargetColumn"}),
"Expected Results Table",
JoinKind.InnerJoin
)
Can someone guide me into the right direction?
Many thanks in advance.
Solved! Go to Solution.
=Table.FromColumns({List.Distinct(List.Intersect({Table1[col],Table2[col]}))},{"Result"})
thank you!
=Table.FromColumns({List.Distinct(List.Intersect({Table1[col],Table2[col]}))},{"Result"})
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 16 | |
| 14 | |
| 12 | |
| 7 | |
| 6 |