cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RW0711
Helper I
Helper I

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

@RW0711 

 

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

@RW0711 

 

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

Hi, Thanks for taking a look!

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

RW0711_0-1670497027414.png

 

NikhilChenna
Continued Contributor
Continued Contributor

Hi @RW0711 , 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!

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

 

 

 

@RW0711 

 

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
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors