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 / Clear Last/Current AND...
Power Apps
Answered

Clear Last/Current AND in Filter

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone,

I'm building an App with a Connection to Azure DevOps, where I get all the Work Items I need from a Query.

I have built an "Assigned to Me"-Filter, but the problem is that I can only apply the filter in the positive direction.

Means I can filter the gallery by Me but can't "clear" the filter so that I can see all Work Items from other users and unassigned Work Items.

Here is what the filter kinda looks like:

Filter(Condition1 And Condition2 And PlainText('System.AssignedTo') = If(Checkbox1.Value = true, User().FullName),...))

So what I can't figure out is the Else Case. If I just put "" in, I get an error and if I put Blank() in, I just get the unassigned Items.

(Condition1 and 2 are filter for status code etc.)

 

Long Story short, here my Question:

Is there a way to say "if last AND Case is false, just ignore it" or to clear just a part of a gallery filter?

 

Please don't hesitate to ask me if something is not understandable.

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Not sure about what happened to you, but you could not ignore one condition or clear this filter.

     

    You could only write another if statement to define that a part of filter is cleared if the last And case is false, just for example:

    Filter(If(condition1 And condition2 And condition3,result1,condition1 And condition2 And condition3_is_false,result2),..)

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

#2
11manish Profile Picture

11manish 205 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard