cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Help with calculating sum of all customers balances

Hello,

 

I have a PowerApp that I've created to help manage collections data across multiple properties and customers. Some customers appear in this list up to 50 separate times. I've figured out how to create a collection and use a formula that counts the number of rows for each customer and displays that information from within the PowerApp. I would like to add onto this by using a row in the data called "BALANCE AMOUNT" to calculate the sum of each customers outstanding balances. The formula I'm using for the collection currently is below. Thank you for any and all help!

 

ClearCollect(
Collection_2,
ShowColumns(
AddColumns(
GroupBy(
'New Collections DB',
"CUSTOMER_x0020_NAME",
"# of Invoices"
),
"Count of Invoices",
CountRows('# of Invoices')
),
"CUSTOMER_x0020_NAME",
"Count of Invoices"
)
);

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Post Patron
Post Patron

Re: Help with calculating sum of all customers balances

Figured out how to do this when I stumbled across this post.

 

https://powerusers.microsoft.com/t5/Using-PowerApps/GroupBy-and-Sum/td-p/68831

 

Thanks!

Carl

View solution in original post

1 REPLY 1
Highlighted
Post Patron
Post Patron

Re: Help with calculating sum of all customers balances

Figured out how to do this when I stumbled across this post.

 

https://powerusers.microsoft.com/t5/Using-PowerApps/GroupBy-and-Sum/td-p/68831

 

Thanks!

Carl

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,187)