<?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: Calculate Sales Sales Values per Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660232#M1082962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do it directlt like below&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2004'}&amp;gt;}InvNet)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2005'}&amp;gt;}InvNet)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2006'}&amp;gt;}InvNet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jun 2014 05:37:09 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2014-06-27T05:37:09Z</dc:date>
    <item>
      <title>Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660224#M1082954</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;I am trying to build my first QliView to demonstrate to my company however I am stumbling at what should be a simple step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a source excel table that has sales data for 2012 2013 and 2014.&amp;nbsp; I would like to build a Pivot table that has the first column as a Cyclic Drill(containing Month, Qtr,&amp;nbsp; and the other columns to show the Sales Current Year, Previous Year 1, Previous Year 2 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone assist an advise the best way to go about this as an expression.&amp;nbsp; I have tried the AGGR(SUM(.... function but this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached a test QVW file and the source XLS, also in sheet2 of the XLS I have created a mock up of what I am trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for any assistance that can be provided.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 09:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660224#M1082954</guid>
      <dc:creator />
      <dc:date>2014-06-26T09:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660225#M1082955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls find attachment. I have tried to address ur issue. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 09:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660225#M1082955</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2014-06-26T09:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660226#M1082956</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;Thank you for the fast response, I only have a personal edition license and cannot open the qvw you sent.&amp;nbsp;&amp;nbsp;&amp;nbsp; Any idea how I can open this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660226#M1082956</guid>
      <dc:creator />
      <dc:date>2014-06-26T10:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660227#M1082957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;for currrent year&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;let vYear=max(year_colum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year_colum={'&amp;amp;(=vYear)'}&amp;gt;}InVet)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year_colum={'&amp;amp;(=vYear-1)'}&amp;gt;}InVet)&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year_colum={'&amp;amp;(=vYear-2)'}&amp;gt;}InVet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660227#M1082957</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-26T10:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660228#M1082958</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;I must be doing something wrong from the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a variable vYear&amp;nbsp;&amp;nbsp;&amp;nbsp; =max(year_colum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then created the expression =sum({&amp;lt;year_colum={'&amp;amp;(=vYear)'}&amp;gt;}InvNet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikExpressionError.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61254_QlikExpressionError.JPG.jpg" style="float: left;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660228#M1082958</guid>
      <dc:creator />
      <dc:date>2014-06-26T10:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660229#M1082959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;year_column means column name --&amp;gt; here you have to use "Year"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660229#M1082959</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-26T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660230#M1082960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still no luck, what am I missing???&lt;/P&gt;&lt;P&gt;Expression say all OK but I do not get a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikExpressionError2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/61255_QlikExpressionError2.JPG.jpg" style="width: 620px; height: 199px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 11:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660230#M1082960</guid>
      <dc:creator />
      <dc:date>2014-06-26T11:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660231#M1082961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manjol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still struggling with this one, can you describe how you approached this, did you try a different method to Sasikanth?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 13:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660231#M1082961</guid>
      <dc:creator />
      <dc:date>2014-06-26T13:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Sales Sales Values per Year</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660232#M1082962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do it directlt like below&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2004'}&amp;gt;}InvNet)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2005'}&amp;gt;}InvNet)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;year={'2006'}&amp;gt;}InvNet)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 05:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Sales-Sales-Values-per-Year/m-p/660232#M1082962</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-06-27T05:37:09Z</dc:date>
    </item>
  </channel>
</rss>

