Forum Discussion

cip's avatar
cip
Frequent Visitor
4 years ago
Solved

Appending data without replacing data

I know that there are similar posts out there regarding this but I still can't wrap my head around it and would appreciate it if someone can offer help with this.

 

I have a PowerQuery table that extracts JSON data from a web API but everytime the table is refreshed, the latest data will overwrite the existing data.

 

I tried creating another table to append the new data to the historical e.g. PowerQuery table  --appending daily new data 01/02/2022 --> historical data table which contains the data when the table is first created, say 01/01/2022, but when the PowerBI report is refreshed the new data from PowerQuery will replace the previous data appended, meaning I now have 01/01/2022 and 01/03/2022 instead of 01/01, 01/02, 01/03/2022 data.

 

The data set itself contains timestamps but are not in the standard yyyymmdd format (if that matters), and I am not sure if incremental refresh is what I am looking for as I don't need to drop the data that goes past certain historical period/ roll forward the historical period. I have also read that PowerBI is not the right tool at all because it is not created for storing data so some guidance will definitely help if I need to look for something else.

 

Thanks a lot!

3 Replies