Skip to main content

Notifications

Community site session details

Community site session details

Session Id : LPGFCe34rZqKYBTrDipyYe
Power Apps - Building Power Apps
Unanswered

Search and Filter Function in Powerapps

Like (0) ShareShare
ReportReport
Posted on 12 Apr 2023 12:11:50 by 6

Hello Everyone,

 

My datasource is an excel table in OneDrive. I am working on a combined search and filter.

This is my formula and i can't seem to get it right. Kindly help out and thank you in advance.

 

Search(
Product,
SearchInput.Text,
"ProductName",
"ProductNumber"


&&

Filter(
Product,
'ProductCategory ID' = 'Product Categories'.Selected.'Category ID'
)

  • theapurva Profile Picture
    965 Super User 2024 Season 1 on 17 Apr 2023 at 14:01:18
    Re: Search and Filter Function in Powerapps

    Hello @Yemice :

    First try only this formula:

    Filter(
    Product,
    'ProductCategory ID' = 'Product Categories'.Selected.'Category ID'
    )

    If this worked correctly, Issue would be with the search function.

    Please check the column names are spelled correctly.

    try to type the column names. So that intelligence can help you with correct name.

  • Yemice Profile Picture
    6 on 14 Apr 2023 at 17:14:02
    Re: Search and Filter Function in Powerapps

    @theapurva and anyone,

     

     

     

    Search(
    Filter(
    Product,
    'ProductCategory ID' = 'Product Categories'.Selected.'Category ID'
    ),
    SearchInput.Text,
    "ProductName",
    "ProductNumber"
    )

     

    The Search function returns a blank. Please help! thanks in advance

  • Yemice Profile Picture
    6 on 12 Apr 2023 at 13:24:47
    Re: Search and Filter Function in Powerapps

    @theapurva 

     

    Thank you for your time, with your formula, the search function does not work but the filter works however there are no error messages.

    Both functions independently but when i combine them i get error messages.

  • theapurva Profile Picture
    965 Super User 2024 Season 1 on 12 Apr 2023 at 12:17:03
    Re: Search and Filter Function in Powerapps

    Hello @Yemice ,

    Please try below code:

    Search(
    Filter(
    Product,
    'ProductCategory ID' = 'Product Categories'.Selected.'Category ID'
    ),
    SearchInput.Text,
    "ProductName",
    "ProductNumber"
    )
    
    

     

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started