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 / How to auto populate D...
Power Apps
Answered

How to auto populate Dropdown based on Textbox Input

(0) ShareShare
ReportReport
Posted on by 40

Hi Community,

 

basically I have list called PDItemlist. it has 2 Columns are FilmNumber (Single Text) and CylinderNumber (Single Text).

 

so I want to achieve, when I input FilmNumber (Text Input), the Clindernumber (Dropdown) will auto populated record from PDItemlist.

 

Am4ree_0-1662350677878.png

 

I have tried to input this code to dropdown items property but not work.

 

Am4ree_1-1662350777935.png

 

Any advise?

 

Thanks.

am4ree

 

 

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,937 Moderator on at

    Hi,

    you haven’t mentioned which column to display on the second dropdown. 

    LookUp(PDItemlist, baancylindernumber =txtFilmnumber.text, cylindernumber)
    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • CU22070439-0 Profile Picture
    40 on at

    Hi @Gochix ,

     

    I have tried your code but error prompted on the code. 

     

    Am4ree_0-1662351971553.png

     

  • Gochix Profile Picture
    1,937 Moderator on at

    Sorry I haven’t noticed that first check was incorrect in your code. This should work:

     

    LookUp(PDItemlist, txtFilmnumber.text = FilmNumber, cylindernumber)


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • CU22070439-0 Profile Picture
    40 on at

    Hi @Gochix 

     

    Not luck, I still got error prompted

     

    Am4ree_0-1662356541362.png

     

  • CU22070439-0 Profile Picture
    40 on at

    Finally I can auto populated the dropdown but there is still something I need to achieve which is I only seen 1 record at the moment and should be 2 record based on filmnumber I have inserted.

     

    below is sample

     

    Am4ree_1-1662357473220.png

     

    I found 2 record based on FilmNumber I had inserted but in the dropdown only show 1 record

     

    Am4ree_2-1662357565792.png

     

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Am4ree ,

     

    Cause lookup can only return the first record that meets the criteria. In order to get multiple records, please use "Filter" instead of "LookUp" .

     

    Best Regards,

    Bof

  • CU22070439-0 Profile Picture
    40 on at

    Thanks @v-bofeng-msft , Yes I should use filter instead of lookup.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard