Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Direct Query and PostgreSQL

Hi

 

I have connected to a PostgreSQL database using an ODBC connection. However I now want to connect a single table direct query. Is it possible to do this in any way?

 

Many thanks in advance

1 ACCEPTED SOLUTION

Hi, @Anonymous 

 

You may have to use npgsql then use powerbi connector to achieve dq mode.

vjaneygmsft_0-1651114582942.png

Reference:

Power Query PostgreSQL connector - Power Query | Microsoft Docs

 

Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.

Best Regards,
Community Support Team _ Janey

View solution in original post

7 REPLIES 7
kashishmatta1
Frequent Visitor

Hi @Anonymous , I am in a same situation, can you please help if you were you able to find a solution for this? I am getting below error while Configuring credentials on power bi services. I am able to connect it in desktop (using Direct Query mode) but can't connect it on services.
error.PNG

Anonymous
Not applicable

Hi @kashishmatta1 Sorry I abandoned this so can't be of any assistance

brandon061017
Frequent Visitor

Same question here! Documentation says supports Direct Query/Live, but can't find any way to do it. Everyone says to do it in the service, you have to use ODBC which doesn't support direct query. Any assistance greatly appreciated. Thanks!

None of these links work. They highlight issues and show the ODBC solution, which doesn't support direct query) as well as one hosted on AWS. On the microsoft documentation it says postgresql itself (standard connector) can be done in direct query mode. Is this not possible in the service?

Anonymous
Not applicable

Thank you. I have already looked at those sources and cannot find any reference to direct query. I am hesitant to switch to npgsql unless it will guarantee that I can then do direct query.

Hi, @Anonymous 

 

You may have to use npgsql then use powerbi connector to achieve dq mode.

vjaneygmsft_0-1651114582942.png

Reference:

Power Query PostgreSQL connector - Power Query | Microsoft Docs

 

Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.

Best Regards,
Community Support Team _ Janey

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.