Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
Yass91
New Member

Error when combining excel files from sharepoint

Hi,

I have an issue every time a new excel file is added to my Sharepoint folder. My Power BI automatic update crashes when a new file is added in the Sharepoint folder.

In Power Query, I found that when the excel files are loaded, the most recent one has no Table loaded but an Error (photo below).

I need to combine the files of the folder every week, and every week an additional excel file has to be integered to my Power BI report.

How can I solve this issue to avoid having this issue every week?

 

Thanks!

 

Combine files error.png

2 ACCEPTED SOLUTIONS

Hello @Yass91  - you are getting this error because your have a step in the transform sample file query that explicitly mentioning a column named CLIENT. It must exist in the file used as the sample file but it is not present in the new file.  This is why you get the error when the function is invoked.  If the column is not needed, you can edit the transform sample file query to eliminate the reference to the CLIENT column.  If the column is needed then you must add it to the new files.

 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

View solution in original post

Omid_Motamedise
Super User
Super User

It might be caused due to the formula you have wrtien in the custom column.
you should convert the Binary file into table using the following fomrula first then can handle some cleaning process

Excel.Workbook([Content], null, true)

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

View solution in original post

7 REPLIES 7
v-echaithra
Community Support
Community Support

Hi @Yass91 ,

May I ask if you have gotten this issue resolved?

 

If it is solved, please mark the helpful reply or share your solution and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @Yass91 ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,
Chaithra.

v-echaithra
Community Support
Community Support

Hi @Yass91 ,

We would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Regards,
Chaithra.

Omid_Motamedise
Super User
Super User

It might be caused due to the formula you have wrtien in the custom column.
you should convert the Binary file into table using the following fomrula first then can handle some cleaning process

Excel.Workbook([Content], null, true)

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h
daircom
Resolver II
Resolver II

@Yass91 ,
Can you specify what error occurs every time? 

Hi @daircom,

I just have an Error in the column "Transform file", when the Transform file function is invoked.

Then, the error mentioned is that "The column CLIENT of the table wasn't found".

Hello @Yass91  - you are getting this error because your have a step in the transform sample file query that explicitly mentioning a column named CLIENT. It must exist in the file used as the sample file but it is not present in the new file.  This is why you get the error when the function is invoked.  If the column is not needed, you can edit the transform sample file query to eliminate the reference to the CLIENT column.  If the column is needed then you must add it to the new files.

 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors