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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Text Label based on dr...
Power Apps
Answered

Text Label based on dropdown Menu

(0) ShareShare
ReportReport
Posted on by 29

So I currently have an excel spreadsheet with the table below,

 

Tablename: TableWalk

 

Title ¦ Road

A1      UP

B1      Down

C1      Down

D1      UP

 

I currently have a drop down showing a list from the Title Column. This is achieved by,

 

TableWalk.Title

 

I now have a text label and want to show the value from the Road column based on what was chosen from the dropdown. For example, if I chose A1 from the dropdown, the text label should show 'UP'.

 

I tried Dropdown2.Selected.Road but comes up with an error, after typing Dropdown2.Selected. the only suggestion is to put 'Title' which of course is not what I want.

 

Any help would be appreciated.

 

Thanks.

Categories:
I have the same question (0)
  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @BPowerApps 

     

    Set your Items to TableWalk and edit the combox field, select the primary text as Title. By Setting the Items to TableWalk.Title you drop the Road column hence the title being the only one available.

     Like this

    rubin_boer_0-1666951589590.png

     

    Leave your text as is.

     

    R

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @BPowerApps ,

    You can use LookUp function for your Text label/input field - 

    LookUp(TableWalk, Title = Dropdown2.Selected.Title, Road)

  • rubin_boer Profile Picture
    4,843 Super User 2024 Season 1 on at

    hi @BPowerApps the solution by @NandiniBhagya20 will work, but you will pay a performance price for it. While it is working consider accessing information without looking it up again when you do this type of solution in the future. Editing your comobobox fields will allow you access to the data linked to the combobox without another call to the table.

     

  • BPowerApps Profile Picture
    29 on at

    It's not a combobox I'm using, it's a dropdown, therefore this wouldn't be an issue? If you, do you have any recommendations?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard