Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Get Items - filter on a SharePoint list date column (multiple words)

Trying to create a filter in flow for a SP list where if the date of Archive 2 is in the past, the flow works


'Archive_x0020_2' lt 'addDays(utcNow(),+0,'yyyy-MM-dd')'


This is what I currently have and I'm getting a invalid query.  This syntax looks to be correct but I can't find any examples online where the column is multiple words so I went with how SP sees the column name


The query is not valid.
clientRequestId: e9bd9ff2-aa15-43a1-835d-f51cb30d26d3
serviceRequestId: e9bd9ff2-aa15-43a1-835d-f51cb30d26d3

Super User
Super User

Get rid of the single quotes around 'Archive_x0020_2' for starters.

Assuming your expression is an expression and not just written into the query?







Super User
Super User

Did removing the single quotes help?



Different error message.  So you can't filter on a calculated column?


The field 'Archive_x0020_2' of type 'Calculated' cannot be used in the query filter expression.
clientRequestId: d74ea6ca-9cb2-4f02-ad47-673d9a96f98d
serviceRequestId: d74ea6ca-9cb2-4f02-ad47-673d9a96f98d

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,008)