# MQTT Create a measurement with 200 - No unit is shown

**URL:** <https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463>\
**Category:** Forum\
**Tags:** device-management, cumulocity\
**Created:** [April 8, 2026, 8:21am UTC](https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463 "2026-04-08T08:21:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manfred.Gruber](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Manfred.Gruber](https://community.cumulocity.com/u/Manfred.Gruber)\
**Post date:** [April 8, 2026, 8:21am UTC](https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463/1 "2026-04-08T08:21:35Z")

</div>

Hello!

Is send measurements to Cumulocity to topic s/us with mqtt like:

200,memory\_usage,storage,2.59,P

or

200,memory\_usage,ram,14.67,percent,2026-04-08T08:06:42.687+00:00

Like written in

> **[Create custom measurement (200) - MQTT Static templates - Cumulocity...](https://cumulocity.com/docs/smartrest/mqtt-static-templates/#200)**
>
> To ease device integration Cumulocity already supports a number of static templates that can be used by any client without the need to create your own templates. These templates focus on the most commonly used messages for device management purposes....

This is how it looks like in Cumulocity:

 ![cum](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/9/5/95830bfdd3bc3db4f629f36a4e8f14438cbebeb7.png)

But the unit or the unit string is not shown in Cumulocity, what do I miss here or do I something wrong ?

Thx for help, regards manfred

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [April 8, 2026, 8:32am UTC](https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463/2 "2026-04-08T08:32:07Z")

</div>

It might be that way if you have sent measurements without unit before.  
Try to remove and re-add the data point to the chart, this will probably fix it (and displays the unit properly of the latest measurement).

---

<div class="post-metadata">

**Author:** ![Manfred.Gruber](https://avatars.discourse-cdn.com/v4/letter/m/898d66/32.png) [@Manfred.Gruber](https://community.cumulocity.com/u/Manfred.Gruber)\
**Post date:** [April 8, 2026, 9:10am UTC](https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463/3 "2026-04-08T09:10:42Z")

</div>

Ok, thanks, that works. But when I new register a device, to be sure 200 commands have a unit included, Cumulocity does not show the unit on default, after removing all Measurements and re adding them the unit is shown.

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [April 8, 2026, 9:38am UTC](https://community.cumulocity.com/t/mqtt-create-a-measurement-with-200-no-unit-is-shown/14463/4 "2026-04-08T09:38:26Z")

</div>

Yep, I could reproduce it and created a support ticket for that. It seems the initial configuration of the data point graph taking the first measurement per default is not working as expected and unit is only correctly displayed when you add additional data points manually.
