# 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:** 1\
**Showing post:** 3

<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)

---

_[View the full topic](https://community.dynatrace.com/t/add-dimension-to-built-in-metric/45018)._
