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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
HasanK
Helper I
Helper I

An error occurred in the ‘Transform File’ query. Expression.Error: The key didn't match any rows in

Dear Comunity,

I am learning and appling PowerBi, Power Query, PowePivot into my business life. This is my first post therfore it may look easy but I could not find proper solution... 

My Question is two part first part is the subject, actually I found the issue but I could not find solution;

- Our customer send every week their sales reports in excel or csv, I have just started to use PowerQuery to combine them but I realised different "table names" causes this error; some excel report sheet name are "prijmy_vydeje_skladem (005)", some prijmy_vydeje_skladem (009), etc.

When I change the name manually, The reports have the same sheet names are recognised by Power Query and not get error for that table...

How can I solve this issue first, there are 53 reports for each previous report.

I will be pleased, if you can you help.

 

Best regards,

Note: I use File/Folder as New Source in Power Query and locate the folder contains weekly reports

Annotation 2020-05-02 131659.png

Annotation 2020-05-02 131659_1.png

Annotation 2020-05-02 131659_2.png

Annotation 2020-05-02 132320_3.png

1 ACCEPTED SOLUTION

Hello Greg,

Thank your for your advice. After many hour spent I found the soluiton and applied on my case with little modification, it isueful and easy. Here is the solution Combine Files With Inconsistent Columns In Power Query 

View solution in original post

4 REPLIES 4
lalilonso
New Member

Hi,

 

I have the same issue, did you find a solution?

Hi Lalilonso,

I put the solution video link in latest message, if it does not solve could you give an example?

Greg_Deckler
Community Champion
Community Champion

Hmm, not fun. Power Query is very touchy about its names. @ImkeF or @edhans may have suggestions.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hello Greg,

Thank your for your advice. After many hour spent I found the soluiton and applied on my case with little modification, it isueful and easy. Here is the solution Combine Files With Inconsistent Columns In Power Query 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.