web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Contains as ODat...
Power Automate
Unanswered

Using Contains as OData Filter - Excel Rows

(0) ShareShare
ReportReport
Posted on by 20

Trying to filter "List Rows Present in a Table" to only list rows where a column labeled "Date Opened" on the table contains the "Date Triggered" by the manual flow. I keep getting different errors based on how I approach this, if I try without variables (formula: @contains(item()?['Date Opened'], triggerBody()['key-button-date'])) I get this error: One or more fields provided is of type 'Null', a different type is expected. If I try with variables the error states the function is unsupported.

 

If I try this formula: 

contains('Date Opened','10-03-2023')
I get this error: Invalid filter clause: unsupported operation. Only single 'eq', 'ne', 'contains', 'startswith' or 'endswith' is currently supported.
clientRequestId: 15b3c0f3-acb9-45aa-bb21-65ea18c8a3e7
 
Can anyone help me figure out how to filter for "Date Opened" contains "Date" (triggered)?
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: Using Contains as OData Filter - Excel Rows

    contains is used for lists of items.  Did you mean to use eq ?  Note that dates need to be compared to ISO8601 format.

  • bsprakermg Profile Picture
    20 on at
    Re: Using Contains as OData Filter - Excel Rows

    If I use eq, then I have to account for the formula to match the dates (excel format is different than power automate) and I am still having the same problem. Could you suggest a formula using eq that would work?

  • lbendlin Profile Picture
    8,474 Super User 2025 Season 2 on at
    Re: Using Contains as OData Filter - Excel Rows

    can you post a sample Excel file?

  • bsprakermg Profile Picture
    20 on at
    Re: Using Contains as OData Filter - Excel Rows

    bsprakermg_0-1696427566371.png

     

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard