How to fix my loop (error invalid cast)

Hi there! I'm trying to loop over another table using the inputs I get from the user to extract specific data.

See error:
[image.png]

My logic
1) For each loop - using coins array (user input)
2) Query records from another table (see screenshot) and return info that matches items in the loop + another id field.
[image.png]

Any help is appreciated!
Other
9 replies