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
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
Super User
Super User

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


@ 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!:
The Definitive Guide to Power Query (M)

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
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.