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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Ibu
Frequent Visitor

Appending web service query results to past query results

Given a web service that returns "current" values such as this:

 

... on 1/1/2023

ProductIDPrice
15.00
217.00

 

... and later on 1/5/2023

ProductIDPrice
16.50
217.00

 

Is it possible to append this data to a table keeping track of historical values, like this? :

DateProductIDPrice
1/1/202315.00
1/1/2023217.00
1/5/202316.50

 

The web service only ever returns current values, and I'm looking to merge the latest data in the data model on each refresh.

 

I wonder if a separate process is needed to query the web service and dump the response to a file (~1 per refresh/day), which Power Query would then read. This would allow rebuilding the historical table should the Power BI data source ever get deleted, though it isn't a strict requirement and I would rather have a simple solution contained within Power Query.

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Power BI has no memory, and no concept of global variables. You need to do that in the upstream system.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Power BI has no memory, and no concept of global variables. You need to do that in the upstream system.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors