Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello, Can anyone help me figure out why Power Query is moving the clause of my api string to the end?
Example:
I type: Web.Contents("https://api-domain.com/v1/active?licenseNumber=123",[RelativePath="&ID="&[Id]])
It returns and Error Data Path that is: Data Path = https://api-domain.com/v1/active&ID=abc?licenseNumber=123
Solved! Go to Solution.
Please try using the Query term of Web.Contents instead as follows
Web.Contents("https://api-domain.com/v1/active",[RelativePath="&ID="&[Id], Query = [licenseNumber="123"]])
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi @prill2ta ,
Please try the method @mahoneypat provided.
In addition, some documents for reference:
Power BI Relative Path Fix for Web Contents Dataset Refresh Errors In Power BI Service - YouTube.
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Please try using the Query term of Web.Contents instead as follows
Web.Contents("https://api-domain.com/v1/active",[RelativePath="&ID="&[Id], Query = [licenseNumber="123"]])
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.