Forum Discussion
Dwivedi15
Helper I
1 year agoSyntax issue while connecting SQL server
After doing a direct query on a database : -- POPULATE PROJECT REFERENCE AND TOTAL WATER OFFERED -- WITH WaterOffered AS ( SELECT Project_Reference, SUM(Water_Total_AV) AS Total_Water_Offer...
- 1 year ago
Remove ; at the end of your query
Anonymous
1 year agoNot applicable
Hi Dwivedi15
Thank you for reaching out microsoft fabric community forum.
Not all SQL expressions are supported in power bi, they may load an output while previewing but they wont load into Power BI and will always generate an error
Common table expression is one of those queries which are not supported by power bi.
We have to work around this limitation
Thanks and regards