soshaughnessy
New Member
- Joined
- Nov 19, 2013
- Messages
- 3
Hello All,
I am new to Power Pivot and I am exploring whether it would be possible to migrate some of my data analytic tools into this platform,however I am running into what may be a deal killer. Any insights would be greatly appreciated.
I have several worksheets that I previously would use a vlookup to bring in certain fields based upon the unique identifier, Record Number. The many to many doesn't apply here as it simply returns the first value it finds based on the identifier. As these are financial data sets there are always a many to many relationship but the unique identifier allows me to compare. I've setup a simple example that hopefully someone can help with.
I have two tables: PCO Report and Previous Report. I am trying to return the previous status of each record based off its record number into the PCO Report Table from the Previous Report Table. To do this I setup another table that only has the unique values with duplicates removed and built the relationships, to Record Number.
I have tried using Related and Related Table and neither will work. I continue to get the error "The column 'Previous Report[Status] either doesn't exist or doesn't have a relationship to any table available in the current context."
I am blocked from filesharing so apologies for no screenshot below is essentially what the tables look like
PCO Report Table
<tbody>
</tbody>
Record Number Table
<tbody>
</tbody>
Previous Report Table
<tbody>
</tbody>
Is this at all a possibility? Lookupvalue at least acted as if it could understand the relationship but it didn't work as I got the error 'PCO Report'[]: A table of multiple values was supplied where a single value was expected. Is there a way to simply say return the first value you find that matches?
I am new to Power Pivot and I am exploring whether it would be possible to migrate some of my data analytic tools into this platform,however I am running into what may be a deal killer. Any insights would be greatly appreciated.
I have several worksheets that I previously would use a vlookup to bring in certain fields based upon the unique identifier, Record Number. The many to many doesn't apply here as it simply returns the first value it finds based on the identifier. As these are financial data sets there are always a many to many relationship but the unique identifier allows me to compare. I've setup a simple example that hopefully someone can help with.
I have two tables: PCO Report and Previous Report. I am trying to return the previous status of each record based off its record number into the PCO Report Table from the Previous Report Table. To do this I setup another table that only has the unique values with duplicates removed and built the relationships, to Record Number.
I have tried using Related and Related Table and neither will work. I continue to get the error "The column 'Previous Report[Status] either doesn't exist or doesn't have a relationship to any table available in the current context."
I am blocked from filesharing so apologies for no screenshot below is essentially what the tables look like
PCO Report Table
Project Name | Record Number | Status | PCO Number | Cost | Previous Status |
Test 1 | 1 | Approved | 1F | 50 | Error |
Test 1 | 1 | Approved | 1F | 25 | Error |
<tbody>
</tbody>
Record Number Table
Record Number |
1 |
<tbody>
</tbody>
Previous Report Table
Project Name | Record Number | Status | PCO Number | Cost |
Test 1 | 1 | Submitted | 1F | 50 |
Test 1 | 1 | Submitted | 1F | 25 |
<tbody>
</tbody>
Is this at all a possibility? Lookupvalue at least acted as if it could understand the relationship but it didn't work as I got the error 'PCO Report'[]: A table of multiple values was supplied where a single value was expected. Is there a way to simply say return the first value you find that matches?