Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Appending Data to a query to a previous query from the same table

I'm trying to build a report that relies on a csv export from a specific web app.

The report coming from that web app only provides data for the last 6 months.

The CSV file is always stored at the same location under the same name, this allowed me to query this file while still allowing this data to be overwritten. The result looks similar to the below:

 

Table A

MH5_1-1652452133967.png

 

The file that has the query then takes the data and puts it through a workflow. The resulting data is then queried within the same file to create a transformed table. 

Table B

MH5_2-1652452182800.png

 

The challenge is then this, Table A is the result of an export of data that only provides me with a section of the data actually needed

Table B is a query on Table A for columns A and B.

Table A as a result of the export can change as the fields in the web app can be changed, for example, for ID 3, Column B or D could be updated with a new value.

When refreshing the queries in the file, Table A should update and replace all previous content in that sheet. Table B should retain any pre-existing rows and only update with the newly added IDs from Table A. Table A has a column added with a vlookup for the ID into Table B. This allows me to filter out rows that already exist in Table B.

 

The problem is that because Table B is populated with data from Table A, and the source data for Table A only pull the last 6 months' data, Table B loses information that needs to be retained, but the additional columns also no longer match up with the correct data in column A and B.

 

Is there anyway I can use Table A to grab the rows for the IDs that do not exist in Table B and insert them into Table B while leaving the rest of the rows in Table B unchanged?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Thanks Admin,

Using the prior threads I was able to identify https://www.thebiccountant.com/2016/02/09/how-to-create-a-load-history-or-load-log-in-power-query-or... as a working set of instruction to achieve the required results.

View solution in original post

2 REPLIES 2

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors
Users online (9,346)