Hi @Dhanasekaran_G ,
Do you want to use data selected from two combo boxes to update a choice column in list A?
Also, combo box1 and combo box2 data comes from listB.
Do you mean that section1+section2 =choice field in listA?
Could you tell me
1)the data type of Product field and Productgroup field in listB?
2)the structure of your choices of this choice field in listA? is "section1 section2" or "section1,section2"?
I assume that they are all text type, the choice field structure is "section1,section2".
Please notice that the choices of the choice column need to be defined before you update.
You can not create choices in powerapps.
I've made a similar test for your reference:
1)combo box1:
Items:
Distinct(listB,Product)
DefaultSelectedItems:
First(Split(ThisItem.choicefieldname.Value,","))
// if choice field structure is "section1,section2", then the choice field is like : {Value:section1,section2}
ThisItem.choicefieldname.Value represents section1,section2, to get section1, you need to use Split and First function.
2)
combo box2:
Items:
Distinct(Filter(listB,Product=combo box1.Selected.Result),Product group)
DefaultSelectedItems:
Last(Split(ThisItem.choicefieldname.Value,","))
//ThisItem.choicefieldname.Value represents section1,section2, to get section2, you need to use Split and Last function.
3)This datacard's Update:
{Value:Concatenate(combo box1.Selected.Result,",",combo box2.Selected.Result)}
Best regards,