This demo shows how we can dynamically calculate totals of columns in a multi-stack scenario in a bullet function.
See the Pen Showing totals on clustered column stacks by amCharts team (@amcharts) on CodePen.
For non-clustered column stacks, there's an easier way. Refer to "Totals on column stacks" tutorial.