Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi
I'm getting the syntax error "Token ')' expected" when declaring two input variables for Power Query. I'm following along to a YouTube video and the code I have matches, but I get this error and cannot see why. This is the function code
Can anyone put me right?
@BiscuitKen , It showing error in the first line itself. What are you trying here ?
In case you are creating a function
https://learn.microsoft.com/en-us/powerquery-m/understanding-power-query-m-functions
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |