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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (4,198)