I would like to select a dropdown value and then show some other values extracted from the excel datatable on a label. For instance, if I select "Jonathan Soh" in the dropdown list, the text label will show "a". Else if I select "Peter" in the dropdown list, the text label will show "b" and etc.
Below is the canvas-app formula I have tried but it can only select the dropdown list value and show dropdown list value on the text label. Please see the image for better understanding.
If(
InspectorDropdown.Selected.Value = "Jonathan Soh",
"Jonathan Soh",
InspectorDropdown.Selected.'name ')