Lookup runtime function in Calculated Value field for multiple selections on form.


All,

 

I'm needing to display multiple numbers according to certain values selected from a list lookup on a form. As an examples, I am using a list called "Testing List". In the List Lookup field on the form, multiple selections are allowed from the column called "Title" from the "Testing List" list. Each selection has an according number that goes with it. These numbers belong under the "Score" column from the "Test List" list. 

The source list:

7915i2FE4A442F3DDAFD9.png

The List Lookup:

7917i7C0EAA666313EED9.png

The Calculated Value:

7918iD988E5AC908A1852.png

The form:

7916i8AD7D84F053F39B3.png

What I was expecting to happen was for all Score(s) to populate, but only the first one selected does (in this case, 3). If it is too small to read in the screenshots, here is the formula used for the calculated value: lookup("Testing List", "Title", parseLookup(TestingListValues, true), "Score"). I read somewhere that including "true", without quotes, would pull multiple values. 

I was eventually planning on adding avg() and min(), separately, to the beginning of the formula to find both the average and the minimum Score. 

 

Thank you in advance for any help!!

 


2 replies

Userlevel 6
Badge +22
Hi,

I do not think this will work. You can retreive multiple values when doing a lookup but when doing a lookup you cannot pass multiple values to the lookup runtime function and that is why only the first selection is being looked up.
I was afraid of that.... Do you know an alternative solution that would work? Thanks!

Reply