<?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: Create field Year-1 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469162#M695031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;IF(Max(year(Date(Date,'YYYY'))) &amp;gt;0, VOLUME) AS VOLUME_N_1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Jun 2013 09:58:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-13T09:58:44Z</dc:date>
    <item>
      <title>Create field Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469160#M695029</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;In the script, i have a table with the fields :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date, CD_SOCIETY,CD_ENTITY,CD_PRODUT, VOLUME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a field VOLUME_N_1 wich is the value of VOLUME for last year using the field VOLUME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this in the script please ?&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, 13 Jun 2013 08:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469160#M695029</guid>
      <dc:creator>christophebrault</dc:creator>
      <dc:date>2013-06-13T08:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create field Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469161#M695030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean that records in this year have an additional field that shows the total volume for last year for all products etc ?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 09:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469161#M695030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-13T09:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create field Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469162#M695031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;IF(Max(year(Date(Date,'YYYY'))) &amp;gt;0, VOLUME) AS VOLUME_N_1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 09:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469162#M695031</guid>
      <dc:creator />
      <dc:date>2013-06-13T09:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create field Year-1</title>
      <link>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469163#M695032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY THIS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF(YEAR=Max(YEAR), VOLUME) AS VOLUME_N_1&lt;SPAN style="color: #339966;"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Date, &lt;/P&gt;&lt;P&gt;CD_SOCIETY,&lt;/P&gt;&lt;P&gt;CD_ENTITY,&lt;/P&gt;&lt;P&gt;CD_PRODUT, &lt;/P&gt;&lt;P&gt;VOLUME,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;year(Date(Date)) AS YEAR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM TABLE;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 10:07:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-field-Year-1/m-p/469163#M695032</guid>
      <dc:creator />
      <dc:date>2013-06-13T10:07:25Z</dc:date>
    </item>
  </channel>
</rss>

