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 / Filter items in powera...
Power Apps
Answered

Filter items in powerapp by status in SharePoint

(0) ShareShare
ReportReport
Posted on by 37

I have a SharePoint list with a PowerApp as a front end to process failed jobs.  In my list "PO Contents" I have a Status column.  I only want my power app gallery to show me items that are in Status "Failed".  I really do not need the search function either.

 

Current Gallery fx:

SortByColumns(Filter([@'PO Contents'], StartsWith('PO-Number', TextSearchBox1.Text)), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))

 

Any help would be appreciated.

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @BDbadger  - something like this?

     

    SortByColumns(
     Filter(
     'PO Contents',
     Status = "Failed"
     ),
     "Title",
     If(
     SortDescending1,
     SortOrder.Descending,
     SortOrder.Ascending
     )
    )

     

    ------------------------------------------------------------------------------------------------------------------------------

     

     If I have answered your question, please mark your post as Solved.

    If you like my response, please give it a Thumbs Up.

     

  • BDbadger Profile Picture
    37 on at

    Thanks, that didn't work. It seems to wipe out my gallery.

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @BDbadger - what is the field type for your Status column?

  • BDbadger Profile Picture
    37 on at

    @Amik  - it is a choice column.

  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @BDbadger,

    change:

     

     Status = "Failed"

     

     
    to:

     

     Status.Value = "Failed"

     



    ------------------------------------------------------------------------------------------------------------------------------

     

     If I have answered your question, please mark your post as Solved.

    If you like my response, please give it a Thumbs Up.

  • BDbadger Profile Picture
    37 on at

    @Amik - That was it! Much Appreciated!  Cheers!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard