March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all,
I'm getting the following error on one of the tables in my database connected via ODBC. Does anyone know what I can do about this? the table explores fine in a ODBC database viewer and I cna't see a wrong character in the column, especially not column 3.
Is there a way I can use adavanced editor to exclude that column and force it to display the table? here is my syntax generated in the advanced editor. Any help appreciated
let
Source = Odbc.DataSource("dsn=Gold001", [HierarchicalNavigation=true]),
PUBLIC_Schema = Source{[Name="PUBLIC",Kind="Schema"]}[Data],
INVOICE_TYPES_Table = PUBLIC_Schema{[Name="INVOICE_TYPES",Kind="Table"]}[Data]
in
INVOICE_TYPES_Table
What's the column type?
it's a TINYINT if it is column 3. the values in it are between -14 and 9 in the current table. It's information out of an ERP system so I can't alter the database or table
Is that SQL Server? On some systems TinyInt cannot store negative numbers, only 0..255 .
Power Query however seems to be just fine with it
It correctly errors out for 128
It's a Flat file database for a business management system written in COBOL on the synergy/de platform by Synergy. I cannot alter anything to do with the datebase. The vendor supplies the drivers. They only use it in excel Legacy mode query which reads it and loads fine. However power query and power BI do not like that table and give the error above. All the other 400 tables in the database load fine, which is annoying to say the least that this table I need for a lookup doesn't work
HI,
Thanks for the solution lbendlin offered, and i want to offer some more information for user to refer to.
hello @coatsy35 , based on your descriotion, the odbc connector provides SQL queries in advanced options, which you can use to select the columns you need by using sql queries.
And you can refer to the following link.
Import data from a database using native database query - Power Query | Microsoft Learn
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.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
12 | |
9 |
User | Count |
---|---|
35 | |
31 | |
20 | |
19 | |
17 |