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 / 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,270 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,270 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,270 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

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard