# Aggregate load and XHR actions

**URL:** <https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-actions\
**Created:** [April 19, 2023, 11:02am UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362 "2023-04-19T11:02:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Kefirov](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@Adrian\_Kefirov](https://community.dynatrace.com/u/Adrian_Kefirov)\
**Post date:** [April 19, 2023, 11:02am UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362/1 "2023-04-19T11:02:32Z")

</div>

Hello, to measure user activity, I need to make a chart in which to aggregate all actions. The problem is that the same actions can be performed through different fields. and one action is like a XHR action or Load action.

There is a way to visualize them in a dashboard, but it shows the result in different columns on different rows.

How can I aggregate the result in one row in one column to show aggregation of load and XHR action.

 ![Adrian_Kefirov_0-1681902101872.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/2/e2cfc85d188913dabe7c2e0dcfd14bc7e6a479e2.png)

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [April 19, 2023, 12:41pm UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362/2 "2023-04-19T12:41:41Z")

</div>

Hi&nbsp;[@Adrian\_Kefirov](https://community.dynatrace.com/user/59026)

You should to use below metrics and split by **Browser** or **Web Application**

- Action count - load action (by browser) [web]
- Action count - XHR action (by browser) [web]

 ![Screenshot 2023-04-19 at 14.39.35.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/2/92fafb914a39553e439b8c7ad313532ac0ae6658.png)

Radek

---

<div class="post-metadata">

**Author:** ![Ana.Kuzmenchuk](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@Ana.Kuzmenchuk](https://community.dynatrace.com/u/Ana.Kuzmenchuk)\
**Post date:** [April 20, 2023, 10:38am UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362/3 "2023-04-20T10:38:14Z")

</div>

Hello&nbsp;[@Adrian\_Kefirov](https://community.dynatrace.com/user/59026), did Radek’s suggestion solve your issue maybe? If so, you can accept it as a solution to let others in the Community know it’s been resolved 😉 thank you!

---

<div class="post-metadata">

**Author:** ![Adrian\_Kefirov](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@Adrian\_Kefirov](https://community.dynatrace.com/u/Adrian_Kefirov)\
**Post date:** [April 20, 2023, 5:20pm UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362/4 "2023-04-20T17:20:17Z")

</div>

Yes, of course Ana, but can I back from a vacantion&nbsp;:face\_savoring\_food:

---

<div class="post-metadata">

**Author:** ![Viachaslau](https://avatars.discourse-cdn.com/v4/letter/v/0ea827/32.png) [@Viachaslau](https://community.dynatrace.com/u/Viachaslau)\
**Post date:** [May 12, 2023, 11:50am UTC](https://community.dynatrace.com/t/aggregate-load-and-xhr-actions/39362/5 "2023-05-12T11:50:01Z")

</div>

It is not a solution, values are still in different columns…  
I tried something like this, but looks like the syntax should be different:  
builtin:apps.web.action.count.load.browser:splitBy(“dt.entity.application\_method”):sort(value(auto,descending)):limit(100) +  
builtin:apps.web.action.count.xhr.browser:splitBy(“dt.entity.application\_method”):sort(value(auto,descending)):limit(100)
