neuhofmo
7 years agoRegular Visitor
Status:
New
Automatic refresh error when using VSTS.Feed with a parameter
Hi, While easily refreshing and updating on power BI desktop, refresh doesn't work for a dataset/dashboard with a parameter in the VSTS.Feed URL. While this query *works*: let VSTSNonInfo = VSTS.Feed(...
arsaveli
7 years agoHelper I
You are correct in your research - powerbi.com prevents certain modifications of queries like these.
There are some workarounds for web.contents function here:
However i don't believe this trick works with odata as-is. You should use OData.Feed function (instead of VSTS.Feed) and then do the folding in desktop designer, i.e. start with complete /WorkItem list like so:
OData.Feed("https://myproject.analytics.visualstudio.com/WCDProd/_odata/WorkItems?$select=WorkItemId,Title")
And then filter the column in query designer - this will add the parameter to your query programmatically and you may be able to modify it at runtime.