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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Merging in Power Query

Merge always gives me a headache. 

Situation is:  

I have a table of opportunities with an Opportunity ID.     I have another table, called Quotes, that contains the Opportunity ID as well...but also has the column I need in my Opportunity table, which is, the Order number from our ERP table.   

 

I thought by merging the tables, using the Opportunity ID  with a Left Outer join would give me all my Opportunities in my current table, but then bring in just the Order number from the SF quote table.     I essentially want to match the Opportunity ID from both tables, so that for those Opportunities that have been coverted, the Order number will show up in the new column.  

 

But in doing so I went from 9600 rows in my Opportunity table, to 23000.    Is it possibly a granularity issue?

1 ACCEPTED SOLUTION
vanessafvg
Super User
Super User

have you checked the rowcounts on both tables?     Is it not possible that a customer has more than one quote but then i suppose the opportunity id would be different?  If not check for duplications.  What are you joining on?  best to share some of the data.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Anonymous,

Any update for these? Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

How about use relationship mapping two tables instead of directly merge these tables in the query editor?

For this scenario, you can extract two table id field values and use them to create a bridge table with unique keys to link two tables.

How to Join Many to Many with a Bridge Table in Power BI | Seer Interactive

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
vanessafvg
Super User
Super User

have you checked the rowcounts on both tables?     Is it not possible that a customer has more than one quote but then i suppose the opportunity id would be different?  If not check for duplications.  What are you joining on?  best to share some of the data.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.