Sometimes, the world is kind and provides circuit level data.
Demand calculations should (or I guess they have to) roll up to single-meter level data first and then calculate charges.
Energy calculations should retain full granularity for reporting (to see energy charges by ) - billing amounts should be rolled up at the end reporting level to show total bill amounts.
Sometimes, the world is kind and provides circuit level data.