Forum Discussion

csolutions's avatar
csolutions
Frequent Visitor
7 years ago

Combine last refresh with new data

I might be over thinking this - or the solution just hasn't occurred to me. 

 

I have a data file that pulls pricing by customer and price type. The pricing is entered daily. The ERP system we're using doesn't store the historical price by type. I need to pull this data daily and keep all of the history. I can set up Power BI to do so but I need the historical data to stay along with the new data. My workaround for a similar query was to set up an excel sheet linked to the database that had a macro to copy the table and insert it into another sheet (shifted older data down). I set up a windows trigger to open the file right before the macro event so everything ran automatically. The problem with the pricing file is it's 80K lines and over 30 days it would be 2.4M lines. 

 

Is there a way in Power BI to keep prior refresh data and merge with the new data?

 

2 Replies