I have a calculated column in SharePoint that I use to determine when an item from the SP list should be archived. It's called Archive 2. Basically, when that column is today's date or older, I want my flow to run to delete that item. This list has close to 5000 items in it so I want to use a filter so the flow only looks at those items that meet that criteria. Here is what I have so far and the error I'm getting
Archive_x0020_2 le'utcNow()'
The field 'Archive_x0020_2' of type 'Calculated' cannot be used in the query filter expression.
clientRequestId: 2e30342f-df32-4d1a-84b8-027e3a8f1c3a
serviceRequestId: 2e30342f-df32-4d1a-84b8-027e3a8f1c3a
Any ideas?
Solved! Go to Solution.
Unfortunately you can't use the Calculated Columns with the OData Filter , so what you need to do the calculation in the flow itself so for example you have a calculated column duedate which is 30 days from created on date
So in your flow to Get 30 days in the Past from Today using the Get Past Time and then in your flow add a filter
created eq OutputfromtheGetpasttime
Hope this gives you an idea!
Unfortunately you can't use the Calculated Columns with the OData Filter , so what you need to do the calculation in the flow itself so for example you have a calculated column duedate which is 30 days from created on date
So in your flow to Get 30 days in the Past from Today using the Get Past Time and then in your flow add a filter
created eq OutputfromtheGetpasttime
Hope this gives you an idea!
Thank you
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
32 | |
28 | |
27 | |
21 | |
10 |