1

I need to connect powerquery to a postgres database in order to clean and have automated access to the data for excel reports.

I've tried: Get Data - From Database - From PostgreSQL database

This tells me I need npgsql, which takes me to github. However I'm not sure how to install that from github. I downloaded the zip file but I don't know what to do to install it on my computer.

I've also searched google and youtube, which I thought would definitely give me the answer, but no luck so far.

1
  • Could you provide more information? NpgSQL should already be part of your Powerquery install (unless you installed Power BI before 2019). Then you will also need to use a gateway. Commented Feb 26, 2024 at 16:05

1 Answer 1

0

You need to install msi package of Npgsql which installs npgsql assemblies to GAC. Currently (2024-05-17) this seems to be the latest release of npgsql with such an msi package:

https://github.com/npgsql/npgsql/releases/tag/v4.0.13 (2022-06-19)

points to https://github.com/npgsql/npgsql/releases/download/v4.0.13/Npgsql-4.0.13.msi

Please make sure to enable GAC option in installer.

Documentation: https://www.npgsql.org/doc/installation.html#windows-msi-installer

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.