+ Reply to Thread
Results 1 to 5 of 5

Need help- Power Query Merge function return null value!

  1. #1
    Registered User
    Join Date
    09-10-2021
    Location
    US
    MS-Off Ver
    microsoft 365
    Posts
    7

    Need help- Power Query Merge function return null value!

    Hello there,
    I'm trying to match values on 2 tables based on identifier on both tables.
    I'm having an issue returning null value when i use power query merge function between 2 tables.

    here is my example:
    table 1 has 3 columns (A,B,C)
    table 2 has 3 columns (C,D,E)

    columns C is the main columns in both tables which is the identifier on both tales.
    on table 2, cells on columns (D and E) may have different values but they have same to ID on columns C.

    85% of IDs on table 1(C) matches Table 2(c), but using power query, it shows only one match on both tables and the rest shows as Null values.

    Any help please?

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

    Re: Need help- Power Query Merge function return null value!

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.
    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
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,418

    Re: Need help- Power Query Merge function return null value!

    Things to check for:

    1. That the IDs are exactly the same type of value (i.e. that one is not text whilst the other is a number).
    2. That there are no 'invisible' leading or trailing spaces causing the failure to match (you can use Trim and Clean in PQ to help here).
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    09-10-2021
    Location
    US
    MS-Off Ver
    microsoft 365
    Posts
    7

    Re: Need help- Power Query Merge function return null value!

    Thank you everyone.
    how can I make this post as SOLVED?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,418

    Re: Need help- Power Query Merge function return null value!

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

    Also, if you have not already done so, 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 all those who offered help.

+ 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. [SOLVED] Merge Pro tip in Power Query
    By hudson andrew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2021, 03:53 AM
  2. [SOLVED] Replace duplicates with null by power query
    By siddiqsh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-20-2020, 04:38 AM
  3. Power Query Merge Columns if Not Null
    By brent_milne in forum Excel General
    Replies: 1
    Last Post: 01-26-2020, 11:41 AM
  4. [SOLVED] Power Query showing Null but values exist?
    By taylorsm in forum Excel General
    Replies: 3
    Last Post: 04-10-2018, 10:19 AM
  5. Replies: 9
    Last Post: 11-29-2017, 01:32 PM
  6. Merge Sheets Power Query
    By morerockin in forum Excel General
    Replies: 8
    Last Post: 04-11-2017, 08:17 AM
  7. How to remove null values from several columns with Power Query?
    By toblju in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2016, 11:08 AM

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