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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Jan_Hob
Frequent Visitor

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, @Jan_Hob 

 

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 @Jan_Hob , 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

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?

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, @Jan_Hob 

 

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Power BI Header Change

Power BI Header Update

Read about the exciting updates for the Power BI forum.

Top Solution Authors