<?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: Need help in interval function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414522#M154219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not quite clear how you are calculating a timespan by counting your number field, I am just assuming something and I think you need to use three different counts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;DELAI={'day1'}&amp;gt;}Number) - Count({&amp;lt;DELAI={'day2'}&amp;gt;}Number) - Count({&amp;lt;DELAI={'day3'}&amp;gt;}Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and the explanation about interval is awesome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt; Thanks, but that's just copied from the HELP &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2013 11:57:08 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-01-11T11:57:08Z</dc:date>
    <item>
      <title>Need help in interval function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414519#M154216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to find the difference between two delivery in day1 and day 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a expression as in the below like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Interval(Count({&amp;lt;DELAI={'day1'}&amp;gt;}Number),Count({&amp;lt;DELAI={'day2'}&amp;gt;}Number)), as I am getting only day1 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please me .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ammu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:11:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414519#M154216</guid>
      <dc:creator />
      <dc:date>2013-01-11T11:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in interval function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414520#M154217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="syntax"&gt;&lt;SPAN class="Bold"&gt;&lt;EM&gt;interval(&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class="Italic"&gt;expression [ , format-code ]&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The &lt;SPAN class="Bold"&gt;interval&lt;/SPAN&gt; function formats the &lt;SPAN class="Italic"&gt;expression&lt;/SPAN&gt; as a time interval according to the string given as a &lt;SPAN class="Italic"&gt;format-code&lt;/SPAN&gt;. If the format code is omitted, the time format set in the operating system is used. Intervals may be formatted as a time, as days or as a combination of days, hours, minutes, seconds and fractions of seconds.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are using two arguments, so QV tries to interprete your second argument as format code (which must be a format code &lt;EM&gt;string&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get the difference in days, you need to use a subtraction of your counts (if counting is correct here).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:15:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414520#M154217</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-01-11T11:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in interval function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414521#M154218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and the explanation about interval is awesome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following, it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;DELAI={'day1'}&amp;gt;}Number)-Count({&amp;lt;DELAI={'day2'}&amp;gt;}Number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I have day3 means I need to add the same Count expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question is it possible to do in a single expression like Count({&amp;lt;DELAI={day1-day2-day3}&amp;gt;}Number)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, I am clear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advnce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ammu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414521#M154218</guid>
      <dc:creator />
      <dc:date>2013-01-11T11:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in interval function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414522#M154219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not quite clear how you are calculating a timespan by counting your number field, I am just assuming something and I think you need to use three different counts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;DELAI={'day1'}&amp;gt;}Number) - Count({&amp;lt;DELAI={'day2'}&amp;gt;}Number) - Count({&amp;lt;DELAI={'day3'}&amp;gt;}Number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply and the explanation about interval is awesome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt; Thanks, but that's just copied from the HELP &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414522#M154219</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-01-11T11:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need help in interval function</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414523#M154220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have exam data of a class of 50 students.&lt;/P&gt;&lt;P&gt;Now I want to calculate the &lt;STRONG&gt;average (and, median) of top 80% students&lt;/STRONG&gt; of that class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that?&lt;BR /&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2013 18:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-in-interval-function/m-p/414523#M154220</guid>
      <dc:creator />
      <dc:date>2013-08-10T18:16:19Z</dc:date>
    </item>
  </channel>
</rss>

