Forum Discussion
Anonymous
5 years agoNot applicable
Error message when loading an SQL query with CTE
Hi all, I have prepared an SQL query with two Common Table Expressions in it and I need to load it into PowerBI Desktop. When I try to do it the system gives me the following error message: "...
parry2k
5 years agoSuper User
Anonymous maybe add ; before WITH and then try.
Check my latest blog post Year-2020, Pandemic, Power BI and Beyond to get a summary of my favourite Power BI feature releases in 2020
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- Anonymous5 years agoNot applicable
Hi parry2k ,
Thank you for your suggestion! Now it shows the following error message:
" Microsoft SQL: Incorrect syntax near ';'. Incorrect syntax near ')'. "