Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Greetings,
I'm trying to set up Power BI Embedded with a web page. I am using Postgres and I need to use Direct Query due to the size and volume of data. I have understood achieving this I must, create an ODBC connection to Postgres from Power BI, but I am unable to connect to an ODBC connection with Postgres that would allow me direct query mode. It does not look like the ODBC connector in Power BI supports it.
Can anyone help solve this please as I have spent endless time on forums and anything around this is a few years old or getting pointed to a proprietary customer connector to be used that I am not paying for.
Any help would be greatly appreciated.
Solved! Go to Solution.
I managed to resolve this, for anyone in 2020 reading this, you do not require an ODBC connector to use an On-premise data gateway, the docs say it is not supported anyway. I used the standard Postgres Connector offered out the box, I installed this driver here:
Release Npgsql v4.0.10 · npgsql/npgsql · GitHub
I used the GAC method and everything worked. There is a number of old posts saying you need an ODBC driver or a customer connector and it's false, in my experience.
I managed to resolve this, for anyone in 2020 reading this, you do not require an ODBC connector to use an On-premise data gateway, the docs say it is not supported anyway. I used the standard Postgres Connector offered out the box, I installed this driver here:
Release Npgsql v4.0.10 · npgsql/npgsql · GitHub
I used the GAC method and everything worked. There is a number of old posts saying you need an ODBC driver or a customer connector and it's false, in my experience.
@amitchandak I have the latest version of npgsql and have established an ODBC connection with the SSL installed. I have tried online with other forums and this area seems to be largely undocumented and very difficult to do/work out. The problem with the Power BI ODBC it does not allow for Direct Query access.
Here're the steps I have taken thus far:
@amitchandak Thank you for responding, yes I have Npgsql installed, and I am currently working my way through an SSL install and will try it again, I'll update when I have tested everything and got it installed.
@Anonymous , Make sure Postgresql is SSL enabled
You have installed the latest version of https://github.com/npgsql/Npgsql/releases
and also you need to register SSL certificate with windows. Only then postgresql will work and Direct queru will work with postgresql connector
User | Count |
---|---|
77 | |
76 | |
44 | |
31 | |
26 |
User | Count |
---|---|
97 | |
89 | |
52 | |
48 | |
46 |