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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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