cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Filter Query - Get file properties based on calculated column due date

I am trying to use the Filter Query options in a Get Files Properties from SharePoint action.

The SharePoint Document library contains a calculated column 'DueDate'.

i want to get items with where DueDate equals today

Help would be much appreciated.

Thanks,

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @irene ,

 

You could consider adding a parallel branch and filtering the files using the fields you mentioned.

The action of each branch configuration is similar, as below:

25.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support
Community Support

Hi @irene ,

 

Currently, Filter Query does not support configuring Calculated column as a filter parameter.

{
  "status": 400,
  "message": "The field 'DueDate' of type 'Calculated' cannot be used in the query filter expression.\r\nclientRequestId: 9cbfe98d-f39b-4a32-88be-97b4bed87dc6\r\nserviceRequestId: 23fbc39e-008f-8000-1099-ac01787ba94e"
}

You could use Filter array to filter the files that match the criteria. Filter array accepts the field of type Calculated column as the filter condition.

Image reference:

16.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-bacao-msft  , thank a lot for this solution. 

in my case i have 3 due dates(two of them are calculated columns, the third is date time column) with 3 different emails. 

please what should i use?

Bests, 

 

Hi @irene ,

 

You could consider adding a parallel branch and filtering the files using the fields you mentioned.

The action of each branch configuration is similar, as below:

25.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (57,132)