# Deleting a custom metric dimension

**URL:** <https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535>\
**Category:** Open Q&A\
**Tags:** dynatrace-managed\
**Created:** [March 8, 2024, 5:05pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535 "2024-03-08T17:05:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 8, 2024, 5:05pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/1 "2024-03-08T17:05:46Z")

</div>

Is there a way to delete a custom metric dimension? I’ve accidentally added a incorrect value to the dimension and want to remove it. Do I need to delete the metric itself? Ideally don’t want to lose the data tied to the metric, I just need the dimension removed from the metric.

---

<div class="post-metadata">

**Author:** ![marina\_pollehn](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marina_pollehn/32/39120_2.png) [@marina\_pollehn](https://community.dynatrace.com/u/marina_pollehn)\
**Post date:** [March 10, 2024, 12:18pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/2 "2024-03-10T12:18:44Z")

</div>

You can change the dimension value, so you could put in a new dimension and let the metric be calculated for those.

Nevertheless, the dimension name you gave it before, you cannot change. So if you change from the dimension value from {RequestAttribute:A} to {RequestAtrribute:B}, the name of the dimension that you gave before (also what will show up in the data explorer and placeholders) will not adjust. So if you called it Request Attribute A, it will still be called that way.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [March 11, 2024, 7:20am UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/3 "2024-03-11T07:20:26Z")

</div>

Settings\>Server-Side service monitoring \> Calculated service metric

 ![PacoPorro_0-1710141501508.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/8/b8ef1e5099de12aaab1fa289f8540deb0ec469c7.png)

[@marina\_pollehn](https://community.dynatrace.com/user/2456)&nbsp;already explained it, the dimension keeps the name.

 ![PacoPorro_1-1710141552366.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/7/97ada15e5ed10382fe7b878b87069a40e76a6539.png)

 ![PacoPorro_2-1710141609261.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/b/0bdcceaa85f9a124aaea11b050901d3aa840f974.png)

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 11, 2024, 8:46pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/4 "2024-03-11T20:46:28Z")

</div>

Apologies for not adding more context. The info provided seems to be related specifically to calculated service metrics. What I am working with is a custom 2.0 extension for database queries.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [March 12, 2024, 1:35pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/5 "2024-03-12T13:35:43Z")

</div>

In that case, the dimension lasts as long as there is data related to the specific dimension.  
If you change the dimension, it will disappear if the timeframe does not contain the data.

---

<div class="post-metadata">

**Author:** ![sivart\_89](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sivart\_89](https://community.dynatrace.com/u/sivart_89)\
**Post date:** [March 13, 2024, 2:45pm UTC](https://community.dynatrace.com/t/deleting-a-custom-metric-dimension/44535/6 "2024-03-13T14:45:29Z")

</div>

Thank you for the information!
