Forum Discussion
Append Queries 3 different data sources
- 1 year ago
The short version of the answer is to create a query for each of your data sources, perform all the neccessary transformations to the source(s) so that they can be appended to the others. Set all of these queries so they do not load into the model. Create a fourth query that has the source equal to Table.Combine({yourFirstQuery, yourSecondQuery, yourThirdQuery).
This approach allows you to manipulate each source seperately so that it can be append correctly.
Thank you for the information.
I have done excatly what was told but now only one of the query columns are showing green (working) the rest are not showing information. When i checked query dependencies, it shows the appended is not loaded.
I am newer to Power BI so I apologize if this is basic functions.
Please let me know!
Best,
Daniel
- Anonymous1 year agoNot applicable
In the left pane of the Power Query Editor, right click on the dataset and ensure that Ensure Load is checked
- Anonymous1 year agoNot applicable
Yes it is! the only information showing is the original query I asked to append the rest of the information. the rest is in Null. I have no other errors or anything popping up or showing it is an issue.
- jgeddes1 year agoSuper User
Ok. Let's start from the beginning to see if we can find the issue.
Here is an example...
I have three queries tableOne, tableTwo, and tableThree...If I now create a fourth query using
Table.Combine({tableOne, tableTwo, tableThree})I would end up with...
Now, based on your intial post this is not the result you are looking for.
So if, in each of my source tables, I rename my columns to "first" and "second" the resulting combined query should now look like this...
This works because each of the source tables now have the same column names.
If your result is not similar to the above it could indicate that your column names do not exactly match or the table references in your Table.Combine statement are incorrect.I have attached a pbix file with this example for you to review.