You're running into the incompatible type error because ComboBox.Selected returns a record instead of a plain value. You need to extract the selected value properly before using it in calculations.
Use a Switch() function to assign numerical values to each selected option.
With(
{
score1: Switch(ComboBox1.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0),
score2: Switch(ComboBox2.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0),
score3: Switch(ComboBox3.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0),
score4: Switch(ComboBox4.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0),
score5: Switch(ComboBox5.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0),
score6: Switch(ComboBox6.Selected.Value, "High", 3, "Medium", 2, "Low", 1, 0)
},
score1 + score2 + score3 + score4 + score5 + score6
)
Thanks!
If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" as a token of appreciation.