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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

ODBC SQl Query Connection but No Data

Hello,

 

Due to the system limitations, I am only able to use a SQL query with ODBC to connect to the data table. However, only the columns pull and no data generates. Freshing the data doesn't work, reestablishing the connection doesn't work, changing the ODBC bit connection doesn't work, and if I try without the SQL query nothing works. Am I missing something in the query to get the data to populate?

 

= Odbc.Query("dsn=PostgreSQL35W", "SELECT * FROM schema.table WHERE 'reporting_quarter_445' IN ('2018-Q1','2018-Q2','2018-Q3','2018-Q4','2019-Q1','2019-Q2','2019-Q3','2019-Q4','2020-Q1','2020-Q2','2020-Q3','2020-Q4','2021-Q1','2021-Q2','2021-Q3','2021-Q4')")

 

Thanks!

-Christopher

6 REPLIES 6
ThomasMob
New Member

Was the solution found?

 

I have the kind of the same problem:

ODBC connection does work, only the tables/data is not loading.

(to make it even more strange: if I put the datagateway on my personal computer (same netwerk, same settup) everything works well).

Anonymous
Not applicable

Hi @Anonymous ,

 

Have you tried excute the same SQL in database? Is there any data?

 

Best Regards,

Jay

Anonymous
Not applicable

Hello @Anonymous 

 

Thank you for reaching out! Unfortunately, the IT team whom I work with has stated to access the data it is supposed to be the ODBC. 

 

Edit: The reason for ODBC is because the database is Greenplum based.

 

Thanks!

-Chris

amitchandak
Super User
Super User

@Anonymous , I think you have mention Query in advance Property.

AdvanceProperty.png

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Good Day @amitchandak ,

 

You are correct. The Query is in the advance property, but there is no data in the results. I can get a connection and the columns to populate, but none of the information.

 

Below is a screenshot of the advanced options filled out, as you have shown:

thompc16_2-1594660818302.png

 

 

Below is the query showing the columns, but no information in the table (even though there is in the system):

thompc16_1-1594660719075.png

 

Thanks!

-Chris

Hello Chris 
How did you resolve this issue ? Same happening at my end when I connect DELTEK Cloud to Power BI. Only the Schema ( column headers) appear at our end and not the data ?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors