Skip to main content

Notifications

Community site session details

Community site session details

Session Id : e9K7pXERQAiwwiX0rQNmA5
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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 20

#2
BCBuizer Profile Picture

BCBuizer 10 Super User 2025 Season 1

#2
LC-26081402-0 Profile Picture

LC-26081402-0 10

Overall leaderboard
Loading started
Loading complete