web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error Get Items Filter...
Power Automate
Unanswered

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
    on at
    Re: Error Get Items Filter Query OData Sharepoint

    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
    Re: Error Get Items Filter Query OData Sharepoint

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard