cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CarlosN
Helper IV
Helper IV

lista desplegable y etiquetas

Good day,
I have a table with several columns, and I need to use a drop-down list and when selecting a record it shows me the information in labels of other columns

1 ACCEPTED SOLUTION

Accepted Solutions
BCLS776
Super User
Super User

Hopefully I understood your question. We can use a dropdown to choose between records on a list and then use that choice to display info about the record.

 

Put both a dropdown and a label into your app. Set the Items property of the dropdown to the column of data you want to use as choices in the dropdown, e.g. mySPList.ID

 

Next, set the Text property of the label to this: LookUp(mySPList, ID = DropDown1.Selected).otherColumnName

 

This statement will find the first record whose ID matches the one selected in the dropdown, and then returns whatever is in the other column (hopefully that is a string or a number)

 

Hope this helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
BCLS776
Super User
Super User

Hopefully I understood your question. We can use a dropdown to choose between records on a list and then use that choice to display info about the record.

 

Put both a dropdown and a label into your app. Set the Items property of the dropdown to the column of data you want to use as choices in the dropdown, e.g. mySPList.ID

 

Next, set the Text property of the label to this: LookUp(mySPList, ID = DropDown1.Selected).otherColumnName

 

This statement will find the first record whose ID matches the one selected in the dropdown, and then returns whatever is in the other column (hopefully that is a string or a number)

 

Hope this helps,

Bryan

_________________________________________________________________________________________
Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,586)