Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tyxanu
Helper I
Helper I

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.

tyxanu_0-1706008875645.png

 

Many thanks!

 

1 REPLY 1
Daniel29195
Super User
Super User

Hello @tyxanu

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 🫡👍 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.