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 / How to get the date co...
Power Automate
Unanswered

How to get the date comparison between 2 dates

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, 

i need help on the day's comparison between 2 different dates which will be starting from middle of months in the flow.

 

Scenario: need the charge i have to give between 2 dates

charges Are:

1)Jan to March -300

2) April to July -200

 

If my invoice comes between 2 charges, that is date > 15(means after 15 days of month) i need to charge from second consequent charge amount.

 

example 1: If the invoice is generated from March 16 - June 17 Then the amount charged is 600(3* 200)

 

example 2: If the invoice is generated from March 15(or <) - June 17 Then the amount charged is 700(2* 200) +(1*300)

 

 

 

 

APPRICIATE YOUR HELP....

 

Categories:
  • Sundeep_Malik Profile Picture
    6,501 on at
  • Ashwinreddy Profile Picture
    Microsoft Employee on at

     

     

    example 1: If the invoice is generated from FEB 15(or <) - June 17 Then the amount charged is 1000(2* 200) +(2*300)

    Where i use tick function then i get days , is there any way again to get months from days

     

    Ashwinreddy_0-1676566515645.png

     

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard