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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Not sure what is wrong with this query. Kindly advise.
Thanks all. As mentioned by Greg and V- there was " missing before the select .... so I added that and in the end I also added
created_at", null, [EnableFolding=true])
This resolved the error
Hi @Anonymous ,
Agree with what @Greg_Deckler said, there's a problem with your M code, something is missing here:
If you don't know how to modify your M code, you can try enabling the advanced options when connecting to a PostgreSQL database:
Then, in the SQL statement, put the SQL query you used in the M code into it and connect it.
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks all. As mentioned by Greg and V- there was " missing before the select .... so I added that and in the end I also added
created_at", null, [EnableFolding=true])
@Anonymous Typically that should look like the following:
("localhost", "AdventureWorksDW2022", [Query="SELECT * FROM DimCustomer"])
Thanks all. As mentioned by Greg and V- there was " missing before the select .... so I added that and in the end I also added
created_at", null, [EnableFolding=true])
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 25 | |
| 24 | |
| 16 |
| User | Count |
|---|---|
| 48 | |
| 32 | |
| 17 | |
| 16 | |
| 16 |