Lookup comparing Username

  • 18 January 2019
  • 1 reply
  • 0 views

Badge +6

I have a form with a calculated value control, and want to use the lookup function to retreive the value from another SharePoint list. The value to compare would be the current user, and a people picker value on the second list. The results are returning #Value!

Calculated Value Control:

The control with the current user has the Item Property set to Name

222031_pastedImage_1.png

Lookup List:

222038_pastedImage_2.png

Returned Value:

222039_pastedImage_3.png


1 reply

Userlevel 2
Badge +11

Hi, have you tried swapping "Name" and "CoWorker"? In the Lookup function, following the list title, you need to specify the column name to use as filter ("CoWorker") and then the filter value (Name, if all is well without the double quotes, but try anyway; if neither helps, use the Name inside a parseLookup function).

Reply