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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Aaj_kundli
New Member

Unable to store historical data from api

My api gives me the current date data every time for new date and I want to store the historical data and to add the new current date data.

But while refreshing the data gets overwritten and the past data gets lost.

 

Please share any solution.

 

WEB API:

http://wmsapi.aajenterprises.com/WMSReport.svc/Json/CartonListwithdate?wcode=1&databasename=eswms@20...

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. The problem is that Power Bi is a tool for reading data. If you need to storage data from an api I suggest looking at azure services in order to build a process that takes data and storage it. You can use DataFactory or Azure Functions to read the api and then insert it in a lake gen2 or a database. That way you will save your own historical data that will be consumed by Power Bi later.

Regards,


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

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. The problem is that Power Bi is a tool for reading data. If you need to storage data from an api I suggest looking at azure services in order to build a process that takes data and storage it. You can use DataFactory or Azure Functions to read the api and then insert it in a lake gen2 or a database. That way you will save your own historical data that will be consumed by Power Bi later.

Regards,


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.