Hi @Studz02 ,
Could you please share a bit more about your scenario?
Do you want to display all Skills in a Gallery? Do you enable "Allow Multiple Selections" option for the Choice type column?
If you want to display all Skills in a Gallery, please consider add a Gallery in your app, set the Items property to following:
Distinct('Skill set', Specialization)
Then within the Gallery, add a Checkbox and a Label, set the Text property of the Label to following:
ThisItem.Result
Set the OnStart property of App to following:
Collect(
EmployeeCollection,
{Employee: ""}
);
Clear(EmployeeCollection)
Set the OnCheck property of the Checkbox inside the Gallery to following:
ForAll(
LookUp('Skill set', Specialization = ThisItem.Result).Employee,
If(
Not(Value in EmployeeCollection.Employee),
Collect(EmployeeCollection, {Employee: Value})
)
)
set the OnUncheck property of the Checkbox inside the Gallery to following:
ForAll(
LookUp('Skill set', Specialization = ThisItem.Result).Employee,
If(
Value in EmployeeCollection.Employee,
RemoveIf(EmployeeCollection, Employee = Value)
)
)
then within your New Form screen, add a Dropdown control or ComboBox control to display unique (distinct) list of the employees, set the Items property to following:
Distinct(EmployeeCollection, Employee)
please consider try above solution, then re-load your canvas app (fire the OnStart property of App), check if the issue is solved.
Best regards,