Forum Discussion
Unable to refresh Dynamic Data Sources
- 5 years ago
There you go. Always try to keep best web.contents best practices made by Chris Webb. You can check an example here:
https://blog.ladataweb.com.ar/post/630597294839955456/powerquery-buena-práctica-para-un-web-request
If you change your function like this, it should recognize the data source. Be sure to make all data sources with the same privacy levels (it's recommended to use organizational)
(PageStart as text) => let Source = Xml.Tables(Web.Contents("https://bioguideretro.congress.gov/", [RelativePath= "Static_Files/data/"&PageStart&".xml"])) in SourceI hope that helps.
Hi. I don't think there is a problem with that xml. That should work pretty good. Can you show us the function fxBIO() ? that one is the responsable for the issue.
Let's see if we can find a solution together
- Anonymous5 years agoNot applicable
This is the function. We used it to make the text look better in the report.
(PageStart as text) => let Source = Xml.Tables(Web.Contents("https://bioguideretro.congress.gov/Static_Files/data/"&PageStart&".xml")) in SourceThis is the error I get in the service. I have narrowed the refresh problems down to the XML queries. I really do appreciate your help!!
You can't schedule refresh for this dataset because the following data sources currently don't support refresh: Data source for Query1- Anonymous5 years agoNot applicable
Thanks!! It appears to be working. I am going to schedule a refresh to run in about 30 mins to make sure the auto refresh works and will reply back to the thread. Thank you so much!
- Anonymous5 years agoNot applicable
Scheduled refresh worked perfectly! Thanks!!