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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

how to merge query from one to many tables without duplication

Hello!

I need to merge table 1 and 2, Table 1 is unique table, Table 2 is many table, how can Table 1's data appear once without duplicate in each row? Thanks in advance!

RW0711_0-1670495369728.png

 

Br,

Ranwen

 

1 ACCEPTED SOLUTION

@Anonymous 

 

That is impossible just with the mergin operation because of the structure of the date. You might want to apply some kind of logic after you have merged the data starting from here:

 

Uspace87_0-1670498325997.png

 

 

 

View solution in original post

5 REPLIES 5
Uspace87
Resolver III
Resolver III

@Anonymous 

 

I don't understand what you want to achive. can you give an example of the final result?

Anonymous
Not applicable

Hi, Thanks for taking a look!

My final output would be table 1 merging table 1 and table2. 

RW0711_0-1670497027414.png

 

Hi @Anonymous , It is simple by using merge option in the Power query editor.

 

Please check out the below link,

https://learn.microsoft.com/en-us/power-query/merge-queries-overview

 

Regards,

Nikhil Chenna

 

Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!

Anonymous
Not applicable

Hello, Thanks for your reply!

Yes, i have tried the merge option, but i dont want to duplicate Table 1 value in the merge table 3. As shown here, "SD document" from Table 2 has two rows, after merged, i wish to have only one row with "Advance value" from table 1. could you help out more? thanks!

RW0711_0-1670498842053.png

 

 

 

@Anonymous 

 

That is impossible just with the mergin operation because of the structure of the date. You might want to apply some kind of logic after you have merged the data starting from here:

 

Uspace87_0-1670498325997.png

 

 

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.