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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.