Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

DAX Data correlation

Hi,

 

Can someone help me with the right DAX so I can achieve the following result?

 

For each unique combination of Fruit&Slot in Tabel1, I need to bring the associated "master owner" from Table2, even for the Pear type of fruit. 

 

I believe this screenshot shows all the relevant details, but I can offer more clarification.

 

Many thanks!

 

1 Reply

  • Daniel29195's avatar
    Daniel29195
    Community Champion

    Hello Anonymous

    how are you today ? 

     

    if the combination fruit - slot is unique, you can simply create w calculated column in both tables : 

    new column =  table_name[fruit] & " "  & table_name[slot] 

     

    then link both tables base on this column,

     

     

    then in the table on the left : create w new column : 

     

    column =  related ( table_name_to_the_left [ column_name_you_want_to_get])

     

     

    If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that  thumbs up button 🫡👍