Forum Discussion

giuliapiazza94's avatar
4 years ago
Solved

Merge query with dax

Hi,  I have two tables like  1    2   I'd like to have the values "Farm" in the first table using DAX. How can I to do?   Thank you all 🙂  
  • VahidDM's avatar
    4 years ago

    Hi giuliapiazza94 

     

    try this to add a new column in table 1:

    Farm = LOOKUPVALUE('Table 2'[Farm],'Table 2'[customer],'Table 1'[Customer])
     
     
    output:
     

     

    If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
    Appreciate your Kudos!!
    LinkedIn: 
    www.linkedin.com/in/vahid-dm/