Hi All
I have a file with a number of different investments across two datasets which I have joined into one stream with a number of other fields as well similar to the below example. My goal is to combine the data into one line that matches each investment and all the other fields involved.
| Investment | InvestmentFile | Price1 | Price2 | Field1 | Field2 | Field3 | Field4 | Field5 | Field6 |
| A | | | | Data | Data | Data | Data | Data | Data |
| B | | | | Data | Data | Data | Data | Data | Data |
| C | | | | Data | Data | Data | Data | Data | Data |
| | A | 1 | 2 | | | | | | |
| | B | 3 | 4 | | | | | | |
| | C | 5 | 6 | | | | | | |
My desired end result would be similar to the below
| Investment | InvestmentFile | Price1 | Price2 | Field1 | Field2 | Field3 | Field4 | Field5 | Field6 |
| A | A | 1 | 2 | Data | Data | Data | Data | Data | Data |
| B | B | 3 | 4 | Data | Data | Data | Data | Data | Data |
| C | C | 5 | 6 | Data | Data | Data | Data | Data | Data |
I have tried using the transpose and cross tab functions but with all the other columns it isn't working well.
Anyone have an idea of how I would accomplish the desired results?
Thank you in advance!