Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Attempting to create Historical Data Table

Currently I have a table in power BI that pulls in from a SQL server, it only pulls the last 30 days of data because that is all that is stored on the server. I want to be able to build a simplie his...
  • MNedix's avatar
    2 years ago

    Look for appending queries. You can either 1. generate daily data to be stored on an OneDrive or Sharepoint, then import it in PowerBI, then append the new query to the existing one or 2. via Direct Query perhaps (never done it though).

  • danextian's avatar
    2 years ago

    hi Anonymous 

    The data being fed into Power BI is the data from the source. If your data doesn't have the records from beyond 30 days then Power BI won't have it as well.  That being said, you must build a source that has the data you need. Alternatively, if you're in a Fabric SKU you can use dataflow Gen2 that allows data to be appended to the result of the previous runs  instead of replacing them but for your use case and for a very simple table, I would just build that historical source data.