<?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: User session query between 9am to 7pm in a week in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/253308#M6174</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45561"&gt;@cleoleeps&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Have you managed to solve the problem? It would be great if you shared the solution with the Community users &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2024 14:06:52 GMT</pubDate>
    <dc:creator>GosiaMurawska</dc:creator>
    <dc:date>2024-08-13T14:06:52Z</dc:date>
    <item>
      <title>User session query between 9am to 7pm in a week</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236042#M5670</link>
      <description>&lt;P&gt;Normally we pull user session query data by using the timeframe on top right of the page (e.g. 1 Jan 2024 - 20 Jan 2024)&lt;/P&gt;&lt;P&gt;But recently we are requested to show the data between 9am - 7pm for a week.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was trying to do it via user session query but the moment I added the &lt;STRONG&gt;HOUR(starttime) &amp;gt;= '10'&lt;/STRONG&gt; or so,&amp;nbsp; it just gave error: "Query parsing error"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the request doable actually?&lt;/P&gt;&lt;P&gt;Is this query something wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT starttime,&lt;/P&gt;&lt;P&gt;DATETIME(starttime), MONTH(starttime), DAY(starttime), HOUR(starttime)&lt;/P&gt;&lt;P&gt;FROM useraction where usersession.country IN ("United Kingdom") And HOUR(starttime)&amp;gt;='10' and HOUR(starttime) &amp;lt;='19'&lt;/P&gt;&lt;P&gt;ORDER BY starttime, HOUR(starttime) ASC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 12:40:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236042#M5670</guid>
      <dc:creator>cleoleeps</dc:creator>
      <dc:date>2024-02-01T12:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: User session query between 9am to 7pm in a week</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236083#M5672</link>
      <description>&lt;P&gt;The problem is with your Where condition.&lt;/P&gt;&lt;P&gt;Thats the only format it does support:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/platform-modules/digital-experience/session-segmentation/custom-queries-segmentation-and-aggregation-of-session-data#datetime-values" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/platform-modules/digital-experience/session-segmentation/custom-queries-segmentation-and-aggregation-of-session-data#datetime-values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Format Description Example&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;—&lt;/TD&gt;&lt;TD&gt;Unix timestamp as a number in milliseconds&lt;/TD&gt;&lt;TD&gt;1514152800000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;yyyy-MM-dd'T'HH:mm:ssZ&lt;/TD&gt;&lt;TD&gt;ISO datetime with the time zone&lt;/TD&gt;&lt;TD&gt;2017-12-24T21:00:00+01:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;yyyy-MM-dd HH:mm:ss&lt;/TD&gt;&lt;TD&gt;Date with optional time&lt;/TD&gt;&lt;TD&gt;2017-12-24 21:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;yyyy/MM/dd HH:mm:ss&lt;/TD&gt;&lt;TD&gt;Date with optional time&lt;/TD&gt;&lt;TD&gt;2017/12/24 21&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;MM/dd/yyyy HH:mm:ss&lt;/TD&gt;&lt;TD&gt;Date with optional time&lt;/TD&gt;&lt;TD&gt;12/24/2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;dd.MM.yyyy HH:mm:ss&lt;/TD&gt;&lt;TD&gt;Date with optional time&lt;/TD&gt;&lt;TD&gt;24.12.2017 21:00:00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 01 Feb 2024 20:39:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236083#M5672</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2024-02-01T20:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: User session query between 9am to 7pm in a week</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236137#M5676</link>
      <description>&lt;P&gt;Yeah i read that too about timestamp. But I just wanted to filter by the hour not the date. Hence it's a bit tricky here.&lt;/P&gt;&lt;P&gt;The USQL able to get data for HOUR(starttime) as seen in the result table below. But unfortunately I can't use it to do further filtering.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cleoleeps_0-1706876605904.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17372i361793E62C057CD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cleoleeps_0-1706876605904.png" alt="cleoleeps_0-1706876605904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 12:30:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/236137#M5676</guid>
      <dc:creator>cleoleeps</dc:creator>
      <dc:date>2024-02-02T12:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: User session query between 9am to 7pm in a week</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/253308#M6174</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/45561"&gt;@cleoleeps&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;Have you managed to solve the problem? It would be great if you shared the solution with the Community users &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 14:06:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/User-session-query-between-9am-to-7pm-in-a-week/m-p/253308#M6174</guid>
      <dc:creator>GosiaMurawska</dc:creator>
      <dc:date>2024-08-13T14:06:52Z</dc:date>
    </item>
  </channel>
</rss>

