Power BI Parameter Error - Invalid URI: The hostname could not be parsed
Today I encountered an issue in Power BI where a user was building a dashboard from a template I had created. The template has a single parameter, which is the full path to the exported .csv file. Several people have successfully used the template, but one user kept hitting the following error.
DataFormat.Error: Invalid URI: The hostname could not be parsed.
The user had supplied the full path to the .csv file with quotes surrounding the full path (Example: "C:\Folder\File.csv"). By removing the quotes, the template worked as expected.
This was the first time I've encountered this error message, which is quite easy to stumble upon if you are using the Shift + Right-Click "Copy as path" functionality in Windows Explorer, as this includes the quotes that led to this issue.
Hope this helps,
Sam Lester (MSFT)