05 Apr 2024 02:42 AM
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.
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 the "Action duration (by key user action, OS) [mobile, custom]" metric.
Thanks in advance!
Solved! Go to Solution.
05 Apr 2024 08:21 AM
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.
Best regards
19 Apr 2024 06:35 PM
Hi @henrychan309
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.
SELECT appVersion,useraction.name,avg(useraction.duration) from usersession where applicationType="MOBILE_APPLICATION" GROUP BY appVersion, useraction.name