Forum Discussion

WalmZ's avatar
WalmZ
New Member
3 years ago
Solved

Get data from source, save that data to a table each day, retain records that have been deleted

Hi all, This is my first time posting on this forum. I have seeked help and come across this platform as I have been trying for several days to get my head around something I am trying to do, to n...
  • BA_Pete's avatar
    3 years ago

    Hi Lee,

     

    Power Query is not a data warehouse and is not designed to retain data beyond its immediate use.

    The PQ refresh process works like this:

    Wipe all data > Import available data from source > Perform transformations > Push to Data Model.

    As such, there's no function to create and retain history/archives of changing source data.

     

    The closest native function (within the Power BI universe) would be Incremental Refresh, which comes with its own significant caveats:

    https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-overview 

     

    Beyond this, you will need to arrange some kind of data warehousing or storage capability at your end to keep the history that you can then query with PQ.

     

    Pete