cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Difference between queried number of users and number on application overview

AhmedKhaled_94
Participant

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 WHERE *application filter*

SELECT COUNT (user_Id) from userSession 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

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

Dynatrace Certified Professional - Senior APM Engineer - SRE/DevOps
3 REPLIES 3

PacoPorro
Dynatrace Leader
Dynatrace Leader

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

PacoPorro
Dynatrace Leader
Dynatrace Leader

AhmedKhaled_94
Participant

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'

 

Dynatrace Certified Professional - Senior APM Engineer - SRE/DevOps

Featured Posts