Forum Discussion
Anonymous
4 years agoNot applicable
M query Expression.Error: Illegal characters in path when using parameters into File.Contents
I'm trying to use a parameters in Power BI M query to open a file File.Contents(paramfolderName & fileName) paramfolderName : Parameter in Power BI-> C:\Temp\ fileName: a text value from a query -...
ImkeF
Community Champion
4 years agoAgree, that looks strange.
Try the following:
File.Contents(Text.Clean(paramfolderName & fileName))