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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors