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 / 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard