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 / Search based on previo...
Power Apps
Answered

Search based on previous screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I can perform a seach based on athlete's name on Screen1.  When the results come back for the athlete, it will have several unique records with "Race Number" as unique identifier for all the races the athlete have for the event.

 

When athlete clicks/presses the interested record, I want to list all other athletes who will be in the same race "Race Number" on the following screen.  

 

Thanks in advance...

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Netpaddler,

     

    We could take use of filter function to achieve this goal.

     

    If it is a gallery control (Gallery1) under Screen1 which you used to choose the interested record with the proper athlete, then on hte following screen, we add another gallery to list the all other athletes, then set its items property with the formula below:

    Filter(Datasource, 'Race Number'=Gallery1.selected.Race_Number)

    Formula may change based on your data structure and the the control used.

    Adding some additional reference:

    Filter, Search, and Lookup functions in PowerApps

    Controls and properties in PowerApps

    Regards,

    Michael

  • Netpaddler Profile Picture
    Microsoft Employee on at

    Oh thank you!  That was exactly it.

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Netpaddler,

     

    Would you please accept it as the solution if this works?

     

    Regards,

    Michael

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard