Hi
Apologies, this seems to be a topic discussed previously but have been unable to get the solutions to work for me. I'm new to power apps which won't be helping.
Working on a canvas, I have a drop down list called "input_selectlayer" where the items are determined by fx ["Please Select Layer","Subbase","Base","Binder","Wearing"].
I want the selection to determine text/value of text labels.
I have a label called "lbl_tol" and want the text of this label to work in the following way.
- If input_selectlayer = "Please Select Layer" then lbl_tol text = "Please Select Layer"
- If input_selectlayer = "Subbase" then lbl_tol text = "-30/+10"
- If input_selectlayer = "Base" then lbl_tol text = "-15/+15"
- And so on
I have tried using a nested if function but don't seem to getting the syntax correct. I've tried using input_selectlayer.selected.value but to no avail.
I also have numeric input called "input_dip" and another label called "lbl_lowdip".
Again looking for the drop down choice to affect the label text such that
- If input_selectlayer = "Subbase" then lbl_lowdip text = input_dip value + 30
- If input_selectlayer = "Base" then lbl_lowdip text = input_dip value + 15
- And so on
Any support would be greatly appreciated.
Thanks in advance.

Report
All responses (
Answers (