<?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: Move Calculated Dimension to Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410460#M610227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Quick Reply. Its working and i am getting last 12 Quarters.&lt;/P&gt;&lt;P&gt;As you mentioned it is not dynamic, would like to clarify if&amp;nbsp; it would always take 12 Quarters moving forward. If&amp;nbsp; i move to next year 2018-Q1 its should start counting Quarters from 2018-Q1 to 2015-Q2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify my doubt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Oct 2017 07:49:04 GMT</pubDate>
    <dc:creator>kishoreravi1983</dc:creator>
    <dc:date>2017-10-23T07:49:04Z</dc:date>
    <item>
      <title>Move Calculated Dimension to Script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410458#M610225</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;Please help me to move the below Calculated Dimension to scripting layer as it is consuming more memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(TYQUARTER1 &amp;gt;= (Max(Total TYQUARTER1)-11) and TYQUARTER1 &amp;lt;= Max(Total TYQUARTER1), 'FY'&amp;amp; Mid(TYQUARTER1,3,2) &amp;amp; Right(TYQUARTER1,2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how i get the Quarter Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this in Bart Chart. I would like to show only last 12 Quarters in my Chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;TYQUARTER1&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 152px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" width="152"&gt;2012-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2012-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2012-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2012-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2013-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2013-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2013-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2013-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2014-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2014-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2014-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2014-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2015-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2015-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2015-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2015-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2016-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2016-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2016-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2016-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2017-Q1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2017-Q2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2017-Q3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="18"&gt;2017-Q4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 06:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410458#M610225</guid>
      <dc:creator>kishoreravi1983</dc:creator>
      <dc:date>2017-10-23T06:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Move Calculated Dimension to Script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410459#M610226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Temp_MaxQ1:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Max(TYQUARTER1) as MaxQ1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // or MaxString()?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM ....;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let v12Quarters = Peek('MaxQ1') - 11;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table &lt;SPAN style="font-size: 13.3333px;"&gt;Temp_MaxQ1;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&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; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; TYQUARTER1,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; If(TYQUARTER1 &amp;gt;= v12Quarters), &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;TYQUARTER1, Null()&lt;/EM&gt;&lt;/SPAN&gt;) as DIM_12QUARTERS,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;But unlike the front end expression, this is not dynamic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410459#M610226</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-10-23T07:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Move Calculated Dimension to Script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410460#M610227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the Quick Reply. Its working and i am getting last 12 Quarters.&lt;/P&gt;&lt;P&gt;As you mentioned it is not dynamic, would like to clarify if&amp;nbsp; it would always take 12 Quarters moving forward. If&amp;nbsp; i move to next year 2018-Q1 its should start counting Quarters from 2018-Q1 to 2015-Q2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please clarify my doubt. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410460#M610227</guid>
      <dc:creator>kishoreravi1983</dc:creator>
      <dc:date>2017-10-23T07:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Move Calculated Dimension to Script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410461#M610228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will take the last 12 quarters in your data, so it should move forward automatically as your data moves forward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 08:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410461#M610228</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2017-10-23T08:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Move Calculated Dimension to Script</title>
      <link>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410462#M610229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a Lot! it was very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 08:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Move-Calculated-Dimension-to-Script/m-p/1410462#M610229</guid>
      <dc:creator>kishoreravi1983</dc:creator>
      <dc:date>2017-10-23T08:28:21Z</dc:date>
    </item>
  </channel>
</rss>

