Here is how i create the collection from dataverse table as outlined above . I contains two fields Field Name and Choice
ClearCollect(
colChoicesConfig,
'Choice Configurations'
)
The problem is that Combo i am populating is a generic one displayed in a gallery so in row one of the gallery the combo is Gender in row two the combo is region so I have logic to populate the combo based on the the row in the gallery .
How i populate the combo
Switch(
ThisItem.'Associated Field ',
"Gender",
Filter(colChoicesConfig, 'Field Name' in "Gender"),
"Region",
Filter(colChoicesConfig, 'Field Name' in "Region"),
)
Hop this helps. I can't use your solution above since the generic single select combo does not like multiple data sources.
Thanks Esox