web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filtering Dynamics 365...
Power Automate
Unanswered

Filtering Dynamics 365 data based on date field using function

(0) ShareShare
ReportReport
Posted on by

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

 

 

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard