Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Nested Filters - My Head Hurts

(0) ShareShare
ReportReport
Posted on by 207

I have a gallery that has 4 columns, "Building", "Call Type", "Comments", "Date/Time" & I want the user to be able to filter any combination of the above columns.

 

I currently have it working for 2 fields with a nested "And" "Or" filter, but need to add another 2 conditions, but totally confused with the nested layout.

 

The current working code is... and allows me to filter a combination of either "Call Type" or "Comments" or both together. I now need to add 2 more filters.  What is the correct nested formatting.

 

Filter('Calls Logged',
And(
Or(
IsBlank(ComboBox1.Selected.Value),
IsEmpty(ComboBox1.Selected.Value),
'Call Type'.Value = ComboBox1.Selected.Value
),
TextInput2.Text in Comments Or IsBlank(TextInput2.Text)
))

 

Thanks in advance

Categories:
  • StuartSmith Profile Picture
    207 on at
    Re: Nested Filters - My Head Hurts

    Thanks, that helped.

  • StuartSmith Profile Picture
    207 on at
    Re: Nested Filters - My Head Hurts

    Thanks, i'll take a look.

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard