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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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

hello, @Anonymous , 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
Anonymous
Not applicable

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

hello, @Anonymous , 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



Anonymous
Not applicable

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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