# Add dimension to built-in metric

**URL:** <https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, dashboards\
**Created:** [April 5, 2024, 1:42am UTC](https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018 "2024-04-05T01:42:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![henrychan309](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@henrychan309](https://community.dynatrace.com/u/henrychan309)\
**Post date:** [April 5, 2024, 1:42am UTC](https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018/1 "2024-04-05T01:42:54Z")

</div>

Hi Team,

I’d like to add an additional dimension to a built in metric, so that the dimension is available to Split by. I would like to add “App Version” as a dimension to the “Action duration (by key user action, OS) [mobile, custom]” metric.

 ![Screenshot 2024-04-04 at 9.38.56 PM.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/7/07d2222357697a53e90ee9313c3b7292c6b991ef.png)

I see that in the “Crash count (by OS, app version) [mobile, custom]” metric, the “App Version” dimension is available. I’d like to add the “App Version” dimension to&nbsp;the “Action duration (by key user action, OS) [mobile, custom]” metric.

 ![Screenshot 2024-04-04 at 9.41.17 PM.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1ae63637338a9fa87b081a945f9ad2a5b199e8c5.png)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 5, 2024, 7:21am UTC](https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018/2 "2024-04-05T07:21:39Z")

</div>

Hi,

I think you cannot add dimensions to existing built metrics.  
I hope that someone can provide a workarround. If not, you can raise a [product idea](https://community.dynatrace.com/category/DynatraceProductIdeas).

Best regards

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [April 19, 2024, 5:35pm UTC](https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018/3 "2024-04-19T17:35:51Z")

</div>

Hi&nbsp;[@henrychan309](https://community.dynatrace.com/user/74257)&nbsp;  
No, you can’t add dimensions to existing built-in metrics. Hope with the new metrics on Grail this split by dimension exists.  
Now you can create a USQL using the App version of the session and the duration of the user actions, then add this result to a dashboard.

```markup
SELECT appVersion,useraction.name,avg(useraction.duration) from usersession where applicationType="MOBILE_APPLICATION" GROUP BY appVersion, useraction.name

```

 ![cesarsaravia_0-1713548099525.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/3/d3f8e3dd0e0dfeec674ea6173f27c99e7cda7d1a.png)
