Hi @nagestiada ,
In PowerApps, the data source you update must be a constant, not a variable. Or you can try this:
Update different data sources based on the value of variable.
Switch(var,
"AOA",Patch(datasource1,
LookUp(datasource1,QuestionIndex=Value(QuestionIndexLabel.Text) && Language="EN"),
{
QuestionValue: TextInput2_8.Text
}
),
“BOB”,Patch(datasource2,
LookUp(datasource2,QuestionIndex=Value(QuestionIndexLabel.Text) && Language="EN"),
{
QuestionValue: TextInput2_8.Text
}
),…)
Best regards,
Rimmon Li