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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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])
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 17 | |
| 11 |
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 41 | |
| 36 | |
| 32 |