cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JamesMc
New Member

Update Label based upon dropdown

I am just learning Powerapps, and am having difficulties in updating a label based upon the value of a dropdown.

 

I have a table ("Table3") with two columns PRW, and Description and based upon the value of PRW to display the description.

Table3.png

 

My label is Label4 and the Dropdown is named Dropdown3

 

editscreen.png

 

I have figured out most of everything else based upon reading this forum, but am having problems with this.

 

Thank you for reading this!

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Update Label based upon dropdown

@JamesMc 

It's hard to tell from the information you provided without knowing the formula for the DropDown Items property.

However, despite that, you can probably use this formula for your Text property on the label:

   Lookup(Table3, PRW=DropDown3.Selected).Description

 

Again, not knowing the Items property of the DropDown, you might need to adjust the formula as follows:

  Lookup(Table3, PRW=DropDown3.Selected.Value).Description

 

I hope that helps you to the next step.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Update Label based upon dropdown

@JamesMc 

It's hard to tell from the information you provided without knowing the formula for the DropDown Items property.

However, despite that, you can probably use this formula for your Text property on the label:

   Lookup(Table3, PRW=DropDown3.Selected).Description

 

Again, not knowing the Items property of the DropDown, you might need to adjust the formula as follows:

  Lookup(Table3, PRW=DropDown3.Selected.Value).Description

 

I hope that helps you to the next step.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

JamesMc
New Member

Re: Update Label based upon dropdown

 Lookup(Table3, PRW=DropDown3.Selected.Value).Description

Thank you, this worked!

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (7,820)