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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I want to merge 2 queries. The first query contains sales data with details like Qty, Value, Sales region, Product Code, etc.
The second query is a shorter list, contains discount offered, region wise and Qty wise.
The new query should have the first query as it is and should have columns in front of it matched to the sales data. For eg- sales data from query 1 matched to discounts offered in that region from query 2.
Basically, I want 5 matching criterias instead of 1. And the query 2 should repeat infront of query 1.
(Like using VLOOKUP in excel between queries)
Thanks!!!
Solved! Go to Solution.
Hi @Anonymous
You can select multiple matching columns by selecting Ctrl key as you select the columns. When you do so, the order in which the columns were selected is displayed in small numbers next to the column headings, starting with 1.
In below sample, first select the Name column in the Table1 table, click and hold on Ctrl key, and then select the Date column. (This will show the small numbers in the column headings.) Next, perform the same selections in the Table2 table. The following image shows the result of selecting those columns.
You can refer to this article for more guidance: Merge queries overview - Power Query | Microsoft Docs
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
In Power Query you can create merge using multiple criteria (CTRL + left clic)
Hi,
I am not able to create a power query. Can you explain the process in a little detailed manner? Thanks 🙂
Hi @Anonymous
You can select multiple matching columns by selecting Ctrl key as you select the columns. When you do so, the order in which the columns were selected is displayed in small numbers next to the column headings, starting with 1.
In below sample, first select the Name column in the Table1 table, click and hold on Ctrl key, and then select the Date column. (This will show the small numbers in the column headings.) Next, perform the same selections in the Table2 table. The following image shows the result of selecting those columns.
You can refer to this article for more guidance: Merge queries overview - Power Query | Microsoft Docs
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Can you send some data I will give you a power bi file ?
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.