# Adding letters to the end of the calculated metrics

**URL:** <https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed\
**Created:** [May 30, 2022, 9:13am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305 "2022-05-30T09:13:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Super](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/super/32/7467_2.png) [@Super](https://community.dynatrace.com/u/Super)\
**Post date:** [May 30, 2022, 9:13am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305/1 "2022-05-30T09:13:07Z")

</div>

There is a metric builtin:host.disk.used:filter(and(in(“dt.entity.disk”,entitySelector(“type(disk),entityName(~”/pgerrorlogs~“)”)))):splitBy(" dt.entity.host",“dt.entity.disk”):avg:auto:sort(value(avg,descending)):limit(10)

Can I add custom values to the end of the metric like “Gb”

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [June 17, 2022, 4:05am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305/2 "2022-06-17T04:05:36Z")

</div>

Hey Super,

There is a feature that allows you to define custom units to be used with metrics. This allows you to create whatever units that you like! Although if your new unit is a a billion or million or etc of something then you’ll have to do the math in the data explorer yourself. See the below images for reference.

 ![Fin_Ubels_0-1655438230239.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/091dee0936bd66018b48394aa499977458896190.png)

This is the settings page for my example TestByte unit.

 ![Fin_Ubels_2-1655438607325.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/7/d7cd1e0314ea144fcc8601a87812181c6c1aad89.png)

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [June 17, 2022, 4:20am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305/3 "2022-06-17T04:20:02Z")

</div>

Just to add to&nbsp;[@Fin\_Ubels](https://community.dynatrace.com/user/47376)&nbsp; points, this custom metric creation will make you end up consuming [DDU license](https://www.dynatrace.com/support/help/shortlink/metric-cost-calculation#calculation-details)

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [June 17, 2022, 4:29am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305/4 "2022-06-17T04:29:29Z")

</div>

[@techean](https://community.dynatrace.com/user/49581)&nbsp;this isn’t creating a custom metric though, it’s just editing what we see in the output of the data explorer so would it still use DDUs? I can’t find anything to say it would unless I’m missing something

---

<div class="post-metadata">

**Author:** ![techean](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/techean/32/227_2.png) [@techean](https://community.dynatrace.com/u/techean)\
**Post date:** [June 17, 2022, 4:37am UTC](https://community.dynatrace.com/t/adding-letters-to-the-end-of-the-calculated-metrics/35305/5 "2022-06-17T04:37:22Z")

</div>

my bad, if you are not creating any new calculated metric adding dimension for splitting this should not add in licensing for existing metrics.
