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 Apps
Unanswered

Filter Logic

(0) ShareShare
ReportReport
Posted on by 1,265

I have a Power App that I want to Filter.  When the Power App is opened I want the following...

 

1.  When first opened, see All records (no Filter applied) OR

2.  Apply a Filter where only records with a specific Status are displayed (includes All AssignedTo and DaysOld) OR

3.  Apply a Filter where only records AssignedTo a specific individual are displayed (includes All Status and DaysOld) OR

4.  Apply a Filter where only records that are > a certain number of DaysOld (includes All Status and All AssignedTo) 

 

My issue appears to be relative to the Drop Down for the AssignedTo.  AssignedTo is from a SP List Choice Column with values similar to (for the SP default value, I have left the field blank)...

 

---

Adams, John

Burns, Robert

Smith, John

 

How do I make the default value of the Drop Down (AssignTo) Blank or No value?  I believe this would be required to see all records solely based on the Slider DaysOld selection.  I have set the Drop Down default to "" with no success.

 

RJF61_0-1665779467564.png

 

 

 

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @RJF61 

    Sorry I didn't get a chance to respond yet to our last interactive post...

     

    So, you had this formula there:

    Filter('Safety Good Catch Items',
     Status.Value = Radio2.Selected.Value || IsBlank(Radio2.Selected.Value) ||
     AssignedTo.Value = DrpdwnAssign.Selected.Result || DrpdwnAssign.Selected.Result="---"
    )

     

    Where does that fit into where you are now and what problem you are having?

  • RJF61 Profile Picture
    1,265 on at

    @RandyHayes Thanks for the response.  Currently I have...

    Filter('Safety Good Catch Items',
    Status.Value = Radio2.Selected.Value ||
    (IsBlank(Radio2.Selected.Value) && AssignedTo.Value = DrpdwnAssign.Selected.Result) ||
    (IsBlank(Radio2.Selected.Value) && DrpdwnAssign.Selected.Result="---" && DaysOld >= DaysOldSlide) ||
    (IsBlank(Radio2.Selected.Value) && DrpdwnAssign.Selected.Result="---")
    )

     

    The results I see are as follows...

    For "Status.Value = Radio2.Selected.Value" I see the expected results

    For "(IsBlank(Radio2.Selected.Value) && AssignedTo.Value = DrpdwnAssign.Selected.Result)" I see the expected results with names; however, for "---" I see all records.  I have the Power Apps DrpdwnAssign Data default = ""

    For "(IsBlank(Radio2.Selected.Value) && DrpdwnAssign.Selected.Result="---" && DaysOld >= DaysOldSlide)" I see all records regardless of slide setting (location)

     

    RJF61_0-1665838727108.png

     

    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