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 / SharePoint Get Items -...
Power Automate
Unanswered

SharePoint Get Items - ODATA Filter Help

(0) ShareShare
ReportReport
Posted on by 86

Hi all, 

 

I'm having trouble using the SharePoint Get Items action when filtering by a Lookup column.  I'm not getting any results when I know there should be.  The output value of the Get Items always returns empty. 

 

Here's the flow:

OData_Filter_Query1.png

 

Here is the list. If I pass in P2404002 I expect to see four items returned. 

 

OData_Filter_Query2.png

 

This is the configuration of the Project No Lookup column.

 

OData_Filter_Query3.png

 

Thanks,

-Greg

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @greddin1 

    Try this - use Project_x0020_No/Title instead of Project_x0020_No

    Please let me know if this wors for you.

     

  • greddin1 Profile Picture
    86 on at

    Thanks Scott. I tried that but still no results.

     

    OData_Filter_Query4.png

  • greddin1 Profile Picture
    86 on at

    I've also tried Project_x0020_No/Id as well.  But still don't get the results.

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @greddin1 

    I just ran a test using internal_col_name/Title and it works for me.

    Make sure that the case of your input matches what is in the list.

    Is the lookup column a multi-select?

     

  • greddin1 Profile Picture
    86 on at

    No, just a single select. Here's the configuration of the field.

     

    OData_Filter_Query3.png

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @greddin1 

    Just for fun, try hard coding a Project No in the OData filter and see what happens.

  • greddin1 Profile Picture
    86 on at

    I managed to get it working from reading this post here: https://powerusers.microsoft.com/t5/Building-Flows/ODATA-Filter-queries-on-LookUp-columns-from-a-SP-List/td-p/84882

     

    My query needed to be Project_x0020_No/ProjectID eq ...  (where ProjectID is the internal name of the column from the parent list. 

     

    Thanks!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard