Forum Discussion
Problem combining all excel files from a folder into one table in Power Query Editor
- 2 years ago
Hi, Smallfires0628
Here are some suggestions I would try. You have probably tried a bunch of them already.
File Format: Double-check if all your files are in the same format. If one file is .xls and another is .xlsx, this might be causing the issue.
Data Structure: You mentioned that the values under the columns are inconsistent. While this shouldn’t typically be a problem, do ensure that the data types for each column are consistent across all files.
Hidden Rows/Columns: Sometimes, hidden rows or columns in Excel can cause unexpected results in Power Query. It might be worth checking if this is the case in your files.
Corrupted Files: It’s possible that one or more of your Excel files might be corrupted. Try opening each file individually to check for any issues.
Refresh the Query: This might sound simple, but sometimes, refreshing the query in Power Query can solve the issue.
Load Settings: In Power Query, under ‘Close & Load’, ensure ‘Close & Load To…’ is selected and then choose ‘Table’ in the ‘Load To’ dialog box.
Combine Binaries Settings: When combining files from a folder, Power Query provides several options. Make sure you’re using the correct option for your needs.
Best regards,
Johannes
Hi, Smallfires0628
Here are some suggestions I would try. You have probably tried a bunch of them already.
File Format: Double-check if all your files are in the same format. If one file is .xls and another is .xlsx, this might be causing the issue.
Data Structure: You mentioned that the values under the columns are inconsistent. While this shouldn’t typically be a problem, do ensure that the data types for each column are consistent across all files.
Hidden Rows/Columns: Sometimes, hidden rows or columns in Excel can cause unexpected results in Power Query. It might be worth checking if this is the case in your files.
Corrupted Files: It’s possible that one or more of your Excel files might be corrupted. Try opening each file individually to check for any issues.
Refresh the Query: This might sound simple, but sometimes, refreshing the query in Power Query can solve the issue.
Load Settings: In Power Query, under ‘Close & Load’, ensure ‘Close & Load To…’ is selected and then choose ‘Table’ in the ‘Load To’ dialog box.
Combine Binaries Settings: When combining files from a folder, Power Query provides several options. Make sure you’re using the correct option for your needs.
Best regards,
Johannes