<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Query multiple applications in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195629#M3908</link>
    <description>&lt;P&gt;Great..this works. Thanks much for the quick reply&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2022 20:10:35 GMT</pubDate>
    <dc:creator>JGannon</dc:creator>
    <dc:date>2022-09-30T20:10:35Z</dc:date>
    <item>
      <title>Query multiple applications</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195622#M3904</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 10+ applications where I want to get the screen widths. If I write the query for a single app the query works and I can get data for 365 days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT screenWidth as width, screenHeight as height, count(*) as "Session count" from usersession where useraction.application = "applicationname" group by screenWidth, screenHeight ORDER BY count(*) DESC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I include ADD, (see below) the query fails as it tells me the data is limited to 51 and use TOP. Any idea as how I can get the data for all apps in a single query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT screenWidth as width, screenHeight as height, count(*) as "Session count" from usersession where useraction.application = "app1" AND useraction.application = "app 2" group by screenWidth, screenHeight ORDER BY count(*) DESC&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 18:27:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195622#M3904</guid>
      <dc:creator>JGannon</dc:creator>
      <dc:date>2022-09-30T18:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Query multiple applications</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195623#M3905</link>
      <description>&lt;P&gt;Can you confirm that you are seeing all data in frist query? It should be also limited to 51, based on tests I have done in my env.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, RUM data is stored for 35 days maximum, you will not get 365 days anyway.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 19:12:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195623#M3905</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2022-09-30T19:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Query multiple applications</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195625#M3906</link>
      <description>&lt;P&gt;In the 1st query I get the data but it says "&lt;SPAN&gt;The default number of results aggregated from all&amp;nbsp;&lt;/SPAN&gt;screenHeight&lt;SPAN&gt;&amp;nbsp;fields is limited to&amp;nbsp;&lt;/SPAN&gt;51&lt;SPAN&gt;. To modify this limit, use the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;TOP()&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;function in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SELECT."&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;When I do the 2nd query I see no data at all.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 19:34:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195625#M3906</guid>
      <dc:creator>JGannon</dc:creator>
      <dc:date>2022-09-30T19:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Query multiple applications</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195626#M3907</link>
      <description>&lt;P&gt;Oh I understood now.&lt;/P&gt;&lt;P&gt;Change the AND condition in Where to OR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT screenWidth as width, screenHeight as height, count(*) as "Session count" from usersession where useraction.application = "app1" OR useraction.application = "app 2" group by screenWidth, screenHeight ORDER BY count(*) DESC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using AND, you are querying the sessions that shares both apps. Change to OR and you will get the data from both apps independently .&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 19:50:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195626#M3907</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2022-09-30T19:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query multiple applications</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195629#M3908</link>
      <description>&lt;P&gt;Great..this works. Thanks much for the quick reply&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 20:10:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Query-multiple-applications/m-p/195629#M3908</guid>
      <dc:creator>JGannon</dc:creator>
      <dc:date>2022-09-30T20:10:35Z</dc:date>
    </item>
  </channel>
</rss>

