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

Filtering Dynamics 365 data based on date field using function

All --

 

I'm working on a flow to identify records from Dynamics 365 that have an estimated close date that is before todays date but am running into issues when trying to use the now() function.  The error message I receive is that the now function isn't supported.  

 

Is anyone aware of a different method to filter a date time field based on current date?

 

Thanks,

Eric 

 

Capture.PNG

 

 

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Filtering Dynamics 365 data based on date field using function

Hi @eraarup,

 

Try this and see if it would help:

 

In addition to use the Filter Query, we may also work with the Filter Arrary Action:

Under the condition, copy and paste the following formula:

@greaterorequals(
            formatDateTime(item()?['estimatedclosedate'], 'yyyymmddHHss'),
            utcnow('yyyymmddHHss')
            )

 

 11.PNG

Regards,

Michael

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

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (7,045)