Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Index and match

Dear community members,

 

I am very new to power query and just made my first steps. Until now I've just created connections, filtered and sorted the data queries.

My question:

I have 3 tables and would like to add 5 columns to one of the tables called "order information".

Basically the columns I would like to add are information in a column in another table (activities: eg. 10 and 30 and record date). Also I would like to add the "category decription" in a column according to the category number. Table 2 (order information) has unique "order numbers".

If I would work on this tasks in excel, I would probably use index and match. But I would like to solve it in a more efficient way in power query. Any ideas and recommendations?

 

Thanks in advance!

Jan

 

clarification

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    I've now pivoted the column "activity number" in the table "confirmations.

    From there I copied the table and filtered for "activity number = 0010", the same for the other numbers. Then I joined the two tables (order information and confirmation) for the time column)

    That doesn't feel right to have a new query for each "activity number". Isn't there a smarter way?

     

    Any suggestions?