<?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: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level).. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868629#M998189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please go through this link. This will really help you&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252"&gt;https://community.qlik.com/docs/DOC-4252&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 06:52:06 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2015-06-22T06:52:06Z</dc:date>
    <item>
      <title>How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868625#M998185</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;How can we calculate , Previous 12 months Totals in Script&amp;nbsp; level (Not in UI level)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868625#M998185</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-06-22T06:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868626#M998186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may create another Fact table which will have Summary data and join this table to your main fact table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868626#M998186</guid>
      <dc:creator />
      <dc:date>2015-06-22T06:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868627#M998187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Let&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;EndDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2014,12,31);&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;StartDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(2014,1,31);&lt;BR /&gt; &lt;BR /&gt; Item:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; ItemId, ItemName&lt;BR /&gt; 1, Test Item 1&lt;BR /&gt; 2, Test Item 2&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; Tmp:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; ItemId, Qty, Amount, SaleDate&lt;BR /&gt; 1, 1, 1, 01/01/2014&lt;BR /&gt; 1, 1, 1, 01/02/2014&lt;BR /&gt; 1, 1, 1, 01/03/2014&lt;BR /&gt; 1, 1, 1, 01/04/2014&lt;BR /&gt; 1, 1, 1, 01/05/2014&lt;BR /&gt; 1, 1, 1, 01/06/2014&lt;BR /&gt; 1, 1, 1, 01/07/2014&lt;BR /&gt; 1, 1, 1, 01/08/2014&lt;BR /&gt; 1, 1, 1, 01/09/2014&lt;BR /&gt; 1, 1, 1, 01/10/2014&lt;BR /&gt; 1, 1, 1, 01/11/2014&lt;BR /&gt; 1, 1, 1, 01/12/2014&lt;BR /&gt; 2, 2, 2, 01/01/2014&lt;BR /&gt; 2, 2, 2, 01/02/2014&lt;BR /&gt; 2, 2, 2, 01/03/2014&lt;BR /&gt; 2, 2, 2, 01/04/2014&lt;BR /&gt; 2, 2, 2, 01/05/2014&lt;BR /&gt; 2, 2, 2, 01/06/2014&lt;BR /&gt; 2, 2, 2, 01/07/2014&lt;BR /&gt; 2, 2, 2, 01/08/2014&lt;BR /&gt; 2, 2, 2, 01/09/2014&lt;BR /&gt; 2, 2, 2, 01/10/2014&lt;BR /&gt; 2, 2, 2, 01/11/2014&lt;BR /&gt; 2, 2, 2, 01/12/2014&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; TmpTotal:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ItemId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Amount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TotalAmt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tmp &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SaleDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;= '$(StartDate)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SaleDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= '$(EndDate)'&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ItemId&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope this Helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868627#M998187</guid>
      <dc:creator>svenkita</dc:creator>
      <dc:date>2015-06-22T06:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868628#M998188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shivendoo Kumar,&lt;/P&gt;&lt;P&gt;Can u please give me an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868628#M998188</guid>
      <dc:creator>madhubabum</dc:creator>
      <dc:date>2015-06-22T06:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868629#M998189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please go through this link. This will really help you&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4252"&gt;https://community.qlik.com/docs/DOC-4252&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:52:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868629#M998189</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-06-22T06:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can we calculate , Previous 12 months Totals in Script  level (Not in UI level)..</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868630#M998190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;If(DateFieldName &amp;gt; AddMonths(Today(), -12), 1) AS Last12MonthFlag&lt;/P&gt;&lt;P&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in front end use&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Last12MonthFlag={1}&lt;/SPAN&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 07:03:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-we-calculate-Previous-12-months-Totals-in-Script-level/m-p/868630#M998190</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-22T07:03:10Z</dc:date>
    </item>
  </channel>
</rss>

