Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

copying one column values to another based on two maching key values

Hey PBi Users, Need a quick help with something. So i have two tables in my project and I need to copy the value of two columns from one table to another table based on two keys.  and ...
  • jdbuchanan71's avatar
    jdbuchanan71
    7 years ago

    Without seeing the data I can't tell you what the problem is.  My formula works against your expample data.

    Changed = 
        LOOKUPVALUE(
            Table2[Changed],
            Table2[ARD Key],Table1[ARD Key],
            Table2[Material Key],Table1[Material Key]
        )

    I have attached my sample file based on your example data.  Take a look at that and see if it helps.