cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

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
Highlighted
Community Support
Community Support

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

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.
Highlighted
Frequent Visitor

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

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, 

 

Highlighted
Community Support
Community Support

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

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,253)