Forum Discussion
Edirin
3 years agoFrequent Visitor
Help with LOOKUPVALUE
I have 2 tables... Table 1 Employee ID Employee Name E001 Jaimie E002 Fred E003 Isaac E004 Jones E005 Billy Table 2 Job ID Employee ID Line Manager Job I...
- 3 years ago
Edirin Hmm, worked perfectly fine for me, see attached PBIX. Perhaps trying to do a Trim and Clean in Power Query for all of your columns to remove trailing whitespaces, etc. See attached PBIX below signature.
- 3 years ago
Hi, Edirin ;
You could try create a column by dax.
Line Manager Name = CALCULATE(MAX('Table1'[Employee Name]),FILTER('Table1',[Employee ID]=EARLIER(Table2[Line Manager Employee ID])))Or
Column = LOOKUPVALUE('Table1'[Employee Name],Table1[Employee ID],'Table2'[Line Manager Employee ID])The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
3 years agoCommunity Champion
Edirin Hmm, worked perfectly fine for me, see attached PBIX. Perhaps trying to do a Trim and Clean in Power Query for all of your columns to remove trailing whitespaces, etc. See attached PBIX below signature.