cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
deanbland
Helper III
Helper III

The key didn't match any rows in the table

Hi all,

 

I have been using SharePoint folders to store an Excel file in to use for Power BI. I have recently received another Excel sheet within the folders and I am getting this error message:

 

"An error occurred in the ‘Transform File’ query. Expression.Error: The key didn't match any rows in the table.
Details:
Key=
Item=RISKS_MeasureActualDetails_acti
Kind=Sheet
Table=[Table]"

 

I have looked online for solutions, some saying that I need to make sure the file names are the same (SharePoint won't let me do this). I have had a look at both files and all columns are the same also. I am unsure what else to do, can someone please advise! 

 

Thank you, 

 

Dean

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @deanbland 

Usually this means a column name or sheet name has changed in the file you are importing, compared to the code in the Transform File query.

Double check columns and sheets. Make sure there are no leading or trailing spaces in column and sheet names.

If you still have the issue please post your query/PBIX file and a sample of the structure of the file you are importing.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @deanbland 

Usually this means a column name or sheet name has changed in the file you are importing, compared to the code in the Transform File query.

Double check columns and sheets. Make sure there are no leading or trailing spaces in column and sheet names.

If you still have the issue please post your query/PBIX file and a sample of the structure of the file you are importing.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Got a similar error today and the issue was the sheet names - The sheet names have to be the same. 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors