Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Text search box + combo box filter

(0) ShareShare
ReportReport
Posted on by 7

Hi

 

I'm struggling with setting up filtering by text in textsearchbox (TextSearchBoxBooking) and combobox (ComboBox1) value.

Here's how my formula looks like at the moment:

SortByColumns(Filter([@KitBooking_test], StartsWith(Title, TextSearchBoxBooking.Text)), "ID", If(SortDescending1, Descending, Ascending))

 

I have tried a few different setups but none of these worked so far.

For example, i need to filter by item name put into the text search box, but also I need to be able to filter by statuses of items, which are listed in the combo box.

The data source for this app is a  single SharePoint.

  • Re: Text search box + combo box filter

    Hi @Kakadu,

    Could you please Mark the replay as an answer?

    Thanks for your cooperation.

  • Kakadu Profile Picture
    Kakadu 7 on at
    Re: Text search box + combo box filter

    Had to modify it a bit, but it works!

    Thank you very much @EdViegas for support 🙂

  • Verified answer
    EdViegas Profile Picture
    EdViegas 436 on at
    Re: Text search box + combo box filter

    Assuming that Statuses is a LookUp column, try:

     

    SortByColumns(
     Filter(
     [@KitBooking_test], 
     And(
     StartsWith(Title, TextSearchBoxBooking.Text),
     Or(
     ComboBox1.Selected.ID = Status.Value,
     IsBlank(ComboBox1.Selected.ID)
     )
     )
     ), 
     "ID", 
     If(
     SortDescending1, 
     Descending, 
     Ascending
     )
    )

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard