web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Label text determined ...
Power Apps
Unanswered

Label text determined by drop down choice

(0) ShareShare
ReportReport
Posted on by 11

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.

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard