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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TiborTuboly
Frequent Visitor

Cannot connect to Sharepoint file

Hi All,

 

when I try to connect to a Sharepoint file, Power BI desktop gives the following error message:


An error occurred in the ‘XY' query. Expression.Error: The key didn't match any rows in the table.
Details:
    Key=Record
    Table=Table

 

I read that in this case I should refresh the preview of source step in the query editor, but it does not work for me.

Do you have a solution for this case?

Thank you.
Tibor

1 ACCEPTED SOLUTION

Hi.

When I would like to load a Sharepoint file, it also creates a sample file in a separate query (transform file from query). I went to the source step of this sample file and I filtered for the Sharepoint file I wanted to load (by default, this step lists all the files available on the Sharepoint). It solved the problem.

View solution in original post

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @TiborTuboly ,

I'd like to suggest you take a look at following link to use odata feed connection to get data from sharepoint:

Error with Get Data from SharePoint Online document library - Expression.Error: The key didn't match

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi.

When I would like to load a Sharepoint file, it also creates a sample file in a separate query (transform file from query). I went to the source step of this sample file and I filtered for the Sharepoint file I wanted to load (by default, this step lists all the files available on the Sharepoint). It solved the problem.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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