Microsoft Excel Power Query Expression Error (overflow error) - excel

I couldn't find this issue elsewhere on stackoverflow, so here goes: I am loading a table (named DataEntry3, approx 10K rows and 30 columns) from the same workbook into Power Query, but it is throwing the following error message:
[Expression.Error] An error occurred while accessing table DataEntry3 because it contains overflow errors. Please fix the errors and try again.
I'm confused since this is a fairly routine operation. Any ideas as to what might be going on?

Do you have any large numbers in your dataset? This can occur if a large number is mistakenly formatted as a date in Excel. I would check if giving a stronger type (Text or Number) to the columns resolves this issue.

Coming late but might help someone else.
Had this same problem and discovered that the Source location for the file was wrong (internal network changes and drive names changed)
Fixing this fixed the problem.

In my case it was a formatting issue. I used format painter for the new lines that were added to my source table and that fixed the problem.

Related

Format error exporting to excel in List Labels

I have a strange situation occurring while exporting a report into excel file type.
On 2 different machines (V.M.´s) i have a discrepancy on time type table column.
While in one of them the presentation is has expected in the other it messes the format of that specific column adding ‘tt’ to the end of it´s data.
Please find attached screenshots of the O.S. and excel result(I am not allowed too upload the lst and lsv files,sorry ).
Can someone please let me know what is causing the issue?
LL version is 21.
Thanks and regards,
This behavior will be fixed with service pack 25.004. A hotfix is available.

Tracking down the source of a dataformat error in a query

I have a query in Excel, retrieving data from a different workbook. Recently, however, the table the query writes data to has failed with the error DataFormat.Error: Invalid cell value '#N/A'..
Going through the steps of the query in the query editor, it looks like the error happens when some rows used to be sorted out:
I suspect the error is because of a change of some column header in the source file, but I am far from certain if this is actually the case.
Is there any way to track down a more detailed error description, e.g. to get to know what cells it is that has the invalid values? Is there some other way to get a better grip on what is causing the error?
Power Query really doesn't seem to know what to do when it finds an excel error code (#N/A; #REF; etc). Often when working in Power query, there isn't a problem because the row containing the error code isn't actually loaded into the preview data. It isn't until you do an operation like sort, group, remove duplicates, or something that has to read through all the rows in the data set that you run into the problem.
You have to either fix this by using the try functionality in M to handle the error, or fix your source data so that it no longer contains the error code.
If you are sourcing from an Excel Spreadsheet, just after you import the data, before you even Promote Headers or Change Data types select all columns and delete errors.
That worked for me.
I overcame this error by inserting a "Remove Errors" step before Filtering.
if your source is an excel, search for the N/A inside of your workbook for values and replace them with proper values. then it should work.

Excel Power Query not Working on Colleagues Computer

My excel power query I built is not working on computers other than mine.
When other people try to refresh the query on the sheet (which is stored on SharePoint) the following error shows up:
Anyone know why this is happening?
I hope your version of excel is the same as your colleague.
Anyway, from the error message I can read notesSort... is it a sorted column on the fly or the effective name of the field?
Try to remove the column from the Advance Editor and analyse what is going on. Test on your colleague computer to check if it's working.
Hope that helps!

'there are too many records to complete this operation' Excel Pivot Table Refresh

Does anyone have a resource that gives possible reasons for this error message in Excel. I've googled around and looks like lots of people encounter the message but no one replies with concrete suggestions for resolving.
The actual source of data is an Excel list and is only 1000 rows long and a few users use this pivot table and refresh successfully only a couple encounter this error message when refreshing the exact same spreadsheet. They do not refresh at same time.
For me the solution was to get rid of a Calculated item. I think they complicate the pivot and it doesn't work even if the amount of records doesn't seem like much.
I hope this will resolve your issues as I've just encountered the same problem and was looking for a solution. I've discovered that the cause of this problem is that I've formulas encoded in some of the excel cells which I did the pivot. I simply copy all the data (about 58,000 rows of records,>100 columns of data, that's quite substantial) into another worksheet by pasting all data with 'Values'. Do a fresh pivot on this new worksheet and bravo! I don't have anymore of the errors which I encountered earlier. Mine you, I've lots of fields in this pivoted table and I don't get anymore errors. Check carefully if you've any formulas built-in your excel worksheet before you do the pivot. Hope the above helps.
I had this similar problem, but this problem cropped up after I inserted a new "non formula" column into the the base data. All other columns got inserted into the pivot table except this new column. Also, my base data had many formula driven columns & also "#N/A" values too :-)
After lot of googling & trying out converting formulas in any other column to values, this issue did not get solved - However, since there was no problems of other columns getting accepted into Pivot table, I finally figured out that the new column had an "apostrophe" in the "column header" - I removed that "apostrophe" from that new column (& older columns did not had that apostrophe" , this error of "there are too many records to complete this operation" got solved :-)

Importing Excel into SS2000; Error on Field; DTS

I'm trying to import an excel file in to a SQL Server 2000 database using DTS. This is nothing fancy, just a straight import. Where I work, we do this 1000 times a day. This procedure usually works without an issue but something must have changed in the file.
I'm getting the below error:
Screen shot of Error http://www.understandingguitar.org/wp-content/uploads/2008/12/packageerror-screenshot-20081212.jpg
I've checked to ensure that the column "AssignmentID" is stored as "text" in the excel sheet. I've also tried to change it to general. Exact same error regardless of setting. The field does contain numbers... I appreciate everyone's help on this!
Regards, Frank
Try opening at the excel file and see the column content.
Is any of the row value in that column right-aligned? (generally for numbers)?
I am guessing that such a row could be a problem.
It may be obvious, but is the destination string long enough to hold the string representation of the float? I'm not sure if Excel is rounding what it displays to you, so it may be worth trying with a wider column.
The answer has something to do with the fact that the procedure is expecting text but even if you set the properties (in the format dialog) to "text", excel may not handle the data as text. And hence, SQL Server (or the libraries) won't handle it to text.
When the procedures try to import it, the system feels that it is converting from a number to text and it expect that data maybe lost (even though no data will be lost) and the error is raised.
If figured out that I can get around this error by placing a ' (apostrophe) before each listed number. [I.E. '124321] This force excel to treat the number as text.
Hopefully this will save others the headache I now have from this. :-)
Regards,Frank

Resources