Forum Discussion
Anonymous
3 years agoNot applicable
Power shell and [Expression.Error] 2 arguments were passed to a function which expects 1
Trying to create a automation flow for a scheduled refresh where data is getting fetched from Sharepoint Lists and later unpivoted in Power Query (which is working fine). In order to refresh the exce...
v-yalanwu-msft
Community Support
3 years agoHi, Anonymous ;
The error code means that it need two parameters in one function.
In powershell we don't use commas to separate arguments. Each argument is separated by space in PowerShell.
How do I pass multiple variables to a powershell function? - Stack Overflow
2 arguments were passed to a function which expect... - Microsoft Power BI Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.