# How to calculate Percentage of the Apdex "Frustrated" user's per Application?

**URL:** <https://community.dynatrace.com/t/how-to-calculate-percentage-of-the-apdex-frustrated-users-per-application/34833>\
**Category:** Real User Monitoring\
**Tags:** usql, user-sessions\
**Created:** [April 14, 2022, 1:13pm UTC](https://community.dynatrace.com/t/how-to-calculate-percentage-of-the-apdex-frustrated-users-per-application/34833 "2022-04-14T13:13:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jmackey](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@jmackey](https://community.dynatrace.com/u/jmackey)\
**Post date:** [April 14, 2022, 1:13pm UTC](https://community.dynatrace.com/t/how-to-calculate-percentage-of-the-apdex-frustrated-users-per-application/34833/1 "2022-04-14T13:13:47Z")

</div>

I am trying to create a visual chart using a Honeycomb to plot the percentage of Frustrated users per Application.&nbsp; The idea is to provide a visual for drill down.

I was using Data Explorer and dividing the Frustrated user’s by the overall total.&nbsp; Since I cannot use nested SQL, the below is not calculating properly and seems to mix the applications in the division. (I believe because of the sorting).&nbsp; Any ideas or other ways of doing this?

(builtin:apps.web.actionCount.category:filter(and(eq(“Apdex category”,FRUSTRATED))):splitBy(“dt.entity.application”):sum:auto:sort(value(sum,descending)):limit(100))

/

(builtin:apps.web.actionCount.category:splitBy(“dt.entity.application”):sum:auto:sort(value(sum,descending)):limit(100))

---

_[View the full topic](https://community.dynatrace.com/t/how-to-calculate-percentage-of-the-apdex-frustrated-users-per-application/34833)._
