web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter using IN Operator
Power Apps
Unanswered

Filter using IN Operator

(0) ShareShare
ReportReport
Posted on by 4

I have a collection used in a gallery. On start of the app, a search box by default is blank, filters the gallery using IN operator.

Filter(myitems, SearchField.Text in Title)

 

This filter works and shows all my records, but suddenly stops working during App.OnStart. The only way to enable it again is by typing values in the search field and deleting the values, then all records appear in the gallery.

 

Any thoughts on how to fix?

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @gray ,

     

    Please clear SearchField's Default property and try again.

     

    Best Regards,

    Bof

  • gray Profile Picture
    4 on at

    I did but its still the same. The issue roots from using Text Input Modern Control. When I replaced it with the regular Text Input Control, the filter function works.

  • gray Profile Picture
    4 on at

    @v-bofeng-msft  Could this be a bug from the modern control that needs to be reported?

     

    Thanks!

  • v-bofeng-msft Profile Picture
    on at

    Hi @gray ,

     

    At present, modern controls are in preview, and we do not recommend using them in a production environment. We suggest temporarily using classic controls until PowerApps officially releases stable modern controls suitable for production use.

     

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard