Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

ODATA Filter Query using Power Apps trigger parameter

(1) ShareShare
ReportReport
Posted on by 2
Hi,
Newbie here. I'm getting an invalid expression error in ODATA filter query for SharePoint Get Items.  The flow is triggered by Power Apps and requires 4 parameters, MinimumNumber, MaximumNumber, DueMonth, and DueYear.  I want to retrieve items from my KBRecurrences list where its column "DueDay" is ge MinimumNumber.  
 
The error appears when I attempt to add the expression:  DueDay ge triggerBody()?['number'].  I selected MinimumNumber from the Dynamic Content and it entered the code triggerBody()?['number'] itself.
 
I have tried combinations of:
  • Changing DueDay to Due_x0020_Day. Note: DueDay the actual field name in SharePoint list settings. It's displayed as Due Day in list view.
  • Changing DueDay to 'Due Day' (this allowed me to add the expression, but returned Bad Request error during testing)
  • Using the parameter title, e.g., ge triggerBody()?['MinimumNumber']
  • Adding quotes around criterion 'triggerBody()?['number']'
 
Please help a Newbie out! :)
Thanks!
 
 
 
       
 
 
   
    
 
 
 
 
 
 

 
  • narayan225 Profile Picture
    2,507 Super User 2025 Season 1 on at
    ODATA Filter Query using Power Apps trigger parameter
    You don't need to add the ODATA filter inside the expression.
    You can just put it plain in the input of that field in action Get items.
     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >