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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
clayhs
Frequent Visitor

Persist Data Snapshot for Historical Trend Analysis

I am attempting to persist calculated data in my Analysis Services Model as snapshots for historical trend analysis in PowerBI. It seems like this my not be doable but am hoping a potential workaround can be found. Ultimatly I am trying to avoid having to export data out of the data model for storage.
Below is a breakdown of what I'm trying to accomplish.
1. Calculated table provides current snapshot of data used in our current day reporting. Calculated values are highlighted.

Picture1.png

2. Since calculated values change as the underlying data updates daily, we need to save a snapshot of those values on a regular basis (weekly).
3. This current snapshot data would then be moved to a Historical table, with future weekly snapshot data appended to the now static historical snapshot data.

Picture2.png

2 REPLIES 2
v-yiruan-msft
Community Support
Community Support

Hi @clayhs ,

I'm not sure if I understand your requirement... Do you want to copy the "old" daily data into Historical table in Power BI? I'm afraid it can't be achieve in Power BI as Power BI can turn the source data into coherent, visually immersive, and interactive insights.  Which data source these daily data comes from? Whether we can consider to insert these old daily data into a historical table from data source side?

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply. In a nutshell what I want to do is to take a snapshot of my calulated values so
1. They will no longer change when the underlying data they are calculating from changes
2. I can use those snapshots to see historical trends in how my data is changing.

While I can of course export that snapshot data back into my source database it would be much easier and preferable to somehow store that calculated data in the data model itself (due to other factors of the project I'm working on there would be a number of other moving pieces that would make exporting into the database extra complicated). 
Think something along the lines of incrimental refreash where old data is not refreashed/reprocessed and only new current data is appended to the dataset. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.