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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Expression.Error: The key didn't match any rows in the table.

Background: - Power BI Desktop is picking latest excel file as source from One Drive Folder (take the last modified or latest one) where file gets updated. First time, when I uploaded file, I applied following steps on the file – Sorted rows (keep first row as heading), Converted one column as text from whole number, capitalized each word in one of the column.

 

Problem Statement: - When new file gets stored in the one drive and I click refresh, I get following typical error -

Expression.Error: The key didn't match any rows in the table.

Just for info - when, I deleted all steps in applied steps and redo everything from source, it worked fine.

What do I intend to do – a simple refresh every month and want latest file data to be available with all those steps already applied and want to avoid duplication.

Please guide. Thank You

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Nice day

I made the source change of a Share point, but the tables and steps are the same, however I present the following errors:

Origines Antiguos

WhatsApp Image 2024-02-26 at 3.09.14 PM (1).jpeg

New Origins

WhatsApp Image 2024-02-26 at 3.09.48 PM.jpeg

Error

WhatsApp Image 2024-02-26 at 3.10.09 PM.jpeg

Anonymous
Not applicable

Hi,

Did you happen to solve your problem? I am having similar issue with yours. Additionaly, I don't know how did you let PowerBI read the latest file to refresh?

Anonymous
Not applicable

Hi @Anonymous ,

 

So the current file you are using is not the same file with latest one?

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Anonymous , Can you share the steps. What data is causing the problem

 

refer how to handle error in power query
https://www.youtube.com/watch?v=OE6DPmKqN7s
https://www.youtube.com/watch?v=9-Lag0VOiTs

debug issue
https://www.youtube.com/watch?v=OE6DPmKqN7s


Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi - I dont think its the data but it is file. As mentioed earlier - Expression.Error: The key didn't match any rows in the table. 

 

First Time - I followed these steps - Get Data > Folder (One Drive) > picked the latest excel file from the folder, Applied these on this file > Made first row as heading > converted one colum as text (from whole number) > One more step related to formatting. 

 

Second Time - I clicked on refresh and its showed - Expression.Error: The key didn't match any rows in the table. 

 

I had to delete all applied steps and again had to start from source file. 

 

Thank you. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors