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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Jan_Hob
Helper I
Helper I

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors