Forum Discussion
Web Data Source Limitations?
bcharlto,
You can add a new blank query, then paste the code in the Advanced Editor of the blank query. Replace the URL with your own URL. In addition, is there any possibility that you get limited data by adding required parameter in the URL?
let
Source = Json.Document(Web.Contents("URL", [Timeout=#duration(0,30,0,0)]))
in
Source
Regards,
Lydia
Anonymous,
Thank you for showing how to load into a blank query. This part worked. It loaded (588K Rows), I converted it to a table, expanded the 14 columns and all was well... until I hit refresh and got an error.
Refreshed in Query Editor:
DataSource.Error: Web.Contents failed to get contents from 'URL' (500):
Details:
DataSourceKind=Web
DataSourcePath=URL
URL=URL
I backed out the column expansion and the conversion to a table and it refreshed properly again. I then converted back to a table, expanded columns, closed query editor, and hit refresh, getting the error below again:
DataSource.Error: Web.Contents failed to get contents from 'URL' (502): Bad Gateway
What do you think? I still can't believe my colleagues in the US are not having this issue...
- Anonymous8 years agoNot applicable
bcharlto,
The above error could occur when you return too much data from the data source. I would recommend you import the reuqired rows and columns in Power BI Desktop.
There is also a similar blog for your reference.
http://blogs.catapultsystems.com/cfuller/archive/2017/09/07/how-to-configure-power-bi-to-regularly-update-data-from-an-upgraded-log-analytics-workspace/
Regards,
Lydia