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

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: Powered On

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

1 REPLY 1
CarlHRVA
Level: Powered On

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

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 237 members 4,910 guests
Please welcome our newest community members: