<?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: Waiting Time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010740#M342978</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Saravana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Oct 2015 22:20:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-19T22:20:27Z</dc:date>
    <item>
      <title>Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010732#M342970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2015-10-19 at 20.46.30.png" class="jive-image image-1" src="/legacyfs/online/102485_Screen Shot 2015-10-19 at 20.46.30.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2015-10-19 at 21.01.10.png" class="jive-image image-2" src="/legacyfs/online/102486_Screen Shot 2015-10-19 at 21.01.10.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The above straight tables show time between two consecutive transaction (TimeDispensed) with a unique id ScriptNumber.&amp;nbsp; The difference between the tables is the DateDispensed and Month-Year Dispensed.&amp;nbsp; I tried calculating the wait time (TRx Wait Time), time between two consecutive transactions, with the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&amp;nbsp; -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Below&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)),'mm : ss') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;but this gives blanks as the above table shows.&amp;nbsp; How can i resolve this and then calculate the monthly average "TRx Wait Time" and graph the average monthly wait time against Month-Year?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Regards.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 19:42:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010732#M342970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T19:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010733#M342971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval((Time#('8:10:20', 'hh:mm:ss') - Time#('9:00:10', 'hh:mm:ss')),'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Interval((Time#(&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px;"&gt;[TimeDispensed]&lt;/SPAN&gt;, 'hh:mm:ss') - Time#(&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Below&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&lt;/SPAN&gt;, 'hh:mm:ss')),'hh:mm:ss')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010733#M342971</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2015-10-19T20:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010734#M342972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'mm : ss')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;it works for me, your expreion also showed "-"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the difference is that i use additional brackets around &lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010734#M342972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T20:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010735#M342973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, tried but gave me an expression error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:30:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010735#M342973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T20:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010736#M342974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, this seems not to be working for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010736#M342974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T20:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010737#M342975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;share the application, if possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010737#M342975</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2015-10-19T20:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010738#M342976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used an inline table without "AM"&lt;/P&gt;&lt;P&gt;now I changed it. my inline&amp;nbsp; table is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TEST:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; TimeDispensed&lt;BR /&gt; 8:00:00 AM&lt;BR /&gt; 8:10:00 AM&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression in straight table is:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'h:mm:ss TT'))) -&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;below&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;time#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TimeDispensed]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'h:mm:ss TT')))),'mm : ss')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;table Looks like (value is negative as Expression subtract 8:10 from 8:00!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102487_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010738#M342976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T20:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010739#M342977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To accommodate AM/PM, use below format-code.&lt;/P&gt;&lt;P&gt;=Interval((Time#('8:10:20 AM', 'hh:mm:ss &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;tt&lt;/STRONG&gt;&lt;/SPAN&gt;') - Time#('9:00:10 AM', 'hh:mm:ss &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;tt&lt;/STRONG&gt;&lt;/SPAN&gt;')),'hh:mm:ss')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 21:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010739#M342977</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2015-10-19T21:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Waiting Time</title>
      <link>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010740#M342978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Saravana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 22:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Waiting-Time/m-p/1010740#M342978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T22:20:27Z</dc:date>
    </item>
  </channel>
</rss>

