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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
coatsy35
Helper II
Helper II

ODBC Preview Error

Hi,

 

I have an ODBC connection to data for our business systems. When viewing the tabels in Power Query or Power BI quite a few of the tables do not show, they instead show the following error so that I cannot transform anyting in the table etc....

 

coatsy35_0-1727472053670.png

I can load the table fine to excel and all data shows correctly if I don't wish to transform the data. (The one erroring in the picture currently only has 4 rows and 182 columns). I hear mention it might be to do with it trying to create relasionships automatically but I see no options anywhere to turn that off. The actual database has about 400 tables in it of varying sizes.

 

Can anyone shed any light on this?

 

2 REPLIES 2
rajendraongole1
Super User
Super User

Hi @coatsy35 -I think in your power query editor certain tables from your ODBC connection show an error like "The type of the current preview value is too complex to display"—can stem from various factors. Here are some common troubleshooting steps you can take:

  1. Check Data Types: Sometimes, complex data types (like nested structures or very wide tables) can cause preview issues. You might try simplifying the data type or using SQL queries to limit the columns returned.

  2. Disable Auto Relationships: Power BI tries to create automatic relationships based on matching column names, which may lead to issues with some tables. You can disable this feature:

    • Go to File > Options and settings > Options.
    • Under Global > Data Load, uncheck "Auto date/time for new files" if applicable.
    • For Relationships, make sure that "Auto-detect new relationships after data is loaded" is turned off.
  3. Use SQL Queries: Instead of directly pulling the entire table, consider writing a custom SQL query to select only the columns you need, or to aggregate or filter data in a way that simplifies the result set.

  4. Inspect Column Names: If any of your column names are particularly long or complex, try renaming them in the database, as this might help Power BI handle the schema better.

Hope this information and tips helps





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Ok, so if I enter CreateNavigationProperties=false into the advance editor it works fine. However I can't find a way to turn this off either at the driver or on Power BI / excel options so it doesn't do it each time, which is tedious to say the least.

 

At the moment I have to load each table and then edit the query in the advanced editor, below is a picture of my Power Bi settings, there is nothing relating to navigation properties in dataload on either Global or Current workbook, disabling the relationship setting in current workbook does nothing. I assume it can't be done at the driver either?

 

coatsy35_0-1727543504006.png

This is what my advance tab now looks like, whihc works. But I don't want to have to do this for every table

coatsy35_1-1727543652544.png

 

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors