<?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>article An Overview for Various USQL Examples in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/ta-p/199072</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;&lt;SPAN&gt;Summary&lt;/SPAN&gt;&lt;/H2&gt;
&lt;DIV&gt;This page provides a collection of commonly used USQL queries for Dynatrace, organized by performance metrics, user actions, applications, and limitations.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Page Performance Examples&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Average Document Interactive Time (India)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, AVG(useraction.documentInteractiveTime) AS "DOM Interactive" 
FROM usersession 
WHERE country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Average Network Time (India)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, AVG(useraction.networkTime) AS "Network time" 
FROM usersession 
WHERE country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Top Server Response Time by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, AVG(useraction.serverTime) AS "Servertime" 
FROM usersession 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Top Visually Complete Time by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, AVG(useraction.visuallyCompleteTime) AS "Visually Complete" 
FROM usersession 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;User Experience &amp;amp; Apdex&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Frustrated User Actions by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, COUNT(useraction.apdexCategory) 
FROM usersession 
WHERE useraction.apdexCategory = "FRUSTRATED" 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Apdex Distribution Breakdown&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT apdexCategory, COUNT(apdexCategory) 
FROM useraction 
WHERE apdexCategory != "UNKNOWN" 
GROUP BY apdexCategory&lt;/LI-CODE&gt;
&lt;H3&gt;Apdex Breakdown for a Specific Application&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT apdexCategory, COUNT(apdexCategory) 
FROM useraction 
WHERE apdexCategory != "UNKNOWN" AND application="appnamehere" 
GROUP BY apdexCategory&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Page &amp;amp; Session Counts&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Page Load Count by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, COUNT(useraction.name) 
FROM usersession 
WHERE useraction.name = "Loading of page /" 
GROUP BY country&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Page Load Count for India&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, COUNT(useraction.name) 
FROM usersession 
WHERE useraction.name = "Loading of page /" AND country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;User Session Count for a Specific Application&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT DATETIME(starttime, 'MM-dd', '1d'), COUNT(*) 
FROM usersession
WHERE useraction.internalApplicationId = "APPLICATIONID"&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;Error Analysis&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;User Actions &amp;amp; Applications with HTTP Errors&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT useraction.name AS "User Action Name", useraction.application AS "Application", SUM(httpRequestsWithErrors) AS "HTTP Errors" 
FROM useraction WHERE httpRequestsWithErrors IS NOT NULL 
GROUP BY useraction.application, useraction.name, httpRequestsWithErrors 
ORDER BY sum(httpRequestsWithErrors) DESC 
LIMIT 20&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Applications with HTTP Errors&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT useraction.application AS "Application", SUM(httpRequestsWithErrors) AS "HTTP Errors" 
FROM useraction 
WHERE httpRequestsWithErrors IS NOT NULL 
GROUP BY useraction.application, httpRequestsWithErrors 
ORDER BY sum(httpRequestsWithErrors) DESC 
LIMIT 20&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Count of Specific JavaScript Error per Hour&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;select HOUR(usersession.startTime), usererror.name, count(usererror.name) from usererror where name="Script error." group by usererror.name,HOUR(usersession.startTime) order by usererror.name ASC&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;Browser, Bounce Rate &amp;amp; Funnels&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Bounce Rate Per Page&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT useraction.name as "Page Name", COUNT(*) as "Page Views", COUNT(DISTINCT usersession.internalUserId) AS "Unique Page Views", AVG(useraction.duration) As "Average Session", count(bounce) as "# Bounce sessions" FROM usersession WHERE bounce IS true GROUP BY useraction.name&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Users by Browser Version&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT COUNT(browserMajorVersion) as 'User Session Count', browserMajorVersion as 'Browser Version' FROM usersession GROUP BY browserMajorVersion&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Sales Funnel Example&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT FUNNEL(useraction.name='xxxxx' AS "Visits Store", useraction.name= 'xxxxxx' AS "Views Product", useraction.name = 'xxxxx' AS "Starts Checkout", useraction.name= 'xxxxx' AS "Offer Upsells", useraction.name = 'xxxxx' AS "Complete Purchase") FROM usersession&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;DIV&gt;
&lt;H2&gt;&lt;STRONG&gt;Current Limitations in USQL&lt;/STRONG&gt;&lt;/H2&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;USQL &lt;STRONG&gt;does not support&lt;/STRONG&gt;:&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Counting redirects between URL A → URL B&lt;/LI&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Calculating success rates using aggregate formulas (e.g., &lt;CODE&gt;errors / total&lt;/CODE&gt;)&lt;/LI&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Computing average time spent on each individual page&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;Dynatrace Grail‑based DQL solves many of these queries.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H2 class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;What's Next&lt;/H2&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;You can ask questions on the Community or create a chat or Support ticket for assistance.&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H3 class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Further reading&lt;/H3&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp; &lt;A href="https://docs.dynatrace.com/docs/observe/digital-experience/new-rum-experience/use-cases/dql-examples" target="_self"&gt;DQL Examples&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language" target="_self"&gt;Dynatrace Query Language (DQL)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/semantic-dictionary/model/rum/user-sessions" target="_self"&gt;User sessions data model&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Feb 2026 17:19:20 GMT</pubDate>
    <dc:creator>xu_guo</dc:creator>
    <dc:date>2026-02-19T17:19:20Z</dc:date>
    <item>
      <title>An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/ta-p/199072</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H2&gt;&lt;SPAN&gt;Summary&lt;/SPAN&gt;&lt;/H2&gt;
&lt;DIV&gt;This page provides a collection of commonly used USQL queries for Dynatrace, organized by performance metrics, user actions, applications, and limitations.&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Page Performance Examples&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Average Document Interactive Time (India)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, AVG(useraction.documentInteractiveTime) AS "DOM Interactive" 
FROM usersession 
WHERE country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Average Network Time (India)&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, AVG(useraction.networkTime) AS "Network time" 
FROM usersession 
WHERE country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Top Server Response Time by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, AVG(useraction.serverTime) AS "Servertime" 
FROM usersession 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Top Visually Complete Time by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, AVG(useraction.visuallyCompleteTime) AS "Visually Complete" 
FROM usersession 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;User Experience &amp;amp; Apdex&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Frustrated User Actions by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, COUNT(useraction.apdexCategory) 
FROM usersession 
WHERE useraction.apdexCategory = "FRUSTRATED" 
GROUP BY country limit 5&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Apdex Distribution Breakdown&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT apdexCategory, COUNT(apdexCategory) 
FROM useraction 
WHERE apdexCategory != "UNKNOWN" 
GROUP BY apdexCategory&lt;/LI-CODE&gt;
&lt;H3&gt;Apdex Breakdown for a Specific Application&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT apdexCategory, COUNT(apdexCategory) 
FROM useraction 
WHERE apdexCategory != "UNKNOWN" AND application="appnamehere" 
GROUP BY apdexCategory&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&lt;STRONG&gt;Page &amp;amp; Session Counts&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Page Load Count by Country&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT country, COUNT(useraction.name) 
FROM usersession 
WHERE useraction.name = "Loading of page /" 
GROUP BY country&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Page Load Count for India&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT starttime, COUNT(useraction.name) 
FROM usersession 
WHERE useraction.name = "Loading of page /" AND country = "India" 
GROUP BY starttime&lt;/LI-CODE&gt;
&lt;H3&gt;User Session Count for a Specific Application&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT DATETIME(starttime, 'MM-dd', '1d'), COUNT(*) 
FROM usersession
WHERE useraction.internalApplicationId = "APPLICATIONID"&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;Error Analysis&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;User Actions &amp;amp; Applications with HTTP Errors&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT useraction.name AS "User Action Name", useraction.application AS "Application", SUM(httpRequestsWithErrors) AS "HTTP Errors" 
FROM useraction WHERE httpRequestsWithErrors IS NOT NULL 
GROUP BY useraction.application, useraction.name, httpRequestsWithErrors 
ORDER BY sum(httpRequestsWithErrors) DESC 
LIMIT 20&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Applications with HTTP Errors&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT DISTINCT useraction.application AS "Application", SUM(httpRequestsWithErrors) AS "HTTP Errors" 
FROM useraction 
WHERE httpRequestsWithErrors IS NOT NULL 
GROUP BY useraction.application, httpRequestsWithErrors 
ORDER BY sum(httpRequestsWithErrors) DESC 
LIMIT 20&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Count of Specific JavaScript Error per Hour&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;select HOUR(usersession.startTime), usererror.name, count(usererror.name) from usererror where name="Script error." group by usererror.name,HOUR(usersession.startTime) order by usererror.name ASC&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;H2&gt;&lt;STRONG&gt;Browser, Bounce Rate &amp;amp; Funnels&lt;/STRONG&gt;&lt;/H2&gt;
&lt;H3&gt;&lt;STRONG&gt;Bounce Rate Per Page&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT useraction.name as "Page Name", COUNT(*) as "Page Views", COUNT(DISTINCT usersession.internalUserId) AS "Unique Page Views", AVG(useraction.duration) As "Average Session", count(bounce) as "# Bounce sessions" FROM usersession WHERE bounce IS true GROUP BY useraction.name&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Users by Browser Version&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT COUNT(browserMajorVersion) as 'User Session Count', browserMajorVersion as 'Browser Version' FROM usersession GROUP BY browserMajorVersion&lt;/LI-CODE&gt;
&lt;H3&gt;&lt;STRONG&gt;Sales Funnel Example&lt;/STRONG&gt;&lt;/H3&gt;
&lt;LI-CODE lang="markup"&gt;SELECT FUNNEL(useraction.name='xxxxx' AS "Visits Store", useraction.name= 'xxxxxx' AS "Views Product", useraction.name = 'xxxxx' AS "Starts Checkout", useraction.name= 'xxxxx' AS "Offer Upsells", useraction.name = 'xxxxx' AS "Complete Purchase") FROM usersession&lt;/LI-CODE&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;DIV&gt;
&lt;H2&gt;&lt;STRONG&gt;Current Limitations in USQL&lt;/STRONG&gt;&lt;/H2&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;USQL &lt;STRONG&gt;does not support&lt;/STRONG&gt;:&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Counting redirects between URL A → URL B&lt;/LI&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Calculating success rates using aggregate formulas (e.g., &lt;CODE&gt;errors / total&lt;/CODE&gt;)&lt;/LI&gt;
&lt;LI class="___ccc16d0 fje8fi8 f1ng9h0j f1bwykku f18jd3zf"&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Computing average time spent on each individual page&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;Dynatrace Grail‑based DQL solves many of these queries.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H2 class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;What's Next&lt;/H2&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;You can ask questions on the Community or create a chat or Support ticket for assistance.&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;H3 class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;Further reading&lt;/H3&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp; &lt;A href="https://docs.dynatrace.com/docs/observe/digital-experience/new-rum-experience/use-cases/dql-examples" target="_self"&gt;DQL Examples&lt;/A&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; background-color: #ffffff;" href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language" target="_self"&gt;Dynatrace Query Language (DQL)&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="paragraph-in-scc-markdown-text ___1ngh792 ftgm304 f1iaxwol"&gt;&lt;span class="lia-unicode-emoji" title=":open_book:"&gt;📖&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/semantic-dictionary/model/rum/user-sessions" target="_self"&gt;User sessions data model&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Feb 2026 17:19:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/ta-p/199072</guid>
      <dc:creator>xu_guo</dc:creator>
      <dc:date>2026-02-19T17:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/202019#M93</link>
      <description>&lt;P&gt;This is a great list of USQL for users starting out! thanks for sharing this&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21845"&gt;@xu_guo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 14:18:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/202019#M93</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2023-01-10T14:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/219867#M279</link>
      <description>&lt;P&gt;Awesome examples!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 14:41:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/219867#M279</guid>
      <dc:creator>apasoquen1</dc:creator>
      <dc:date>2023-08-04T14:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/227052#M335</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree this is a great post. Just the bounces part is misleading, since once the WHERE clause is bounce IS true, the number of "Page Views" will be the same as "Bounce sessions", since bounce sessions consist of exactly one page.&lt;/P&gt;&lt;P&gt;To get a better picture, a slight adjustment is needed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT useraction.name as "Page Name", COUNT(*) as "Page Views", COUNT(DISTINCT usersession.internalUserId) AS "Unique Page Views", AVG(useraction.duration) As "Average Session", CONDITION(COUNT(*) , WHERE bounce= true) as "# Bounce sessions" FROM usersession WHERE userType IS "REAL_USER" GROUP BY useraction.name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 19:15:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/227052#M335</guid>
      <dc:creator>alter</dc:creator>
      <dc:date>2023-10-30T19:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/227071#M336</link>
      <description>&lt;P&gt;Very useful especially for users who are new to Dynatrace. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 07:10:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/227071#M336</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-10-31T07:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/262338#M764</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21845"&gt;@xu_guo&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":woman_technologist:"&gt;👩‍💻&lt;/span&gt;&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@6EDF483EF947B43E16DF999BED8ABCC0/images/emoticons/dynaspin.gif" alt=":dynaspin:" title=":dynaspin:" /&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the organized and insightful examples.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 16:19:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/262338#M764</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-11-13T16:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/262343#M765</link>
      <description>&lt;P&gt;Thanks for sharing&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21845"&gt;@xu_guo&lt;/a&gt;&amp;nbsp;!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 17:15:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/262343#M765</guid>
      <dc:creator>DanielS</dc:creator>
      <dc:date>2024-11-13T17:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: An Overview for Various USQL Examples</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/289479#M1017</link>
      <description>&lt;P&gt;Would this give a reasonable avg duration per application and user action?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT DATETIME(startTime, 'HH:mm', '5m'), avg (duration) FROM usersession WHERE&lt;BR /&gt;useraction.application='my app'&lt;BR /&gt;AND useraction.name = "my action"&lt;BR /&gt;GROUP BY DATETIME(startTime, 'HH:mm', '5m')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Nov 2025 19:20:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/An-Overview-for-Various-USQL-Examples/tac-p/289479#M1017</guid>
      <dc:creator>Stephen1_Lee</dc:creator>
      <dc:date>2025-11-12T19:20:59Z</dc:date>
    </item>
  </channel>
</rss>

