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 / Autopopulate label fro...
Power Apps
Answered

Autopopulate label from 2 dropdown selections

(0) ShareShare
ReportReport
Posted on by 4

Hello PowerApps Community! I am relatively new so this might be a general question.

I would like to populate a text label based on dynamic user-selected inputs from 2 dropdowns. All the data comes from a table in a static excel sheet. If I were doing this in excel, a simple vlookup or index formula would give me the value.

 

So my table has three columns, lets say Colour, Number and Shape with values as follows -

Column 1: Colour - Red, Red, Green, Green, Blue, Blue

Column 2: Number - One, Two, One, Two, One, Two

Column 3: Shape - Circle, Triangle, Line, Rhombus, Square, Pentagon

 

Required output:

DropDown1: Green (user selected)        DropDown2: Two (user selected)

Text Label: Rhombus (autopopulated)

 

I tried checking other community posts but have found nothing that works for this requirement. What can be done in this case?

Thanks so much!

Categories:
I have the same question (0)
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Xenea 

    Number is a reserved word in PowerApps. I'll use nmbr instead. In a label Text property:

    Lookup(table,Colour=Dropdown1.Selected.Value && nmbr = Dropdown2.Selected.Value, Shape)

     

  • v-albai-msft Profile Picture
    on at

    Hi @Xenea ,

    Have you solved your issue? If the solution provided by @Drrickryp is useful for you, please consider marking his reply as a solution.

    In addition,If your issue is not resolved, please don't hesitate to let us know.

    Best Regards,

    Allen

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