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 / 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard