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
Anonymous
Not applicable

Getting data from a different Table

 

Table 1

IDbrandprice
1ABC133
1DEF266
1GHI399
2ABC100
2DEF200
2GHI300
3ABC400

Table 2:

IDABCDEFGHI
1???
2???
3???
4???
5???

 

There are two tables: 1 & 2 and both have a relationship of one to many. I am trying to get data (Price: column 3 from table 1 fo specific brand and ID to table 2 in column 2-4 for those IDs.

 

Thanks in Advance!  

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

What does Table 2 look like? 

If you want a visual, you could create a matrix as below.

1.PNG

If you want a table, you could duplicate the table and select brand column and use pivot feature.

2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

What does Table 2 look like? 

If you want a visual, you could create a matrix as below.

1.PNG

If you want a table, you could duplicate the table and select brand column and use pivot feature.

2.PNG

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
camargos88
Community Champion
Community Champion

@Anonymous ,

 

Does it work if you unpivot the last 3 column from table 3 ?

So you can create a relationship and navigate on it.



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



Anonymous
Not applicable

@camargos88It won't work as the data in ID column is not the same type.

 

What i could think of is using Related function but somehow not able to reach to the conclusion.  

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.