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 / Filtering PowerApps Da...
Power Apps
Answered

Filtering PowerApps Data Source

(0) ShareShare
ReportReport
Posted on by 14

Hi, 

 

I am trying to create an app for when our pool car is booked out.

 

I am trying to get the app to show only Approved and Awaiting Approval items as we have a Status column on the list we are using however the app is currently showing all data. 

 

SortByColumns(Filter([@'Pool Car Booking'], StartsWith(Title,TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

 

What is the best way to set the app so it only shows approved and awaiting approval.

 

Thank you

Categories:
I have the same question (0)
  • LRVinNC Profile Picture
    2,297 on at

    You need a compound condition in your filter.  It should look something like:

    SortByColumns(Filter([@'Pool Car Booking'], StartsWith(Title,TextSearchBox1.Text) && (Status = "Approved" || Status = "Awaiting Approval")), "Title", If(SortDescending1, Descending, Ascending))

     

  • RUSH123 Profile Picture
    14 on at

    Hi, 

     

    Thanks for getting back to me! When I enter that text it returns no data but I do get errors regarding invalid argument type browsegallery1.items

     

    Thanks

  • LRVinNC Profile Picture
    2,297 on at

    What data type are you using for your Status field?  

  • RUSH123 Profile Picture
    14 on at

    Complex - it is a drop down menu on the SharePoint list and PowerApp.

     

    Cheers

  • Verified answer
    LRVinNC Profile Picture
    2,297 on at

    Try:

    SortByColumns(Filter([@'Pool Car Booking'], StartsWith(Title,TextSearchBox1.Text) && (Status.Value = "Approved" || Status.Value = "Awaiting Approval")), "Title", If(SortDescending1, Descending, Ascending))

     

    If that doesn't work, please include a screen shot of your column definition in Sharepoint.

  • RUSH123 Profile Picture
    14 on at

    Perfect - Thank you very much!

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard