cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
eraarup
Level: Powered On

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

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

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 64 members 4,892 guests
Please welcome our newest community members: