Forum Discussion
Anonymous
9 years agoNot applicable
Parameters for JSON API data - Maintain Query daily
How can I maintain a report from a JSON API service when the JSON URL I am using is parameterized and needs to be updated to retrieve new data. The current working URL I have is Source =...
- Anonymous9 years ago
Hi Anonymous,
Add a new blank query in Power BI Desktop, then paste the following code in Advanced Editor.
let sqltext = (Date as text) => let Source = Json.Document((Web.Contents("https://api.tatts.com/sales/vmax/web/data/racing/" & Date & "/sr/full"))) in Source in sqltext
Then you can input date in the sqltext function to return result of that date. See my example below.
Thanks,
Lydia Zhang
Anonymous
5 years agoNot applicable
in Octber Power BI Server & Power Desktop The Solution works in Power BI Desktop only
Cannot save to Power BI Server after upgrading to Power BI Server October 2020 (Build 15.0.1104.264) not in (Build 15.0.1104.300), Released: January 8, 2021.
Could someone share any workaround to this issue ?