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
nhtlr97
New Member

Adding a Row with "Snapshot" of current data every Friday

Hello all,

 

I have been researching and unable to find a way to do this, but feel free to link solutions if I've missed any!

 

I have data coming from an API that is updated and overwritten every 5 minutes. I have analytics, graphs, calculations, etc based off this data. I do not have historical data, but I need to take a "snapshot" of current data (total devices online, offline, installed, etc) every Friday so I can use this data for an on-going line graph showing progress of installations and such for Project leads.

 

I was hoping to use dax formula to build a new table, and then if current day = friday, add new row to table with "Date, Online, Offline, Installed" placed statically. And then I could just point my graph to that new table to see data overtime moving forward.

2 REPLIES 2
v-shex-msft
Community Support
Community Support

HI @nhtlr97,

AFAIK, current power bi does not include to cache historical data features. You may need to use external tools to get data and backup history records.
Then you can use power bi to get data from the raw datasource and the backup datasource to do historical data analysis.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Hariharan_R
Solution Sage
Solution Sage

Hi @nhtlr97 

   Power BI changes your table data whenever do you refresh. if there is change in the source table those changes only will be available in Power BI. It will not store the previous data (snapshot).

You need to build a custom logic to take the snapshot of the data and store it and then use it in Power BI again.

Ref- https://radacad.com/scheduled-snapshot-of-the-power-bi-data-and-report

Thanks

Hari

Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


My Blog :: YouTube Channel :: My Linkedin


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.