cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CarlHRVA
Level 8

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
CarlHRVA
Level 8

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
CarlHRVA
Level 8

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,102)