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 / Issue with filtering d...
Power Automate
Suggested Answer

Issue with filtering data with Choice column in Get Items

(0) ShareShare
ReportReport
Posted on by
Hi everyone,
 
I’m not sure what changed, but the “Get items” procedure had been working as expected since it was created and has suddenly stopped returning any data this week.
Cancelled column is a Choice column in our SharePoint list with 'Yes', and 'No' values. 
 
This is what the data looks like when I tested without any conditions.
 
"Cancelled": {
          "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
          "Id": 0,
          "Value": "Yes"
        },
"Cancelled#Id": 0
 
Tried different conditions but nothing is working:
'Cancelled/Value' eq 'Yes'
Cancelled/Value eq 'Yes'
Cancelled_x0020_Value eq 'Yes'
Cancelled_Value eq 'Yes'
Cancelled#Id eq 0
'Cancelled#Id' eq 0
Cancelled/Id eq 0
'Cancelled/Id' eq 0
Cancelled eq 0
 
Any suggestions please?
Categories:
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    This is expected behavior with SharePoint Choice columns.
     
    In Get items, you can’t reliably filter on Cancelled/Value.
    SharePoint only supports filtering on the choice ID.

    Try below:
         Cancelled/Id eq 0
    OR
          item()?['Cancelled']?['Value'] equals 'Yes'
     
     
    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
  • Suggested answer
    Mahesh Birudu Profile Picture
    28 on at
    Hello Rogue,
     

    At times, this issue may be due to connector inconsistencies or limitations within OData.

    Could you please apply the logic outlined below to ensure a smoother process?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard