@GARYRU you can do this somehow like this way,
ClearCollect(GroupedData,
AddColumns(
GroupBy(YourSharePointList, "Lender", "LoanGroup"),
"TotalLoanAmount", Sum(LoanGroup, LoanAmount)
)
)
please check datasource name and column names.
If this is the answer for your question, please mark the post as Solved.
If this answer helps you in any way, please give it a like.
Thanks!