There are two ways you can derive a set of text values in the rows of a question group.
Use the case function and enumerate the values depending on the value of question:cycle
Use a category question with the codes set to 1,2,3,4 and with derivation question:cycle
For example, these two methods may be applied to create a question group with 4 rows. See image
To use the first method to generate the BodyPart column, create a text question and set its derivation to:
case((question:cycle = 1, 'Lungs' ),
(question:cycle = 2, 'Heart' ),
(question:cycle = 3, 'Kidney'),
(question:cycle = 4, 'Liver' ))
To use the second method, create a category question and add the text strings as the category values, with codes 1,2,3,4. See image
Then set its derivation to be question:cycle See image
Finally set the data entry field of the BodyPart1 question to be of type textbox. This means that in Data Entry you will see the relevant category value displayed rather than its code.