This is a demo tutorial. While there is no step-by-step commentary available (yet), the live demo below is fully functional. Feel free to open it for full source code.
This demo shows how we can dynamically calculate totals of columns in a multi-stack scenario in a bullet function.
For non-clustered column stacks, there's an easier way. Refer to "Totals on column stacks" tutorial.