<?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 Quarter Hour Trend Graph Qlik Sense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Quarter-Hour-Trend-Graph-Qlik-Sense/m-p/1247411#M24945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recently started learning Qlik for a new project delivery at my work place. So apologies in advance if my question comes off as silly or simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a need for me to plot a "trend" graph, which displays the number of sales that has happened in a 15-minute time-split (for upto 24 hours).&lt;/P&gt;&lt;P&gt;My app has already been designed to get only the last 24 hours data. There is a field by the name "Transaction Created DT" which tells when a particular transaction (sales) has happened (includes date &amp;amp; time (hh:mm:ss))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is a line graph which shows how many of those sales have happened in a 15-minute slots on X-Axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="134" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 797px; height: 127px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Transaction Created DT&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:05:58 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:16:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:36:54 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:36:40 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10-11-2016 10:03:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10-11-2016 10:58:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;10-11-2016 11:00:00 AM&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line Graph:&lt;/P&gt;&lt;P&gt;Assuming the current time is around "10-11-2016 11:00:00 AM", my app would load all of the above data (from A to H). Now, on the graph, I would like the following:&amp;nbsp; (attached image)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QuarterHourTrendGraph_QlikSense.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143844_QuarterHourTrendGraph_QlikSense.png" style="width: 620px; height: 230px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried creating a "master calendar/time" table which will help me get those "15-minute split" time from the Current Time using the following script. (The script gives me the perfect data btw, starting from [Current Time - 24 hours] and 96 rows with each row incremented by 15 minutes and upto the [Current Time]).&lt;/P&gt;&lt;P&gt;But when I try to plot that ("PlotTime" field) on the X-Axis/Dimension and add a measure of "Count(Item)", the overall count is taken and in the case of the example above it would plot a constant "8" (counting from A to H) in the line graph without splitting them into their time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Script: (Some variables are replaced by their logic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Date(Floor(PlotTime)) AS Date,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PlotTime,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Hour(PlotTime) AS Hour,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Minute(PlotTime) AS Minute;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp($([Current Time - 24 hours]) + (RecNo() - 1)/96) as PlotTime&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;AUTOGENERATE 98 * $([1 day]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2016 14:53:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-14T14:53:18Z</dc:date>
    <item>
      <title>Quarter Hour Trend Graph Qlik Sense</title>
      <link>https://community.qlik.com/t5/App-Development/Quarter-Hour-Trend-Graph-Qlik-Sense/m-p/1247411#M24945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've recently started learning Qlik for a new project delivery at my work place. So apologies in advance if my question comes off as silly or simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a need for me to plot a "trend" graph, which displays the number of sales that has happened in a 15-minute time-split (for upto 24 hours).&lt;/P&gt;&lt;P&gt;My app has already been designed to get only the last 24 hours data. There is a field by the name "Transaction Created DT" which tells when a particular transaction (sales) has happened (includes date &amp;amp; time (hh:mm:ss))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like is a line graph which shows how many of those sales have happened in a 15-minute slots on X-Axis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="134" style="border: 1px solid rgb(0, 0, 0); border-image: none; width: 797px; height: 127px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Transaction Created DT&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:00:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:05:58 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:16:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:36:54 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09-11-2016 11:36:40 PM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10-11-2016 10:03:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;G&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10-11-2016 10:58:00 AM&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;H&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;10-11-2016 11:00:00 AM&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line Graph:&lt;/P&gt;&lt;P&gt;Assuming the current time is around "10-11-2016 11:00:00 AM", my app would load all of the above data (from A to H). Now, on the graph, I would like the following:&amp;nbsp; (attached image)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QuarterHourTrendGraph_QlikSense.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/143844_QuarterHourTrendGraph_QlikSense.png" style="width: 620px; height: 230px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried creating a "master calendar/time" table which will help me get those "15-minute split" time from the Current Time using the following script. (The script gives me the perfect data btw, starting from [Current Time - 24 hours] and 96 rows with each row incremented by 15 minutes and upto the [Current Time]).&lt;/P&gt;&lt;P&gt;But when I try to plot that ("PlotTime" field) on the X-Axis/Dimension and add a measure of "Count(Item)", the overall count is taken and in the case of the example above it would plot a constant "8" (counting from A to H) in the line graph without splitting them into their time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Script: (Some variables are replaced by their logic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Date(Floor(PlotTime)) AS Date,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;PlotTime,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Hour(PlotTime) AS Hour,&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Minute(PlotTime) AS Minute;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;LOAD&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp($([Current Time - 24 hours]) + (RecNo() - 1)/96) as PlotTime&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;AUTOGENERATE 98 * $([1 day]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me out with this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2016 14:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Quarter-Hour-Trend-Graph-Qlik-Sense/m-p/1247411#M24945</guid>
      <dc:creator />
      <dc:date>2016-11-14T14:53:18Z</dc:date>
    </item>
  </channel>
</rss>

