Forum Discussion
Anonymous
7 years agoNot applicable
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.
What should i do for this?
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
4 Replies
- v-yulgu-msft
Microsoft Employee
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
- mwegener
Most Valuable Professional
Hi Anonymous
use Power Query "Merge Queries"