cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The AppDynamics Community is Migrating this Friday, February 28th.


At 6pm PST, the AppDynamics Community will go into read-only mode and after migration is complete, you will be redirected to community.splunk.com.
Read more here


ADQL for doing UNION query

Anonymous
Not applicable

I need to compute the number of distinct users across both mobile and web application. 

 

For web alone I get the number using this query -

SELECT distinctcount(userdata.userId) FROM browser_records

 

And for mobile using this - 

SELECT distinctcount(userdata.userId) FROM mobile_session_records

 

What I am looking for is a way to compute the distinctcount across these two combined because some users get counted twice if I simply add the output of these two queries. How can I do this in ADQL? In SQL this can be solved using a UNION.

 

Thanks

1 REPLY 1

Appdynamics does not have union where as ther competitors like Newrelic does provide...I was loking the same but no luck

Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors