Forum Discussion
urkhan
5 years agoNew Member
Running SQL in PowerBI
Hello Is there a way to run SQL statements directly in PowerBI when connecting with a PostgradSQL database ? Thanks
- 5 years ago
Hi, urkhan
According to my test, you can enter the SQL statement here to execute the specific query when connecting to the PostgreSQL database. But you have to enter the correct database name.
More info about working with SQL database in Power BI Desktop
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
CNENFRNL
5 years agoCommunity Champion
urkhan , I think Value.NativeQuery does the trick.