Hi @struebigm,
Do you want to add a column to the grouped data (Using GroupBy function) and its value is the Sum of the Amount column?
Could you please share a bit more about your SP list?
I agree with @mr-dang's thought almost. I suppose that the Account Code, Accdesc and Amount are all columns in your SP list, is it true?
I have made a test on my side, please take a try with the following formula:
AddColumns(
GroupBy(
Filter(SharepointCombinedCurrentData,Analysis_x0020_Code=SelectCode.Selected.AnalNo),
"Account_x0020_Code","Accdesc",
"GBAccount"
),
"Sum of Amount",
Sum(GBAccount,Amount)
)
Or
DropColumns(
AddColumns(
GroupBy(Filter(SharepointCombinedCurrentData,Analysis_x0020_Code=SelectCode.Selected.AnalNo),"Account_x0020_Code","Accdesc","GBAccount"),
"Sum of Amount",
Sum(GBAccount,Amount)
),
"GBAccount"
)
More details about the GroupBy function, AddColumns function and DropColumns function in PowerApps, please check the following article:
GroupBy function, AddColumns function and DropColumns function.
Best regards,
Kris