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 / Stuck with filter and ...
Power Apps
Unanswered

Stuck with filter and search for a table

(0) ShareShare
ReportReport
Posted on by 36

Getting stuck on this filter and search qurey for my table.  To me a make sense. however Im not sure if it just too much for it handle that it is giving me an error. 

 

Filter('DISP:RUN_SHEET', !

Filter('DISP:RUN_SHEET', !//qpkchk.Value = true, Area.Value = "QPK", !Cargochk.Value = true, Area.Value = "Cargo", !Mailchk.Value = false, Area.Value = "Mail",
'Created By'.DisplayName = Office365Users.MyProfileV2().displayName || !Toggle1,
 Status.Value = "Pending" ||
 Status.Value = "Accepted" ||
 Status.Value = "Pick up" ||
 Status.Value = "Drop off" ||
 !Toggle2
 
 
); Search('DISP:RUN_SHEET',Search.Text,Runner_Column1)

qpkchk.Value = true, Area.Value = "QPK", !Cargochk.Value = true, Area.Value = "Cargo", !Mailchk.Value = false, Area.Value = "Mail",
'Created By'.DisplayName = Office365Users.MyProfileV2().displayName || !Toggle1,
Status.Value = "Pending" ||
Status.Value = "Accepted" ||
Status.Value = "Pick up" ||
Status.Value = "Drop off" ||
!Toggle2

); Search('DISP:RUN_SHEET',Search.Text,Runner_Column1)

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @wmedina 

    Your logic in your filter criteria doesn't make a lot of sense!  Not sure exactly what is what in your criteria as there are too many unknowns from your post.

     

    Also, you cannot use two functions in a property like that unless they are "feeding" each other.  Yours does not, it is a separate function - that is not allowed.

     

    At best guess on the logic, your formula should be the following:

    Search(
     Filter('DISP:RUN_SHEET', 
     (qpkchk.Value || Area.Value = "QPK"),
     (Cargochk.Value || Area.Value = "Cargo"), 
     (Mailchk.Value || Area.Value = "Mail"),
     'Created By'.DisplayName = User().FullName,
     !Toggle1.Value || Status.Value = "Pending" || Status.Value = "Accepted" || Status.Value = "Pick up" || Status.Value = "Drop off" || !Toggle2.Value
     ),
     Search.Text,
     "Runner_Column1"
    )

     

    I hope this is helpful for you.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard