cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ladyana2288
Frequent Visitor

Flow - total sum in a list did not show the correct value

 

Hi all, 

 

I am doing leave management system for my company, now i've create flow for annual leave. I want my flow to deduct total annual leave taken from entitlement annual leave. I am using the function increment variable to calculate the total of number of days taken in list. 

 

The problem is my flow not update the correct total sum of annual leave taken in another list (LeaveInfo). The value still show no.of.days from leave application. Below, i show my flow as reference. 

 

I need help to solve my problem. I want the flow to show the total sum for annual leave correctly.
Let say, if user want to apply 1 day from annual leave, and annual leave taken already have 2 days, then the total sum should be 3 days, but my flow still show 1 day in LeaveInfo everytime submit the annual leave. I want the correct value to calculate remaining annual leave balance.

 

screenshot-asia.flow.microsoft.com-2018-01-29-11-17-10-365.png

 

 

1 REPLY 1
v-micsh-msft
Community Support
Community Support

Hi @ladyana2288,

 

Your thread has been moved to the Flow forum.

Besides, for your issue here, would you please share a larger view of the Condition added in your Flow?

And better seperate them into two screenshots.

 

Further, if you could explain how the two lists work here, then we may offer a more suitable workaorund, which may not include the Variable usage, and update the list item directly with the Expressions only.

 

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (19,417)