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

Notifications

Announcements

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:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    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
    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

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard