<?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: USQL: Visualize how many times a certain page is loaded? in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125946#M1410</link>
    <description>&lt;P&gt;Thanks Sebastian! I was thinking way too complicated. I have now visualized it via the key user actions metric you mentioned. Thanks so much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 12 Dec 2019 09:30:12 GMT</pubDate>
    <dc:creator>ssmeets</dc:creator>
    <dc:date>2019-12-12T09:30:12Z</dc:date>
    <item>
      <title>USQL: Visualize how many times a certain page is loaded?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125944#M1408</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to visualize the amount of times that the Login Page is being loaded in a certain timeframe. When I try to do this via USQL, I don't get data from the 'Last 1 hour' and the data changes everytime, because:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"The time frames in USQL refer to the time of the usersession, not to the useractions (even if the table is "FROM useraction"). Therefore, if you have a usersession lasting from 8:45 to 9:15 and your useraction is at 9:13; even if you apply a timeframe filter from 8:00 to 9:00; USQL will consider that useraction (usersession matches the timeframe), but the key performance metrics (regarding only useractions) will not." &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;As stated here on the forums. It also mentions a solution:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;"Solution: To overcome this issue, you can add "and useraction.starttime BETWEEN ... AND ..." (which would be equivalent to useraction.starttime &amp;gt; ... and useraction.starttime &amp;lt; ..., syntax doesn't matter here) to filter only those useractions that are also part of the other dataset."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately, when I try this solution I don't get any data as output. While there is in fact a lot of data to be shown. This is my query:&lt;/P&gt;
&lt;P&gt;SELECT&lt;BR /&gt;datetime(startTime,"HH:mm","5m") AS [Time per 5 minutes],&lt;BR /&gt;count(name) AS [Occurrences of Login Page]&lt;BR /&gt;FROM useraction&lt;BR /&gt;WHERE name = "Login Page"&lt;BR /&gt;GROUP BY datetime(startTime,"HH:mm","5m"), name&lt;BR /&gt;ORDER BY datetime(startTime,"HH:mm","5m")&lt;/P&gt;
&lt;P&gt;Right now, it only shows the amount of login-actions that occured in the sessions that were active for the last 1 hour (when that's my filter) and I want to chart the total amount in the last 1 hour (not just from active sessions in the last hour). Also, I would like to do that multiple times a day and on different days, so adding something like BETWEEN "11.12.19 08:00" AND "11.12.19 10:00" is not very workable.&lt;/P&gt;
&lt;P&gt;Can anyone help me with visualizing this correctly? If this isn't possible, is there any other way I can visualize the amount of specific user actions that occured during a certain time period?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:10:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125944#M1408</guid>
      <dc:creator>ssmeets</dc:creator>
      <dc:date>2022-09-30T11:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: USQL: Visualize how many times a certain page is loaded?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125945#M1409</link>
      <description>&lt;P&gt;First of all, USQL will work only for completed sessions. This means that you cannot use it for live data. If you want extend time frame you should just use time picker in DT:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22877-1576088256208.png" /&gt;&lt;/P&gt;&lt;P&gt;Another option you may consider is marking those particular user action as Key User Actions. If you will make it (there is limit of 100 key user actions per application) you will be able to display amount of them on regular custom chart without writing queries. &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22878-zrzut-ekranu-2019-12-11-o-191920.png" /&gt;&lt;/P&gt;&lt;P&gt;And than use this metric:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/22879-1576088452764.png" /&gt;&lt;/P&gt;&lt;P&gt;If you want to chart XHR action you will find same metric but with XHR in name &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Dec 2019 18:21:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125945#M1409</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2019-12-11T18:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: USQL: Visualize how many times a certain page is loaded?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125946#M1410</link>
      <description>&lt;P&gt;Thanks Sebastian! I was thinking way too complicated. I have now visualized it via the key user actions metric you mentioned. Thanks so much! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Dec 2019 09:30:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/USQL-Visualize-how-many-times-a-certain-page-is-loaded/m-p/125946#M1410</guid>
      <dc:creator>ssmeets</dc:creator>
      <dc:date>2019-12-12T09:30:12Z</dc:date>
    </item>
  </channel>
</rss>

