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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
When I apply query changes, I'm getting the following error. Microsoft SQL: Incorrect syntax near ';'. Incorrect syntax near ')'.
This is the the power BI query I feel is causing the problem [Query=";WITH FinalEntry#(lf)AS#(lf)(#(lf) SELECT [SessionId]#(lf)
Hi @xskiffman ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Hi @xskiffman ,
Does this query works before? Could you please try to check and change the SQL statement in Advanced Options by click the gear icon near the step which has issue?
Best regards,
I'd look at your SQL code and see if thats been updated. It looks like it starts with ";WITH" Note the semicolon.
I'm wondering if someone has opened up the SQL code and mistakenly either added the ";" by mistake, or accidently overwritten a block of SQL code prior to the WITH statement.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 26 | |
| 23 | |
| 19 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 46 | |
| 46 | |
| 43 | |
| 36 | |
| 31 |