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 / Search and Filter Func...
Power Apps
Unanswered

Search and Filter Function in Powerapps

(0) ShareShare
ReportReport
Posted on 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'
)

Categories:
I have the same question (0)
  • theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    Hello @Yemice ,

    Please try below code:

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

     

  • Yemice Profile Picture
    6 on at

    @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.

  • Yemice Profile Picture
    6 on at

    @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

  • theapurva Profile Picture
    970 Super User 2024 Season 1 on at

    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.

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 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard