TerryHogarth21
Board Regular
- Joined
- Mar 20, 2012
- Messages
- 245
I started playing around with PowerPivot but am having trouble getting the RELATED DAX function to work in a field.
There are two tables that are imported into he PowerPivot in which I concatenated 5 fields in each table to create a unique field.
Then this new field becomes the join for 2 tables, but I keep getting #ERROR when using the RELATED DAX function.
Trying to figure out if that new unique field exists when comparing one table to another.
It should be the equivalent to Excel's
Am I going about this the wrong way?
There are two tables that are imported into he PowerPivot in which I concatenated 5 fields in each table to create a unique field.
Then this new field becomes the join for 2 tables, but I keep getting #ERROR when using the RELATED DAX function.
Trying to figure out if that new unique field exists when comparing one table to another.
It should be the equivalent to Excel's
Code:
=IFERROR(VLOOKUP(A2,$E$2:$F$4,2,0),"Not Exist")
Am I going about this the wrong way?