Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Get Items Filter Query Not Working

(1) ShareShare
ReportReport
Posted on by 422

Hello,

 

I have a SharePoint list with a choice column that was originally named Sample3. I changed the column name to Project Status (with a space in between). I'm trying to get the items from that SharePoint list but filter on that choice column to get the items that aren't equal to 'Completed' or 'Cancelled'. 

 

I've tried these three cases in the filter query but keep getting an error that says the query isn't valid:

 

Project Status ne 'Completed' or 'Cancelled'

Project Status Value ne 'Completed' or 'Cancelled'

Sample3 ne 'Completed' or 'Cancelled'

 

MN003_0-1720802020174.png

 

Am I missing something? Or is there something else I should try? I would appreciate any guidance. Thank you!

  • MN003 Profile Picture
    422 on at
    Re: Get Items Filter Query Not Working

    Hi @ManishSolanki,

     

    Thank you so much for the quick reply. That helped me get to the solution. I replaced the ProjectStatus with the original column name of Sample3 and it worked.

    Sample3 ne 'Completed' or Sample3 ne 'Cancelled'

     

    Thank you very much!

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Get Items Filter Query Not Working

    Hi @MN003 

     

    Pls try the below filter query:

    ProjectStatus ne 'Completed' or ProjectStatus ne 'Cancelled'

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492