# Difference between queried number of users and number on application overview

**URL:** <https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, usql, user-sessions\
**Created:** [November 21, 2024, 6:06am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995 "2024-11-21T06:06:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AhmedKhaled\_94](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ahmedkhaled_94/32/14270_2.png) [@AhmedKhaled\_94](https://community.dynatrace.com/u/AhmedKhaled_94)\
**Post date:** [November 21, 2024, 6:06am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995/1 "2024-11-21T06:06:57Z")

</div>

Hello,

One of our customers is trying to perform analysis on their user analytics, seeing how many of their users are opening from different mobile version etc.

One of the queries we are trying to get is the total number of users.

I have tried multiple queries like:

SELECT COUNT(\*) from userSession WHERE \*application filter\*

SELECT COUNT(DISTINCT \*) from userSession&nbsp;WHERE \*application filter\*

SELECT COUNT (user\_Id) from userSession&nbsp;WHERE \*application filter\* (with and without distinct)

I have tried used InternaluserId as well

There is always a huge difference between the resulting number, and the number that is previewed in the user experience tile in the application overview below.

 ![AhmedKhaled_94_0-1732169151562.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/4/544f0891e169c362c0cc05f1517487985ae6b3c6.png)

SO the tile would be showing 11.6k and the queries would be returning 15k.

Any idea how this tile is created? what metric can I use to get a similar number?

Best Regards,

Ahmed

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [November 21, 2024, 8:32am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995/2 "2024-11-21T08:32:30Z")

</div>

If you’re in a timeframe with live sessions, those won’t be visible in the USQL results.

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [November 21, 2024, 8:34am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995/3 "2024-11-21T08:34:35Z")

</div>

Can I suggest you to check this post?  
[https://community.dynatrace.com/t5/Real-User-Monitoring/Unlock-the-full-potential-of-Digital-Experience-Monitoring-with/td-p/248747](https://community.dynatrace.com/topic/248747)

---

<div class="post-metadata">

**Author:** ![AhmedKhaled\_94](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ahmedkhaled_94/32/14270_2.png) [@AhmedKhaled\_94](https://community.dynatrace.com/u/AhmedKhaled_94)\
**Post date:** [December 4, 2024, 6:30am UTC](https://community.dynatrace.com/t/difference-between-queried-number-of-users-and-number-on-application-overview/48995/4 "2024-12-04T06:30:32Z")

</div>

Update: If you need to have a tile with the same number of users as the application overview tile, you can use the following metric ' **builtin:apps.other.userCount.osAndVersion-std’**
