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

View solution in original post

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,510)