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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
schultzr
Frequent Visitor

SQL Statements for Postgres Database Connections (DirectQuery)

I have been trying to query a table from a Postgres database using DirectQuery to gather multiple columns within a single function, however I am only able to pull one column per function. If I attempt to pull more than one column per function we get clickable error in each row stating "We don't support CLR type 'System.Object'".  Has anyone else had this issue?

1 ACCEPTED SOLUTION
v-xinruzhu-msft
Community Support
Community Support

Hi,
Thanks for the solution @mh2587  provided, and i want to offer some more information for user to refer to.

hello, @schultzr , based on your description, as @mh2587  mentioned, you need to check if your data types are not support in power bi Desktop, you can refer to the following link about the support type in power bi desktop.

Data types in Power BI Desktop - Power BI | Microsoft Learn

If the information above cannot meet the requirement, you can refer to the following link.

c# - System.Object type which is not supported by PBI (Power BI)service - Stack Overflow

 

Best Regards!

Yolo Zhu

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

View solution in original post

3 REPLIES 3
v-xinruzhu-msft
Community Support
Community Support

Hi,
Thanks for the solution @mh2587  provided, and i want to offer some more information for user to refer to.

hello, @schultzr , based on your description, as @mh2587  mentioned, you need to check if your data types are not support in power bi Desktop, you can refer to the following link about the support type in power bi desktop.

Data types in Power BI Desktop - Power BI | Microsoft Learn

If the information above cannot meet the requirement, you can refer to the following link.

c# - System.Object type which is not supported by PBI (Power BI)service - Stack Overflow

 

Best Regards!

Yolo Zhu

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

mh2587
Super User
Super User

Check your data types this might creating the issue


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



I have verified data types and I can bring in any column, but only individually for some reason. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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