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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
amitchandak
Super User
Super User

Postgresql Direct Query Fails on joined tables

I connected to Postgresql using direct Query. But when I try to get data it errors out. Using the latest version of NPGSQL 4.0.9

Screenshot 2019-08-24 11.05.50.pngScreenshot 2019-08-24 11.06.34.png

5 REPLIES 5
v-xuding-msft
Community Support
Community Support

Hi @amitchandak ,

In my sample, it worked fine. I think the scenario may be caused when you merge queries.  Can you please share some screenshots about the step of merging queries and the results? You could mask the sensitive data.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I added tables and joined them. And they trying to get data. Till the time I get data from one table, it is working. But if I use two tables, it is not working.

@ImkeF, Please suggest.

Anyway to resolve this

I have taken two tables in Direct query mode.

Joined them on Key column.

And then try to run a query where view by/group by is from the first table and agg column from the second tables.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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