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 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
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard