Create a new value list. Select "Use values from field" and click "Specify field". Choose the table and field you want to use, and select "Include only related values starting from". Choose the correct source table occurrence (which, in this case, would be "data").
At this point, you have a value list that shows only the values that are related to the current record. You can then use the ValueListItems function to fetch the values.