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 II
Resolver II

@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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.