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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors