From the course: Excel Power Query Tips and Techniques
Merge queries as new
From the course: Excel Power Query Tips and Techniques
Merge queries as new
- [Narrator] We've got these two queries: categories and transactions. Take a look. All right, there it is. Now I want to merge these two, and we're going to do a merge queries as new, but first I'm going to show you something really cool that's brand new in Power Query. Look at this. I want to merge the R-R one, the L-C five. That's what we're going to merge. I want to peel this out before your very eyes. We have to go to split column. And where does it change? It changes at the digit to non-digit. So this is the selection. Ooh, ooh, ooh, wasn't that beautiful? All right, so that is what we're going to merge. Now, merging queries as new means I want to end up with a third query. If I just did a straight merge from here, it would merge categories with the transactions query. I don't want that. I want to have a third query in the end, so let's go ahead and do that combine. Merge queries, merge queries as new. I want to merge transactions with categories. Match these columns, and I want to do a left outer join. Okay, there is the merge. Let's expand, don't use this, and okay. Here is our data merged. Now we have the third query, and our original data is still available to us if we have to do more with those.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Navigate to new source1m 53s
-
(Locked)
Change load-to destination1m 10s
-
(Locked)
Reference a query4m 9s
-
(Locked)
Duplicate a query: Recycling47s
-
(Locked)
Duplicate a query vs. reference a query2m 37s
-
(Locked)
Delete steps until the end32s
-
(Locked)
Cross join: Matching everything with everything2m 29s
-
(Locked)
Rename queries1m 35s
-
(Locked)
Copy and paste queries to a new workbook1m 40s
-
(Locked)
Merging and segmenting data: Anti-join2m 41s
-
Merge queries as new1m 51s
-
(Locked)
-