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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jeongkim
Post Prodigy
Post Prodigy

This table is empty when get data from sharepoint

Hi

 

It's weird that I cannot get data but actually there is.

Any reason for this?

Other folder works fine. 

 

jeongkim_0-1725511305901.png

 

jeongkim_1-1725511323011.png

 

1 ACCEPTED SOLUTION

The special character (+) in the folder name might be causing problems-- sharing shouldn't be an issue. 

View solution in original post

13 REPLIES 13
Anonymous
Not applicable

Hi, @jeongkim 

The error message "DataFormat.Error: There were more columns in the result than expected" indicates that the data structure in SharePoint may have changed, causing a query mismatch.
Check that there are no changes to the columns in your SharePoint list or library. If you add a new column or remove an existing one, update Power Query to match the current structure. In Power Query Editor, review the steps for the app. Look for any steps that might expect a specific number of columns and adjust accordingly. You may need to modify the Table.ExpandTableColumn step to include or exclude the required columns.
If you have unwanted columns in your SharePoint data, consider removing them from your query to simplify the data import process.
Also check that there are no duplicate column names in your SharePoint data, as this can lead to confusion in your query.
You'll also need to verify that you have the necessary permissions to access all the data in the SharePoint folder. Sometimes, permission issues can lead to incomplete data retrieval.

You can learn more from the following link:

Power BI How to Fix There Were More Columns in the Result Than Expected - Zebra BI

vyohuamsft_1-1726041987231.png

 

How to Get Your Question Answered Quickly

Best Regards

Yongkang Hua

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

christinepayton
Super User
Super User

Make sure the account you're connecting in Power BI with has access to both the root of the site and those files. If you're using a different account, or if you only have access to the folder but not the base site, that could explain it (the SP connectors connect to a feed at the base site and then filters down on your criteria). 

Hi, 

Thanks, 

is it related to this access?

I'm the owner of the relevent sharepoint folder,,

 

jeongkim_0-1726041345089.png

 

jeongkim_1-1726043301679.png

 

It keeps saying key didn't match but the folder name seems correct..

I copied and pasted. 

 

jeongkim_2-1726043357992.png

 

 

I think you want to be filtering on the path column, not the name column. I would take that step out, go to the path column, and search for the folder name path to add as a filter there. If you filter on the name = your folder name, you will end up with no Excel files because their name is not the folder name. 🙂

Hi, please help.

 

This is my sharepoint parent level folder.

jeongkim_0-1726125370407.png

 

I can see contents with other folder path

jeongkim_1-1726125409143.png

 

 

But I cannot see this folder contents below and don't know why,, 

since the path is even copied with above available folder path.

jeongkim_2-1726125447101.png

 

the contents not visible but actually there is. 

jeongkim_3-1726125462196.png

 

I think you're using the wrong connector? The SharePoint Files connector is SharePoint.Files, not SharePoint.Contents, and there's no navigation step. You just put in your site URL and then filter the path - e.g. mine looks like this (the path column is off the screen to the right): 

christinepayton_0-1726525357413.png

 

I cannot address the URL since files in sharepoint folder keep changing. 

New files come and go every week. 

 

As I shared above, same sharepoint site - other folder work well as below. 

So need to find what obstacles to get content list. 

 

 

jeongkim_0-1727159901835.png

 

maybe because of 'shared folder'?

 

jeongkim_4-1726126279126.png

 

The special character (+) in the folder name might be causing problems-- sharing shouldn't be an issue. 

Thank you, it's strange but it worked!

Probably parent folder shouldn't have special character for this.

 

wait,, special character is already in use for other folder(not parent level) and working well..

 

jeongkim_0-1727316598713.png

 

I see, let me try with your assumption. thank you, I will let you know. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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