Hi @Anonymous ,
Just to simplify/clarify this a bit and assuming you are not using European syntax (also note SelectedText is deprecated)
With(
{
Choice1:
Switch(
YourDropdown1.Selected.Value,
"High",
2,
"Med",
0.8,
"Low",
0.2
),
Choice2:
Switch(
YourDropdown2.Selected.Value,
"High",
2,
"Med",
0.8,
"Low",
0.2
),
Choice3:
Switch(
YourDropdown3.Selected.Value,
"High",
2,
"Med",
0.8,
"Low",
0.2
),
Choice4:
Switch(
YourDropdown4.Selected.Value,
"High",
2,
"Med",
0.8,
"Low",
0.2
)
},
With(
{wResult: (Choice1 + Choice2 + Choice3 + Choice4) /4 },
If(
wResult > 0.8,
"High",
wResult > 0.2,
"Med",
"Low"
)
)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps