+ Reply to Thread
Results 1 to 8 of 8

Power Query - Expression Error: The Key didn't match any rows in the table

  1. #1
    Registered User
    Join Date
    11-16-2015
    Location
    Baltimore MD
    MS-Off Ver
    365
    Posts
    28

    Power Query - Expression Error: The Key didn't match any rows in the table

    I am trying to get data from a file using Power Query. The tables are named Table1, Table2, Table3. Each are simple small tables with matching headers; Account Address Amount

    Key=
    Item=Table1
    Kind=Table
    Table=Table

    In the formula bar is the message: = #"Changed Type"{9}[Source.Name]

    I get that PowerQuery is looking for something that is not there, but what is not there???

    Any help would be appreciated. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    When I load your tables, I get the following Mcode. Don't see anything wrong here.

    Please Login or Register  to view this content.
    Perhaps if you load your files along with the Power Query so we can see exactly what you are doing or trying to do. It would also help if you expanded on what you are trying to do specifically. Mind reading is not my forte.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    11-16-2015
    Location
    Baltimore MD
    MS-Off Ver
    365
    Posts
    28

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    Thank you for your help. Attached is the third table and the Query showing the error. Here's what I would like to accomplish; I have several workbooks in a folder and I am trying to combine the data in the tables using the headers of the tables (Headers are the same for each table). The files attached are "dummy tables" and they are much smaller than the actual files I will be using once my error is solved. I"m somewhat new to Power Query. Thank you again for your help and patience. If you need more info, please let me know.
    Attached Files Attached Files

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    You have provided three tables in three different files. In reality is this how the data is arranged or are the tables in one file with three different sheets?

  5. #5
    Registered User
    Join Date
    11-16-2015
    Location
    Baltimore MD
    MS-Off Ver
    365
    Posts
    28

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    For the example purpose, there are three workbooks, each containing one table, stored in one file on OneDrive.

  6. #6
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    Look at this video. Should be helpful.

    https://www.youtube.com/watch?v=a7E29H5ZUmE

  7. #7
    Registered User
    Join Date
    11-16-2015
    Location
    Baltimore MD
    MS-Off Ver
    365
    Posts
    28

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    Thank you for your help. The video helped.

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,862

    Re: Power Query - Expression Error: The Key didn't match any rows in the table

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Expression Error in power query
    By jlblackburn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-07-2019, 02:48 PM
  2. POWER Query and Power Pivot Table !!
    By haitham.shop in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-06-2018, 04:09 PM
  3. Power Query and Power Pivot Table
    By haitham.shop in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-06-2018, 06:17 AM
  4. Power Query and Power Pivot Table !!
    By haitham.shop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-06-2018, 06:15 AM
  5. Error problem, Importing table from pass protected workbook Power Query or other?
    By tta.akmal in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-29-2018, 03:59 AM
  6. error in power query & power pivot
    By Baldev Kumar in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 01-03-2018, 01:34 AM
  7. [SOLVED] Power Query: Extract data from table after other rows are filtered
    By JimDandy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-25-2017, 02:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1