Forum Discussion

Miss_A's avatar
Miss_A
Regular Visitor
2 years ago
Solved

Check Missing ID

I have the client ID are multiple source such as 9995-0001,9995-0002,9996-0001, 9996-0002, 9997-0001, 9997-0002. So, I want to check missing ID in which location. How to?
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Miss_A ,

     

    You can use your existing table in Power Query to create a combined table and then merge them. After the merge, the null in the expansion is the Missing ID and the corresponding location.

    Here's an example.

    Table (1) is the main table.

    1.Copy the primary table, and then remove the columns and remove the duplicate rows to get the unique location column.

    2.The same operation yields Table (3).

     

    3.Add a custom column in Table (2) to reference the Table (3).

     

    4.Expand it and then merge with the main table.

     

    5.This is the final result.

     

    Best Regards,

    Stephen Tao

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

  • Miss_A's avatar
    2 years ago

    Thank you.