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 / ODATA filter does not ...
Power Automate
Answered

ODATA filter does not work in list in sharepoint

(0) ShareShare
ReportReport
Posted on by 151

Hi Guys!

I'm dealing with a problem I've never seen before in 2 years of using Power Automate, my ODATA filter doesn't work.

I have a list in sharepoint that contains a column with several codes, the column format is "Text with one line". The column name is CodigoCentroCusto.

Guicord101_1-1705500922766.png

 

I have another flow that goes through all the items in this list and does some validations for each code in this column. Over the days I realized that this flow was failing and I looked for the reason...
For some codes, the result of the "Get Items" action simply returns blank data!
See:
In my list, there is a code with the number "3201395" and I can even filter it in the sharepoint list.

Guicord101_1-1705500638149.png

 

But when I have to run a flow to get this item within Power Automate, it just doesn't work.

Guicord101_0-1705500883297.png


The strangest thing is that for some codes it works normally.



Categories:
  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Guicord101 

    Can you check if you use the internal column Name in SharePoint List?

    vyueyunmsft_0-1705541342263.png

     

    You could consider not configuring Filter Query first. After Get items action is executed, check the name of this field in Body, as below:

    vyueyunmsft_1-1705541411018.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

  • Verified answer
    Guicord101 Profile Picture
    151 on at

    I discovered that the ODATA filter has a limitation of 5000 items for non-indexed columns. I activated indexing and I'm running the tests again, I'll post the results here soon.

  • v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @Guicord101 

    According to your description, you have above 5000 items in your SharePoint .

    And as searched, it seems it is a known limitation :
    While using Get items on lists with more than 5000 items with a filter query, you may observe that no records are returned if there are no items matching the filter query in the first 5000 items. To fix this, enable Pagination on Get items from the action settings menu when working with lists with more than 5000 items.

     

    So, you can try to open your  Pagination on Get items from the action settings menu:

    vyueyunmsft_0-1705630126867.png

     

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

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 Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard