Forum Discussion
Data Load Erroring out Too Many columns
Hi everybody,
I'm trying to load some data into PowerBI from Excel, but every time it's "Creating Connection in Model" I get the following error for my Data files: "Failed to save modifications to the server. Error returned: 'The total number of columns in the model is 16457, which exceeds the limit of 16000. '
I don't understand why I would get this error, especially when my files only have about 8 columns and a maximum of 400 Rows. Which in no way comes close to 16,000 Columns.
I have inlcuded some screenshots showing the error and one of my data files for your anaysis and review.
Thannks for any and all assistance.
Regards,
IKE
Hello IkeWelsh ,
what I may suggest that there are blank columns that are being read from the excel, check in power query how many columns you have, and if there are these blank columns then use the choose columns option to only choose the columns you want.
https://youtu.be/HIS_brYNpnI?si=DBFZjCcgEb11mBCI
- Anonymous2 years ago
Hi IkeWelsh ,
Hope everything is going well.
The error message reads: "The total number of columns in the model is 16457, which exceeds the limit of 16000."
Although your actual number of columns is only 8, it shows 999+ columns in Power Query.
You can remove blank columns in Power Query by following these steps:
Open Power Query, hold down Ctrl and select the 8 columns you need, select Remove Columns>>Remove Other Columns on the Home tab.
After deleting the blank columns, check other tables in the model to see if there are similar issues and if so, follow the same steps to delete the blank columns.
After cleaning the data, close the Power Query editor and apply the changes. Then, refresh the data model to ensure it reflects these adjustments.
Another possible cause of the error is a name conflict between the worksheet and the table.
If it has the same name as a worksheet, Power BI will rename the table name when connecting to the Excel file. It may cause this problem.
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
7 Replies
- AnonymousNot applicable
Hi IkeWelsh ,
Hope everything is going well.
The error message reads: "The total number of columns in the model is 16457, which exceeds the limit of 16000."
Although your actual number of columns is only 8, it shows 999+ columns in Power Query.
You can remove blank columns in Power Query by following these steps:
Open Power Query, hold down Ctrl and select the 8 columns you need, select Remove Columns>>Remove Other Columns on the Home tab.
After deleting the blank columns, check other tables in the model to see if there are similar issues and if so, follow the same steps to delete the blank columns.
After cleaning the data, close the Power Query editor and apply the changes. Then, refresh the data model to ensure it reflects these adjustments.
Another possible cause of the error is a name conflict between the worksheet and the table.
If it has the same name as a worksheet, Power BI will rename the table name when connecting to the Excel file. It may cause this problem.
If you have any further questions please feel free to contact me.
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot! - IdrissshatilaSuper User
Hello IkeWelsh ,
what I may suggest that there are blank columns that are being read from the excel, check in power query how many columns you have, and if there are these blank columns then use the choose columns option to only choose the columns you want.
https://youtu.be/HIS_brYNpnI?si=DBFZjCcgEb11mBCI
- IkeWelshNew Member
Hi Idrissshatila,
I don't have 1000 Columns,
I don't even have 10 Columns
I have 8 columns and maybe 400 (at most rows).
This makes no sense as to why it's saying there are so many columns!!- IdrissshatilaSuper User