frozen rows at top/bottom are still on our roadmap but unfortunately I cannot give you an ETA yet.
As a temporary solution you might want to calculate the sum into an additional row that is added as first/last rows.
Once the frozen property is available you can add this to your solution.
Hope that helps.
Please login first to submit.