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 Automate / Error Get Items Filter...
Power Automate
Answered

Error Get Items Filter Query OData Sharepoint

(0) ShareShare
ReportReport
Posted on by 611

I'm having trouble getting the filter right in the OData filter query: 

 

The column name in the Sharepoint list is

Opp Status (Win Loss)

 

This is what I am looking for:

Opp Status (Win Loss) eq 'Open'

 

I've tried: 

Opp_x0020_Status_x0020_(Win_x0020_Loss)

OppStatus(WinLoss)

'Opp Status (Win Loss)' eq 'Open'

 

both come back with the below error:

The query is not valid.

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @TesDA 

    According to your description, an error occurred when you used the filter query in Get items

    Every column in SharePoint has 2 names, internal name assigned by SharePoint and display name defined by you. 

    When filter query, need to use internal name.

    This is my list

    v-LilyW-msft_0-1622169307358.png

     

    About how to find it internal name, you can refer to the screenshots as below:

    1、Select Settings ,and then select list settings.

    v-LilyW-msft_2-1622169307368.png

    2、select the column

    v-LilyW-msft_3-1622169307373.png

    3、Then can find the internal name is ‘OppStatus_x0028_WinLoss_x0029_’ of Opp Status (Win Loss)

    v-LilyW-msft_4-1622169307377.png

    Then please fill filter query as below and test it again.

    OppStatus_x0028_WinLoss_x0029_ eq 'Open'

    v-LilyW-msft_5-1622169364206.png

    Hope the content above may help you.

    Best Regards

    Lily

  • TesDA Profile Picture
    611 on at

    Super helpful! I had no idea. Thank you!!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 124 Super User 2026 Season 1

#2
Ellis Karim Profile Picture

Ellis Karim 52 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 50

Last 30 days Overall leaderboard