Forum

The Key Didn't Matc...
 
Notifications
Clear all

The Key Didn't Match Any Rows In the Table

3 Posts
2 Users
0 Reactions
9,054 Views
(@chikanito1975)
Posts: 3
Active Member
Topic starter
 

Hi everyone,

I am very new to Power Query and coming across an error that I'm sure has to be an easy fix.

I have two files in a folder located on a shared drive.

I connected to a folder that currently has two files.  The files are structured exactly the same way.  Each file has a table and same exact columns. When I connected, I clicked on Combine & Transform Data. 

I made all my transformations on the Transform Sample File,  I created connection only and added to data model and then came across this error. 

Excel-Error.png

What step am I forgetting?

Any assistance would be greatly appreciated.

JG

 
Posted : 08/05/2022 6:38 pm
(@mynda)
Posts: 4761
Member Admin
 

Hi Jose,

Welcome to our forum!

This error is caused by a name being referred to in your query for specific table or column names that are no longer present in your source data. e.g. when you originally built the query a table might have been named TableA, but now it's named TableB and therefore the query can't find TableA. Of course it could also be renamed columns.

Check out my Power Query course where I cover more quirks like this, plus techniques for automating boring tasks.

Mynda

 
Posted : 09/05/2022 6:53 pm
(@chikanito1975)
Posts: 3
Active Member
Topic starter
 

Thank you, that was helpful!

 

Jose

 
Posted : 18/05/2022 11:38 pm
Share: