Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

PO balance tracking with sharepoint using power automate


I have created a Power App to add or edit items in a SharePoint list. Here, I want to do two things, which were confusing for me, and hopefully could be done flow.

The SharePoint list is for tracking the POs and Invoices. In the case of partial deliveries, there will be multiple invoices for the same PO (Simple example given in the below picture). In this case, I want to do the following:


1. Compare the multiple invoice lines for the same PO and return what is the balance amount. (PO amount - Total Invoice amount) 

2. Duplicate the same line item automatically (if the PO amount is greater than the total invoice amount).




If there is a better solution for the above problem, please feel free to advise me.


And if you need any clarification please let me know.


Thanks in advance.

@Rhiassuring | @Pstork1 | @ScottShearer | @DamoBird365 | @Expiscornovus 

Super User
Super User

@PrasoonSur personally I would do all this within the Power App and not use a flow at all, but those you have asked for help may have a good solution for you.

Hi, if you have a solution for how to do this within power app, please help.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,702)