<?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: Pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594377#M220228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to use autonumber on the period (YYYY*100+MM) in the script.&lt;/P&gt;&lt;P&gt;This way if I select a period (generated ID 14) you can add 11 and retrieve the 11th period consecutive(generated ID 25)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2014 09:43:33 GMT</pubDate>
    <dc:creator>bbi_mba_76</dc:creator>
    <dc:date>2014-04-18T09:43:33Z</dc:date>
    <item>
      <title>Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594372#M220223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached document with two pivot tables. The both tables are working fine as they are. But when I select month other than 1 (jan)&lt;/P&gt;&lt;P&gt;last column of the 2nd pivot table shows no value. If i select month 2 last two columns of the 2nd pivot table&amp;nbsp; become zero. Pls help me to solve this problem by modifying the set expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:02:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594372#M220223</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-04-18T09:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594373#M220224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you delete the label expression you can see the expression in the header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" height="341" style="max-width: 1200px; max-height: 900px; height: 341.057px; width: 721px;" width="721" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/57548_pastedImage_0.png" style="width: 620px; height: 293px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can see that your set analysis is searching for month 13, when I selected 4&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57546" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/57546_pastedImage_0.png" style="width: 620px; height: 345px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594373#M220224</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-04-18T09:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594374#M220225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Months are not connected&amp;nbsp; hence the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in first table&amp;nbsp; add one more column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH as MonthId &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reload and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this work for you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:18:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594374#M220225</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-04-18T09:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594375#M220226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BBI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of searching 13&amp;nbsp;&amp;nbsp; when you select month 4&amp;nbsp; I want to modify the set analysis to search Next month. That is Jan .&lt;/P&gt;&lt;P&gt;Pls correct my Set expression to obtain the desired results&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594375#M220226</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-04-18T09:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594376#M220227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you take the max of the MonthId and add 11. For months larger than 1 you end up with values of 13 and higher, which don't exist in your data.&lt;/P&gt;&lt;P&gt;MonthId: 2 =&amp;gt; MONTH={$(=Max(MonthId)+11)} =&amp;gt; MONTH={$(=2+11)} =&amp;gt; MONTH={13} =&amp;gt; no data, sum = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try adding a mod in the expression: &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={$(=Max(YEAR))},MONTH={$(=mod(Max(MonthId)+11,12)+1)}&amp;gt;}$(=Upper(Month(AddMonths(MakeDate($(=Max(YEAR)), $(=max(MonthId))),11)))&amp;amp;'_NRP'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594376#M220227</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-04-18T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594377#M220228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to use autonumber on the period (YYYY*100+MM) in the script.&lt;/P&gt;&lt;P&gt;This way if I select a period (generated ID 14) you can add 11 and retrieve the 11th period consecutive(generated ID 25)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:43:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594377#M220228</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2014-04-18T09:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594378#M220229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So can you please modify my expression to avoid&amp;nbsp; month 13 and return month 1 when month exceeds 12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 09:44:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594378#M220229</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-04-18T09:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594379#M220230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp; It is working fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2014 10:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table/m-p/594379#M220230</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-04-18T10:20:35Z</dc:date>
    </item>
  </channel>
</rss>

