<?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 Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count/m-p/1441898#M432575</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174158_Screenshot_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Group field. The logic is that the Group depends on the order of the Year.&lt;/P&gt;&lt;P&gt;For example Price 2 appears in two intervals 2000-2001 and 2005-2006. That's two different groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the example file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 06:17:13 GMT</pubDate>
    <dc:creator>MindaugasBacius</dc:creator>
    <dc:date>2017-08-22T06:17:13Z</dc:date>
    <item>
      <title>Count</title>
      <link>https://community.qlik.com/t5/QlikView/Count/m-p/1441898#M432575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174158_Screenshot_2.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Group field. The logic is that the Group depends on the order of the Year.&lt;/P&gt;&lt;P&gt;For example Price 2 appears in two intervals 2000-2001 and 2005-2006. That's two different groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the example file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 06:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count/m-p/1441898#M432575</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2017-08-22T06:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.qlik.com/t5/QlikView/Count/m-p/1441899#M432576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we generalize it that - the group is Year&amp;amp;Price-based ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 06:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count/m-p/1441899#M432576</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-22T06:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.qlik.com/t5/QlikView/Count/m-p/1441900#M432577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Also, the script needs to appear in back-end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 06:23:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count/m-p/1441900#M432577</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2017-08-22T06:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count</title>
      <link>https://community.qlik.com/t5/QlikView/Count/m-p/1441901#M432578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * INLINE&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[ Year, Price&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2000, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2001, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2002, 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2003, 4&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2004, 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2005, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2006, 2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tmp2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD *,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt; if(Price=Peek('Price'), peek('Group'), RangeSum(Peek('Group'),1)) as Group&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident tmp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Order By Year&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table tmp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174161_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 06:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count/m-p/1441901#M432578</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-08-22T06:35:32Z</dc:date>
    </item>
  </channel>
</rss>

