# Model using Analytics builder for a group

**URL:** <https://community.cumulocity.com/t/model-using-analytics-builder-for-a-group/7633>\
**Category:** Forum\
**Tags:** Streaming-Analytics-Apama, cumulocity\
**Created:** [March 4, 2024, 11:57am UTC](https://community.cumulocity.com/t/model-using-analytics-builder-for-a-group/7633 "2024-03-04T11:57:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)\
**Post date:** [March 6, 2024, 6:26pm UTC](https://community.cumulocity.com/t/model-using-analytics-builder-for-a-group/7633/3 "2024-03-06T18:26:05Z")

</div>

thank you, and what if the initial model calculates a measurement output for every group member (via trigger device setting) as a first stage, and we need at the second stage to sum up all the outputs for all members of this group into a measurement (or any other way) in order for example to show the working hours for a specific group. What is the best practice to achieve it? How to associate this specific new measurement (called for example group aggregate) to the whole group?

---

_[View the full topic](https://community.cumulocity.com/t/model-using-analytics-builder-for-a-group/7633)._
