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 Collection by M...
Power Apps
Answered

Filter Collection by Multiple Inputs

(0) ShareShare
ReportReport
Posted on by 50

Hi, 

 

I'm currently trying to build an app which can filter an ADS table into a collection in the app using mutliple criteria. 

 

This is the formula I currently have to filter by Project Number and this works. 

SamBrent_0-1705417666294.png

The project number field is mandatory so will always need to be filtered by that first. 

 

I would also like to add an option to filter by the below fields too, but these are not mandatory so some may be left empty when filtering. I can not find a way of doing this so any help would be apprectiated. 

SamBrent_1-1705417782749.png

 

Thanks in advance.

Categories:
I have the same question (0)
  • Verified answer
    WiZey Profile Picture
    3,023 Moderator on at

    Hello @SamBrent ,

     

    My method to filter on non-mandatory columns is to use "||" operator with "IsBlank()":

     

    Filter(
     table,
     column1 = Input1, //Mandatory column, will return records corresponding to input
     column2 = Input2 || IsBlank(Input2) //Non-mandatory column, will return records corresponding to input OR all records if input is empty
    )

     

    I hope this was helpful to you.

  • SamBrent Profile Picture
    50 on at

    Thanks @WiZey  - That's worked 🙂 

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard