Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

How to match and get value from another table

I have two tables:   Table A Driver_Name ,Date , total_order   Table B  Driver_Name,Date ....     Now i want to i want to insert the value from table A when driver name and date are matched....
  • v-yulgu-msft's avatar
    7 years ago

    Hi Anonymous,

     

    You could add a calculated column in Table B via Lookupvalue funcion.

    New Column =
    LOOKUPVALUE (
        TableA[total_order],
        TableA[Driver_Name], TableB[Driver_Name],
        TableA[Date], TableB[Date]
    )

    Best regards,

    Yuliana Gu