Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Receiving the following error when attempting load Invoice_Sales_Item_Line table using Microsoft's Quickbooks Online Connector.
Researcdhed thoroughly and have yet to come up with a solution.
DataSource.Error: ODBC: ERROR [HY000] [Microsoft][DSI] (20039) Cannot store "QuickBooks"."QuickBooks"."Invoice_Sales_Item_Line"."Line_Description" value in temporary table without truncation. (Column metadata implied a maximum of 1024 bytes, while provided value is 1205 bytes)
Details:
DataSourceKind=QuickBooksOnline
DataSourcePath=QuickBooksOnline
OdbcErrors=[Table]
This error appears to be due to the Line_Description field having too many characters to load. Any assistance in dealing with truncation would be appreciated.
Solved! Go to Solution.
Hi @BRAGAIDAN ,
Thank you for reaching out to the Microsoft fabric community forum regarding the issue you’re experiencing with the QuickBooks Online Connector in Power BI.
The error you’re encountering, which states that the Line_Description exceeds the maximum character limit during the table expansion, indicates that Power BI is unable to store the data without truncating it. This typically occurs because the data being pulled exceeds the configured limits.
To address the truncation issue efficiently, start by retrieving and expanding simpler or minimal columns. After confirming the structure and functionality of these fields, you can then explore solutions for the Line_Description error more effectively.
Here are the troubleshooting steps to address the issue:
For more information please refer below documentation:
Power Query QuickBooks Online connector - Power Query | Microsoft Learn
If the issue persists after troubleshooting above steps, I suggest you raise a support ticket so they can assist in addressing the issue, please refer below link on how to raise a contact support or support ticket.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Since this issue may also be related to how QuickBooks handles data exports, reaching out to QuickBooks support could provide additional insights or updates regarding any known issues with their API or data structure.
I hope these suggestions help you overcome the truncation issue while working with QuickBooks Online data in Power BI. If you have any further questions or require additional assistance, please feel free to reach out again.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hi @BRAGAIDAN ,
Could you please confirm whether you have resolved issue. If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. This will be helpful for other community members who have similar problems to solve it faster.
If we don’t hear back, we’ll go ahead and close this thread.Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.
Thank you.
Hi @BRAGAIDAN ,
Thank you for reaching out to the Microsoft fabric community forum regarding the issue you’re experiencing with the QuickBooks Online Connector in Power BI.
The error you’re encountering, which states that the Line_Description exceeds the maximum character limit during the table expansion, indicates that Power BI is unable to store the data without truncating it. This typically occurs because the data being pulled exceeds the configured limits.
To address the truncation issue efficiently, start by retrieving and expanding simpler or minimal columns. After confirming the structure and functionality of these fields, you can then explore solutions for the Line_Description error more effectively.
Here are the troubleshooting steps to address the issue:
For more information please refer below documentation:
Power Query QuickBooks Online connector - Power Query | Microsoft Learn
If the issue persists after troubleshooting above steps, I suggest you raise a support ticket so they can assist in addressing the issue, please refer below link on how to raise a contact support or support ticket.
https://learn.microsoft.com/en-us/power-bi/support/create-support-ticket
Since this issue may also be related to how QuickBooks handles data exports, reaching out to QuickBooks support could provide additional insights or updates regarding any known issues with their API or data structure.
I hope these suggestions help you overcome the truncation issue while working with QuickBooks Online data in Power BI. If you have any further questions or require additional assistance, please feel free to reach out again.
If this post helps, then please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you.
Hello @BRAGAIDAN ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hello @BRAGAIDAN ,
I wanted to follow up on our previous suggestions regardingPower Bi Query Error using Quickbooks Connector - Truncation. We would love to hear back from you to ensure we can assist you further.
If my response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.
Thank you.
Hi @BRAGAIDAN ,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
There is no obvious way to do what you have suggesting, since this error happens on the very first step.
Here is the query.
let
Source = QuickBooksOnline.Tables(null),
Invoice_Sales_Item_Line_Table = Source{[Name="Invoice_Sales_Item_Line",Kind="Table"]}[Data]
in
Invoice_Sales_Item_Line_Table
There is no obvious way to do what you have suggesting, since this error happens on the very first step.
Here is the query.
let
Source = QuickBooksOnline.Tables(null),
Invoice_Sales_Item_Line_Table = Source{[Name="Invoice_Sales_Item_Line",Kind="Table"]}[Data]
in
Invoice_Sales_Item_Line_Table
Thanks for the response. Unfortunately the error message occurs when expanding the table so the field doesn't exist in the query editor yet. I would need a way to truncate prior to expanding the table.
To handle truncation in Power BI:
Truncate Data:
Remove Column:
Split Column:
We can't transform the column, because the table won't load in the first place. Here is the query.
let
Source = QuickBooksOnline.Tables(null),
Invoice_Sales_Item_Line_Table = Source{[Name="Invoice_Sales_Item_Line",Kind="Table"]}[Data]
in
Invoice_Sales_Item_Line_Table
It fails on the "Invoice_Sales_Item_Line_Table" step. Do you know of any way to truncate it BEFORE it loads?
Also, this is the first time we've experienced this error. Because of that, I was able to manually go though all invoices which have been created since the last time this report was refreshed and none of them have line descriptions that seem too long. The longest one was only 498 characters, or 588 bytes when encoded in UTF-8 (I have no idea if QB uses that, but in any case, it seems like it's nowhere near 1024).
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |