<?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: Calendar months and fixed calculations in a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-months-and-fixed-calculations-in-a-pivot-table/m-p/795828#M281145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason should be &lt;STRONG&gt;MONTH_NUM={'&amp;lt;=$(vGBL_MaxMonth_Num)'}&lt;/STRONG&gt; and I think you didn't need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Feb 2015 13:33:23 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-02-27T13:33:23Z</dc:date>
    <item>
      <title>Calendar months and fixed calculations in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-months-and-fixed-calculations-in-a-pivot-table/m-p/795827#M281144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table that has 2 dimensions - product description and month number (MONTH_NUM).&lt;BR /&gt;&lt;IMG alt="ScreenShot_401.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79314_ScreenShot_401.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In the expressions, I have 3 expressions for calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Sum({&amp;lt;YEAR_TRN_DATE={'$(vGBL_PreviousYear)'}, MONTH_NUM={'&amp;lt;=$(vGBL_MaxMonth_Num)'}&amp;gt;} TRN_DET_STD_NTO)&lt;BR /&gt;2. Sum({&amp;lt;YEAR_TRN_DATE={'$(vGBL_MaxYear)'}, MONTH_NUM={'&amp;lt;=$(vGBL_MaxMonth_Num)'}&amp;gt;} TRN_DET_STD_NTO)&lt;/P&gt;&lt;P&gt;3. Column (2) - Column (1) = Difference&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH_NUM has 12 values from 1 - 12.&lt;/P&gt;&lt;P&gt;vGBL_PreviousYear point to previous year, vGBL_MaxYear is the current year, vGBL_MaxMonth_Num is the current month number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;I'd like to make a pivot table that shows all calendar months as columns&lt;/STRONG&gt;&lt;/SPAN&gt;, and calculates the values in the columns by their respective months. Currently the pivot table shows only 2 months (Jan-Feb)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have an example on how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 12:16:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-months-and-fixed-calculations-in-a-pivot-table/m-p/795827#M281144</guid>
      <dc:creator />
      <dc:date>2015-02-26T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar months and fixed calculations in a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-months-and-fixed-calculations-in-a-pivot-table/m-p/795828#M281145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason should be &lt;STRONG&gt;MONTH_NUM={'&amp;lt;=$(vGBL_MaxMonth_Num)'}&lt;/STRONG&gt; and I think you didn't need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2015 13:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-months-and-fixed-calculations-in-a-pivot-table/m-p/795828#M281145</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-02-27T13:33:23Z</dc:date>
    </item>
  </channel>
</rss>

