A change in total customers can conceal a change in who the customers are. Grouping personal and business counts within each reporting period lets the reader compare the two segments without switching between charts.
Define the measure first. These rows count active customer accounts, not revenue or sessions. The activity window and segment rules must stay the same across periods or the apparent change may come from the query rather than the product.
Compose example
Keep each period's segment counts together, then derive both series from those rows.
Enable the charts feature. Neither BarSeries sets a stack key, so each has its own zero baseline within the category. Stacking would answer a different question: how the segments contribute to a combined total.
The reusable component receives its title, translated segment names and period labels from its parent. Counts are validated display values; retain the original account records and classification rules in the data layer.
Check the comparison
Test that sorting periods preserves both segments' alignment. Check the query with accounts which change segment and decide which period's classification applies; the chart cannot resolve that ambiguity for you.
Provide counts in an accessible table and retain a legend so segment identity is not colour-only. Inspect long translated names and narrow layouts in a rendered target. The gallery screenshot uses sample data rather than these input rows.