Forum Discussion

Sagejah9's avatar
Sagejah9
Icon for Helper III rankHelper III
4 years ago
Solved

Custom column by using two different tables

Hi.  I am trying to filter a sales table by the customer ID. I have a list of customers in a list to use check if they are contained in the customers iD column, those customers are in a particular c...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Hi Sagejah9 ,

     

    You may consider using Merge query. Suppose we have a sales table like this:

    and a lookup table, you can convert back to table with list:

    Merge Queries as New:

    Expand table:

    remove empty and unwanted columns:

    The PBIX file is attached for reference.

     

    Best Regards,
    Gao

    Community Support Team

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

    How to get your questions answered quickly -- How to provide sample data