I have what (I think) should be a very simple problem to solve. Still just getting my feet wet with Powerpivot so forgive me...
I have 2 tables, linked by "Entry No."
The first table has Global Dimension 1, Global Dimension 2, Global Dimension 3, Global Dimension 4 fields. The second table has a single "Dimension Value Code" field, with another field denoting the "Dimension Code" which corresponds to Global 1,2,3,4... Using another post, I learned how to bring in the Text Values of the GD1...4
Now I need to bring in the "Dimension Value Code" from the other table so that I can compare them...
Table1:
<tbody>
</tbody>Table2:
<tbody>
</tbody>Outcome:
<tbody>
</tbody>I thought that this formula would work, but I receive an error saying it is invalid:
Thanks in advance for the help!
I have 2 tables, linked by "Entry No."
The first table has Global Dimension 1, Global Dimension 2, Global Dimension 3, Global Dimension 4 fields. The second table has a single "Dimension Value Code" field, with another field denoting the "Dimension Code" which corresponds to Global 1,2,3,4... Using another post, I learned how to bring in the Text Values of the GD1...4
Code:
=IF(COUNTROWS(VALUES(Table[TextColumn])) > 1, BLANK(), VALUES(Table[TextColumn]))
Now I need to bring in the "Dimension Value Code" from the other table so that I can compare them...
Table1:
Entry No | GD1 | GD2 | GD3 | GD4 |
200000 | CI | LG | OFC | COACH |
<tbody>
</tbody>
Entry No | Dimension Code | Dimension Value Code |
200000 | COMPANY | CI |
200000 | DEPART | LG |
200000 | BILLABLE | BL |
<tbody>
</tbody>
Entry No | GD1 | GD2 | GD3 | GD4 | COMPANY | DEPART | REGION | PRODUCT |
200000 | CI | LG | OFC | COACH | CI | LG |
<tbody>
</tbody>
Code:
LOOKUPVALUE('Table2'[Dimension Value Code],'Table2'[Dimension Code], "COMPANY")
Thanks in advance for the help!