I am building a form/questionnaire using powerapps. For question 2, I have a list box with three choices. When a user selects from one of the choices, I want to display the selected value in a label in a preceding question for comment.
For the list box on select property, I have the following code: UpdateContext({ selectedItems: ListBox_Q2c.SelectedItems })
For label one text property: If(
CountRows(selectedItems) >= 1,
First(selectedItems).Value,
""
)
For label 2 and 3: I have this expression : If(
CountRows(selectedItems) >= 2,
Concat(
FirstN(selectedItems, 2).Value,
", "
),
""
)
I am not able to populate label 2 and 3. It displays ", ," in the label. Do you know what am doing wrong. Is there more simpler solution.

Report
All responses (
Answers (