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 / Auto Select Gallery it...
Power Apps
Unanswered

Auto Select Gallery items based on textinput

(0) ShareShare
ReportReport
Posted on by 538

Friends,

 

Is there any way that Gallery items can be automatically selected based on the matching value.

 

Example : textbox having value of 89893 and Gallery is having 10 line items in which 5th line items having value of 89893 and that should selected automatically since textbox having same value. 

Gallery example .

 

AVTS_0-1646255744629.png

 

is this possible.

 

Please advise, 

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @AVTS 

    For the most part, you can't select a number type column from a textinput box but there are several ways to get around this.  You can make the order number a text type column and depending on the datasource, you could use Search() or Filter() on the gallery.  For example, the Gallery items property could be Search(yourdatasource, TextInput1.Text,"Order Number"). If you wanted to keep the Order Number as a number, set the Gallery Items property Filter(yourdatasource,, StartsWith('Order Number', TextInput1.Text))

  • AVTS Profile Picture
    538 on at

    Hi @Drrickryp thank you for your response.

    I having two conditions here,

    Conditions 1 . I should be able to manually select the line items inside the gallery which is working fine.

     

    By selecting its navigating to next screen .

     

    Navigate(Services_Nonscan);
    Set(varLMApprovalDate,Now());

     

    Conditions 2 . 

    By Default if same order numbers is available in textinput then Gallery Items should be selected itself by default, 

     

    Gallery items code i am using "GroupBy(test9,"orderNumber","customerCode","activityClass","orderstatus")"

     

    But filtering cannot be used here since it will filter particular number which is matching with textinput.

     

    please advise.

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
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard