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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Subtraction operation

(0) ShareShare
ReportReport
Posted on by

Hello community,
I anew to power automate and i am building the leave management system where end user can apply for the leaves every thing is working in good manner but i am struggling in deducting the amount of days leave taken from the leave balance which is in excel. any help i am stuck very badly not able to figure out the way.

Thank in Advance 

Categories:
I have the same question (0)
  • Naveen_772 Profile Picture
    208 on at

    Can you tell us more about the part where you're stuck? Or some screenshot of the flow for better context.

    Is it related to getting data from the excel file or performing the subtraction operation in Power Automate?

    Also if there is any execution of the flow, then please drop the error message.

     

     

     

  • Community Power Platform Member Profile Picture
    on at

     

    tirth_dexter_0-1646050723325.png

    Thanks for spontaneous reply @Naveen_772 ,
    I have created the table in my online excel with name email id and annual leave balance (default value =15).now i have created the approval flow for the leave and i need to subtract the amount of days leave taken from the balance.
    how can i achive that . i have attached the screenshot of the flow for the reference.

    Thanks in advance


    7.png4.png5.png6.png

  • Community Power Platform Member Profile Picture
    on at

    Hello @Naveen_772 ,
    Any solution ? i am stuck very badly need help from experts like you .
    Thanks 

  • Naveen_772 Profile Picture
    208 on at

    @Anonymous 

     

    First : You need to get the number of days a person is going to take a leave. Also you need to make sure that you're excluding the weekends days. 

     

    Second: Once we have the number of days you can subtract it from the leave balance entry. 

     

    I am attaching a flow that you can import into your environment. You can use this as a reference. I have attached notes at the appropriate steps. I hope this helps.

     

     Adding some screenshot too.

    Naveen_772_0-1646209816585.png

     

    Naveen_772_1-1646209904090.pngNaveen_772_2-1646209929955.png

     

    Link for flow :https://drive.google.com/file/d/1rZlXhDI39WCfnFH1ECww5kiYWxlaif9O/view?usp=sharing

     

    Please Accept this as a solution if I am able to solve your issue. Give a thumbs up if it helps you a little bit.

  • Naveen_772 Profile Picture
    208 on at

    @Anonymous  Any Luck?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard