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

Filters with Or

(0) ShareShare
ReportReport
Posted on by 1,265

I am new to Power Apps but working on a SP List (Safety Good Catch Items).  As shown below, I have created a Filter Container and want to Filter records on Status OR AssignedTo (I can see that I will need additional Filters using AND in the future).  Regardless, I have the following and am trying to see...

1.  All records OR

2. Records with Status = Selected Radio Button OR

3. AssignedTo = Selected  Dropdown result 

 

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

 

RJF61_0-1665690313382.png

I am not receiving the results I expect.  If I select an AssignedTo (with no Status choice), ALL records are still displayed.  I assume it is in my OR logic.  Again, another filter will soon include Status = In Process by Assigned To.

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

    @RJF61 

    Please consider changing your Formula to the following:

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

     

    You just need to account for the blank selection.

     

    I hope this is helpful for you.

  • RJF61 Profile Picture
    1,265 on at

    @RandyHayes Thanks for the response.  My only question is the default value for the AssignedTo is --- (not Blank).  Does that make the final OR AssignedTo.Value = ---?

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

    @RJF61 

    Yes...I was wondering about that (from your picture).


    So change the formula to:

    Filter('Safety Good Catch Items',
     Status.Value = Radio2.Selected.Value || IsBlank(Radio2.Selected.Value) ||
     AssignedTo.Value = DrpdwnAssign.Selected.Result || DrpdwnAssign.Selected.Result="---"
    )
  • RJF61 Profile Picture
    1,265 on at

    @RandyHayes Again, thanks for the response and suggestions.  I'm still having an issue when the AssignedTo is the Filter selection.  Regardless of the AssignedTo selection, there is no change change in the records displayed.

     

    I currently have...

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

    The AssignedTo Choices (from SP) are...

    ---

    Name 1

    Name 2

    etc.

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 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard