Forum Discussion

Adoman's avatar
Adoman
Frequent Visitor
10 years ago
Solved

Create a portfolio table from a buy and sell table

Hi All,

 

I have the following data that I put in to the table:

PortfolioIDSellerIDBuyerID
111155536112
111121185553
112355596088
182861693509;5375
24941672;60574062
296156495648
2500 4726
265361125026
11115553;61121433

This table contains Companies (PortfolioID) that are sold or bought by a PE Houses (Seller and Buyer). I would like to create a Portfolio table which contains only Buyers who did not sell a company and holds it. E.g.: the company 1111 should not be shown in portfolio of the PE House 6112. (bought in the first row and sold in the last row).

 

Any ideas how can I solved this Power Bi?

 

Thx