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 / textsearchbox exclude ...
Power Apps
Unanswered

textsearchbox exclude by value then search remaining items

(0) ShareShare
ReportReport
Posted on by 61

Hi 

 

I'm trying to make my searchbox/gallery exclude all records based on a value (a status of completed) but search the remaining items (and ideally then order by a priority). However i managed to get just not completed items showing but cant get it to search as well.

Filter([@'Corrective Actions Register'], Status.Value <> "Completed" worked fine to just show the records but i can't get the search working...

 

SortByColumns(Filter([@'Corrective Actions Register'], Status.Value <> "Completed", StartsWith('CAR Number',TextSearchBox1.text)),"

 

any help greatly appreciated

 

TIA

 

RiKx_0-1688463894716.png

 

Categories:
I have the same question (0)
  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Hi,

    Plz try this formula, Use (&&) instead of ( ,) may it works

    SortByColumns(
    Filter(
    [@'Corrective Actions Register'],
    Status.Value <> "Completed" && StartsWith('CAR Number', TextSearchBox1.Text)
    ))

    Thanks!

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

  • RiKx Profile Picture
    61 on at

    Hi sadly not :(. same result

  • Rajkumar_M Profile Picture
    3,747 Moderator on at

    Plz try this

    SortByColumns(
    Filter(
    [@'Corrective Actions Register'],
    Status.Value <> "Completed" &&

    StartsWith('CAR Number', TextSearchBox1.Text)),

    "ColumnToSortBy",    // Replace "ColumnToSortBy" with the actual column name you want to sort by


    If(SortDescending, Descending, Ascending)   // Replace "SortDescending" with a boolean variable or expression determining the sorting order


    )

    Thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard