<?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: Expression to include rows from other groups in Pivot in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341065#M413107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(If(AllocateMonth &amp;gt; InitMonth and InitMonth &amp;lt;= Max(TOTAL AllocateMonth),GrpID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 02:00:37 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-08-03T02:00:37Z</dc:date>
    <item>
      <title>Expression to include rows from other groups in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341064#M413106</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;In this sample, on the column &lt;STRONG&gt;No_Alloc&lt;/STRONG&gt; I want an &lt;SPAN style="font-size: 13.3333px;"&gt;expression to COUNT all rows which are &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;[AllocateMonth]&amp;nbsp; &amp;gt; [InitMonth] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;but also including those records where [&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'courier new', courier;"&gt;InitMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;] is less or equal than the current.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-08-02 17_37_53.png" class="jive-image image-1" src="/legacyfs/online/172301_2017-08-02 17_37_53.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So for example, in the row &lt;SPAN style="font-family: 'courier new', courier;"&gt;InitMonth&lt;/SPAN&gt; = 201609, &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;No_Alloc&lt;/STRONG&gt;&lt;/SPAN&gt; should be 7.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Correct report:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;IMG alt="CH01_20170802_173152.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/172302_CH01_20170802_173152.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Roberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 22:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341064#M413106</guid>
      <dc:creator>rfigueroa</dc:creator>
      <dc:date>2017-08-02T22:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to include rows from other groups in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341065#M413107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(If(AllocateMonth &amp;gt; InitMonth and InitMonth &amp;lt;= Max(TOTAL AllocateMonth),GrpID))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 02:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341065#M413107</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-03T02:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression to include rows from other groups in Pivot</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341066#M413108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but it doesn't work.&lt;/P&gt;&lt;P&gt;I'm expecting in the first 4 rows the values: 5,6,7,7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I get with your expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2017-08-03 10_35_19.png" class="jive-image image-1" src="/legacyfs/online/172423_2017-08-03 10_35_19.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 17:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-include-rows-from-other-groups-in-Pivot/m-p/1341066#M413108</guid>
      <dc:creator>rfigueroa</dc:creator>
      <dc:date>2017-08-03T17:48:29Z</dc:date>
    </item>
  </channel>
</rss>

