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 / Flow cannot use choice...
Power Automate
Unanswered

Flow cannot use choice column in OData Filter of SharePoint Get Items step

(1) ShareShare
ReportReport
Posted on by 358

We are building a flow that will Get Items from a SharePoint List and filter based on a choice column called Status looking for only certain values such as Pending, Approved etc.

 

What we want to do is

  1. manually trigger the flow (later on it will be a recurrence on a schedule),
  2. then Get Items from our SharePoint List ContractDataBase
  3. then somehow filter the output of Get Items (inside an Apply to each) where the Status column = "Pending"
  4. output that to an MS Excel table in a file.

 

When we tried doing it with a second Get Items filtering the first Get Items we can only see Status Value (no "Status" column"), so we get errors like "Approved is not a column name"...

Contracts Report 1.JPGContracts Report 2.JPGContracts Report 3.JPG

 

So, we thought we could use a Filter array step as below unfortunately, the output of the Filter Array step is not available, only the Apply to each:

Contracts Report 4.JPG

 

So how do we do what we are trying to do...we need to be able to filter the SP list based on the Status choice column, and output the filtered dataset to our MS Excel report

Categories:
I have the same question (0)
  • Verified answer
    livingstonep Profile Picture
    358 on at

    we found the solution.

     

    it turns out that you can reference the same list in the OData filter query, just you cannot choose the columns dynamically:

    Contracts Report 5.JPG

     

    so in our case, all we had to do was write column name eq value

    status eq 'pending'

     

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard