Forum Discussion

u4us1923's avatar
u4us1923
Frequent Visitor
1 year ago
Solved

Get value from another table with multiple conditions.

Hello. I have two tables as below. I want to create a custom column (Total Calls) in table2 and if the city and location values are equal, I want to add the count data in table1 to the Total Calls co...
  • mussaenda's avatar
    1 year ago

    Hi u4us1923 ,

     

    We can do this with simple merge and select 2 columns for each table.

  • mermanahan's avatar
    1 year ago

    When you are merging the 2 tables in power query, you need to select both "city" and "location" by holding the CTRL key in order to select both. Do the same for table 2. You need to join on these two columns.