cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Community Support
Community Support

Hi @RohitMadaan ,

 

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
Community Support
Community Support

Hi @RohitMadaan ,

 

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

Super User III
Super User III

@RohitMadaan ,

 

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!



@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
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors