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 / Filter and search with...
Power Apps
Unanswered

Filter and search with text field and dropdown

(0) ShareShare
ReportReport
Posted on by 421

Hi everyone.  I have a gallery that is being populated by another gallery that I am trying to use Search on the field called Name and also use a dropdown on the field called status.  I am using Dataverse for my data source, so using Search in this case is ok, I cannot use StartsWith.  Also, when the text field is blank, I need it to show all items filtered by the first gallery(gallery5)

 

I have tried multiple formulas, and this one seems to work the best, I am struggling to add in the formula to include the dropdown for status

 

Search(SortByColumns(Filter(AmusementAssets, Gallery5.Selected.ActualStoreNumber = CurrentStoreNumber ),"cr3db_name",Ascending),TextInput4.Text,"cr3db_name").

 

Thank you all for your help!

 

Chris

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

    @ckserra33 

    Since you are using Dataverse, there may be a better way to do this.  It appears that there is a one to many relationship between the AmusementAsset table and the Stores table.  If you have one set up, you can do a filter using dot notation between a gallery of Amusement assets and Stores table, by using Gallery5.Selected.Stores as the Items property of the second gallery. You can then Search it further and sort the results.

     

  • ckserra33 Profile Picture
    421 on at

    Hi @Drrickryp .  I am very new to Dataverse.  I will look into this kind of filtering.  Thank you!

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

    Hi @ckserra33 ,

     

    Could you please tell me:

    • What is the status column's data type? Is it a text column or a choice column?
    • What is the drop down's items property? What is the relationship with the dropdown and status?

    Maybe you could try:

    Filter(
     SortByColumns(Filter(AmusementAssets, Gallery5.Selected.ActualStoreNumber = CurrentStoreNumber ),"cr3db_name",Ascending),
     TextInput4.Text in "cr3db_name" && dropdown.Selected.value = cr3db_status
    )

     

    Best Regards,

    Bof

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard