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

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,674 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,674 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,674 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

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