Hi there,
I am having some difficulties on creating the formula to calculate the sum of of each rows (Quantity) based on the columns (Part Number) and store the total sum in column named "Total Quantity".
Ex: Part Number = E-000001, Total Quantity is 27.
Can anyone help me on doing this, because I didn't found any tutorial on this. Thanks in advance.
Hello@Samuel-Zhou do u received my message?
@Az8PnG Hi,we can use private message to discuss
Hi @Samuel-Zhou just try the code above. I just can't fix the problem yet. Do you mind if we discuss about this maybe in teams or skype?
@Az8PnG Try this,
AddColumns(
GroupBy(
AddColumns(
StockInLatests,
"Part Group",
'Part Nubmer',
"Quan",
ThisRecord.Quantity
),
"Part Group",
"Quan"
),
"QuanSum",
Sum(
ThisRecord.Quan,
Quantity
)
)
Thank you Mr @Samuel-Zhou .
My code is:
GroupBy(SortByColumns('StockInLatests',"cre39_partnumber",SortOrder.Ascending),"cre39_partnumber","cre39_totalquantity",Sum(ThisItem.Quantity))
I am having some error in this code which are:
and
May I know why is this errors occurs?
I will show you my column name as well:
1. For Part Number
2. For Quantity
3. For Total Quantity
Thank you Mr @Samuel-Zhou .
My code is:
GroupBy(SortByColumns('StockInLatests',"cre39_partnumber",SortOrder.Ascending),"cre39_partnumber","cre39_totalquantity",Sum(ThisItem.Quantity))
I am having some error in this code which are:
and
May I know why is this errors occurs?
I will show you my column name as well:
1. For Part Number
2. For Quantity
3. For Total Quantity
@Az8PnG Hi,you can try this code,
GroupBy( SortByColumns( 'Your SharePoint List Name', "Part Number", Ascending ), "Part Number", "Part Number Sum", Sum(Quality) )
Hello Mr @Samuel-Zhou , thanks for your help.
How about if I wanted to find the sum for every part number?How was the formula is going to look like?
WarrenBelz
89
Most Valuable Professional
MS.Ragavendar
60
Michael E. Gernaey
42
Super User 2025 Season 1