Forum Discussion
Combine power query output table with manually maintained column in one excel table
- Jan 22, 2021
Zdenek_Moravec Not too long ago, similar questions came up on this forum. Both were responded to by
Thought the technique to do this would come in handy but didn't think it was very straight-forward. So, I created some kind of tutorial for myself, writing the process down step-by-step. And it includes a working, tough very simple, example. See attached.
Zdenek_Moravec Not too long ago, similar questions came up on this forum. Both were responded to by
Thought the technique to do this would come in handy but didn't think it was very straight-forward. So, I created some kind of tutorial for myself, writing the process down step-by-step. And it includes a working, tough very simple, example. See attached.
- acematsJan 05, 2024Copper Contributor
Hi Riny_van_Eekelen, I am running into what I'm sure is a dumb mistake but I can't figure where I'm going wrong - I'm attempting this process but keep ending up with 3 tables instead of two when trying to follow your steps
1. "Create First Table (Source)" - Table 1
2. "Query it and load to...name (Source_2)" - Table 2
3. "Query table (Source_2), now including Notes" - Table 3
It seems that following the process I should only be ending up with two tables Source and Source_2, but again I keep ending up with 3 - Any help would be appreciated, thanks!
- Riny_van_EekelenJan 06, 2024Platinum Contributor
acemats Difficult to help without seeing what you are doing. Can you share a link (Onedrive or similar) to you file?
- TdotnotbotMar 04, 2022Copper Contributor
I am a bit of novice but am able to follow. In your example, both sources are existing tables. Is it possible to replicate this if the original source is a file in a folder?
- Riny_van_EekelenMar 04, 2022Platinum Contributor
TdotnotbotThis relates to a rather old post and I believe it relates to connecting to one source and then adding information to it manually, and keep it synchronised with the original source data. It doesn't really matter where the original file sits. What exactly are you looking at?
- TdotnotbotMay 02, 2022Copper Contributor
Below is a sample of the code following what I believe to be step-for-step as per instructions. When files are added and refreshed to the source folder, the manually updated rows remain in the same position in the workbook. Thank you for any help you might offer. This is driving me insane.
- SergeiBaklanJan 22, 2021Diamond Contributor
Riny_van_Eekelen , I modified a bit, hope self-explainable
let Source = Excel.CurrentWorkbook(){[Name="Source"]}[Content], Source3 = Excel.CurrentWorkbook(){[Name="Source3"]}[Content], SourceColumns = Table.ColumnNames(Source), SourceColumns3 = Table.ColumnNames(Source3), FirstTime = List.ContainsAll(SourceColumns, SourceColumns3), Return = if FirstTime then Source else Table.Join( Source, SourceColumns, Source3, SourceColumns ) in Return
Another table in your file.
- FranzVergaJun 09, 2023Copper Contributor
SergeiBaklan I didn't understand the use of the third table and how does it integrates with the rest of the solution...
- SergeiBaklanJun 09, 2023Diamond Contributor
Please ignore. That was attempt to use Table.Join() instead of Table.NestedJoin(). But the former not always returns correct result.
- Riny_van_EekelenJan 23, 2021Platinum Contributor
SergeiBaklan Nice!!
- Zdenek_MoravecJan 25, 2021Brass Contributor
Hello Riny_van_Eekelen and SergeiBaklan
Your solutions are already an Excel University, but it is understandable and it really works 😉
Thank You very much!
Zdenek Moravec
Cesky Krumlov, Czech Republic