Power Query MERGE Challenge Solution - DUPLICATES Alert

preview_player
Показать описание
⏬Expand to see solution files⏬
Merging tables in Power Query can be risky, so here's a way to add a warning to your output table

00:00 Intro
00:20 Recap
02:30 Solution

See my solution file and everyone's submissions

Connect with me

Did you know I've written a book "Power BI for the Excel Analyst"?
Рекомендации по теме
Комментарии
Автор

Hi Wyn, This is very useful to me as I work with many ad-hoc spreadsheets that cannot always be checked for duplicates before loading into PQ. Thanks again. Andrew

andrewsinha
Автор

Thank u SenSei. I spent a whole morning trying to figure out how to fix it!!

Soulenergy
Автор

i am a beginner with power query and this is very helpful. thankyou for sharing your solution

shamafirdos
Автор

Loved your use of Table.FromList (with the optional columns parameter) - I've been using #table() up until now, but the downside of that is having to provide values for each column ... 🙂

Mister_Bates
Автор

This is a nice solution, will be interesting to try with larger datasets and multiple joins and whether it can use native query. One small thing, filtering <> 0 will falsely report rows with no matching value in the joined table (possible with left outer join) as duplicates, better to use > 1.

ryan_haigh
Автор

This one is absolutely a brilliant piece and hatdcore nerdy, but very useful!!!!🔥🔥🔥

mandypaulissen
Автор

Thank you, always something new to learn from you!

alexbarbucristi
Автор

This is great. However not able to overcome duplicate, since my database is huge, and there is no unique identifier available.
I merged using three different columns, which is po number, Sty code and colour codes.
Each one having multiple rows based on colour code and quantity

shreedharan.moorthy
Автор

Hello Sir,
I have a historical table and Another table is Delta table which have rows that comes daily.
now it wants to upsert that delta table match each row with historical table and when it matches then update it with delta rows and if match not found then insert the rows.

shwetkumar
Автор

Very elegant solution. Would you buffers for duplicate check to speed up the query?

Bhavik_Khatri
Автор

Spins in my head, really😂😂😂 but I think it's great!

ohdjrp
Автор

What was the purpose of calculating the Max? I don't think you made use of this later.

brianxyz
Автор

How to marge tow tables, base on customers latest visit date.

rameshnaidu
Автор

Great video! But what if you wanna have that "alert" written on certain rows but still showing the rest of results?

mirrrvelll
Автор

I see the merge showing me the first instance always just like vlookup in excel So i am not sure if this issue is fixed or am i looking in the wrong place? For eg if i have A as Apple and another entry with A as avacado, merge is always showing A as apple and its not doubling up after merge.

vijaykrishnan
Автор

Nice solution, albeit a bit predictable.
And yet, it’s the unexpected that’s the most fun: those extra arguments in Table.FromList.
BTW, here’s how I make intellisense work: before I start typing the name of a function, I type an opening parenthesis (“(“), then arrow left and start typing the function. Then it works perfectly. Give it a try. :-)
Cheers.

GeertDelmulle