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 / Add parameter Start da...
Power Automate
Answered

Add parameter Start date, End date and filter the record between the dates

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I need help regarding adding parameters in the power automate and compare the dates.

 

For example, I need two parameters for users to enter the Start Date and End date in Power automate. This two-parameter compares with the Transaction date.  Start date < Transaction date AND End date > Transaction date.

 

How can I achieve this in Power automate?

 

 

 

Categories:
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hi @Anonymous ,

     

    - This is an example for an Instant flow

    Select "Add an Input" and choose Date.

    One each for Start and End date

    VJR_0-1631617532580.png

     

    - Once the inputs are chosen, the Start and End dates will show up in the Dynamic Content

    Select both of them in the condition one at a time

    VJR_1-1631617750463.png

     

    - In the condition box compare it with the Transaction Date you already have.

    Choose the less than and greater than operator per your requirements.




    -------------------------------------------
    Help fellow beings find relevant posts.
    Upvote for a supporting response.
    Mark as solution for an answer.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello,

     

    I did this already, but getting an error for date comparison.

    paragchapre_0-1631618298871.png

     

    I am getting the below error.

    A binary operator with incompatible types was detected. Found operand types 'Edm.Date' and 'Edm.String' for operator kind 'GreaterThan'.

     

  • VJR Profile Picture
    7,635 on at

    Found operand types 'Edm.Date' and 'Edm.String' for operator kind 'GreaterThan'.

    The error states that a comparison is made between a Date and a String datatype.

    Please check the operands being compared.




    -------------------------------------------
    Help fellow beings find relevant posts.
    Upvote for a supporting response.
    Mark as solution for an answer.
     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 315 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 267

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard