# Analytics builder - measurement output - Dynamic

**URL:** <https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261>\
**Category:** Forum\
**Tags:** analytics\
**Created:** [May 8, 2025, 3:45pm UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261 "2025-05-08T15:45:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GII](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@GII](https://community.cumulocity.com/u/GII)\
**Post date:** [May 8, 2025, 3:45pm UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/1 "2025-05-08T15:45:34Z")

</div>

is it possible to have a measurement output with a dynamic fragment name?

![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/1/2/12f11ec497f780e5ec7a4cbbe82fad905c8612dc.png)

we would like to insert the alarm input text (extract property) dynamically in the measurement fragment name

---

<div class="post-metadata">

**Author:** ![Sandeep\_Komarneni](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/sandeep_komarneni/32/18273_2.png) [@Sandeep\_Komarneni](https://community.cumulocity.com/u/Sandeep_Komarneni)\
**Post date:** [May 9, 2025, 4:00am UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/2 "2025-05-09T04:00:56Z")

</div>

you should be able to populate additional data in the output measurement using the `Params Fragment` port of the Measurement Output block. See [Analytics Builder block reference - Cumulocity documentation](https://cumulocity.com/docs/streaming-analytics/block-reference/#measurement-output) for more details

---

<div class="post-metadata">

**Author:** ![GII](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@GII](https://community.cumulocity.com/u/GII)\
**Post date:** [May 9, 2025, 8:10am UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/3 "2025-05-09T08:10:45Z")

</div>

Hello, the measurement fragment name needs to be specified during configuration and I can put a value of use a template, If I specify one, can I override it using Params fragment?

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/3/3/339c4b228ee197ea6198a74f626bcb96a16f477a.png)

---

<div class="post-metadata">

**Author:** ![GII](https://avatars.discourse-cdn.com/v4/letter/g/97f17d/32.png) [@GII](https://community.cumulocity.com/u/GII)\
**Post date:** [May 12, 2025, 5:24pm UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/4 "2025-05-12T17:24:19Z")

</div>

kind reminder waiting your feedback

---

<div class="post-metadata">

**Author:** ![Harald\_Meyer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harald_meyer/32/1959_2.png) [@Harald\_Meyer](https://community.cumulocity.com/u/Harald_Meyer)\
**Post date:** [May 13, 2025, 6:02am UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/5 "2025-05-13T06:02:09Z")

</div>

yes, you can overwrite using the params input but you have to make sure to follow the exact structure of fragment+series+value. If you use the same fragment in the block parameters (and just a dummy series) it even overwrites the one configured in the parameters. @Sandeep_Komarneni not sure if this is intended or not?

I cannot share the model here but this is how it looks like (the first set properties sets the “value”, the second the series and the third the fragment).

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/8/2/82980132bb70be3e91afabee7b2d8d45390c1009.png)

If you can deploy custom blocks, I think using one would be more elegant. We have a few examples to create measurements like this one to create a measurement with multiple series:

> <https://github.com/Cumulocity-IoT/analytics-builder-blocks-contrib/blob/master/cumulocity-blocks/CreateMultiMeasurement.mon>

---

<div class="post-metadata">

**Author:** ![Harald\_Meyer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harald_meyer/32/1959_2.png) [@Harald\_Meyer](https://community.cumulocity.com/u/Harald_Meyer)\
**Post date:** [May 13, 2025, 6:06am UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/6 "2025-05-13T06:06:28Z")

</div>

The block is also explained here:

> [@New custom blocks for Analytics Builder (async comms, downsampling and complex measurements)](https://community.cumulocity.com/t/new-custom-blocks-for-analytics-builder-async-comms-downsampling-and-complex-measurements/1477#p-9418-complex-measurements-4):
>
> Overview We have updated the non-productized blocks in the open-source repository: The repository contains blocks that you can deploy into Analytics Builder to enhance its functionality or to use as the basis for your own custom block development. This article introduces the following custom blocks: Async Send & Receive blocks to send signals inside and across models Time series Downsample block to derive a lower frequency time series from a high-frequency one Complex Measurement …

---

<div class="post-metadata">

**Author:** ![Sandeep\_Komarneni](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/sandeep_komarneni/32/18273_2.png) [@Sandeep\_Komarneni](https://community.cumulocity.com/u/Sandeep_Komarneni)\
**Post date:** [May 13, 2025, 6:21am UTC](https://community.cumulocity.com/t/analytics-builder-measurement-output-dynamic/12261/7 "2025-05-13T06:21:59Z")

</div>

The (product) measurement output block doesn’t do anything to explicitly prevent overrides, so its possible the fragment/series can be overridden by properties. Obviously, we categorize it as user error if overwrite is not intentional 😃
