Forum Discussion
NickzNickz
2 years agoHelper IV
Query Token Literal Expected Error
Hi ... I have reciece an error as below. How can i resolve the error ... let
//Get list of files in folder
Source = Folder.Files("imagas_path"),
//Remove unnecessary colu...
- 2 years ago
Hi NickzNickz ,
Thanks for the information you have given.
After analysing the code you provided, we found that in the statement "ConvertOneFile = (InputRow as list) =>", ">" means ">" in HTML but it does not work in M language. This is probably a transcoding error that occurred during the copying of the code.
The corrected line of code should read:ConvertOneFile = (InputRow as list) =>In addition, we recommend avoiding the use of multiple "let... in..." .
Hope it helps!
Best regards,
Community Support Team_ Joseph JiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Fowmy
2 years agoSuper User
NickzNickz
It seems, you have use => here the correct syntax should be
ConvertOneFile = (InputRow as list) =>