<?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 Create Prior Year Column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240090#M855249</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I ask what is the "vyear"? is it the prior year or the exact year like "2017" Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2017 06:49:41 GMT</pubDate>
    <dc:creator>ksomosera10</dc:creator>
    <dc:date>2017-02-13T06:49:41Z</dc:date>
    <item>
      <title>How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240083#M855242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im new at Qlik Sense and I need to create a column expression to create a Prior Year column.&lt;/P&gt;&lt;P&gt;You can check on my example on what I needed to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp; || Sales&amp;nbsp;&amp;nbsp; ||&amp;nbsp; PriorYearSales&lt;/P&gt;&lt;P&gt;2013&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 420&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;2014&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 250&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 420&lt;/P&gt;&lt;P&gt;2015&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 143&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250&lt;/P&gt;&lt;P&gt;2016&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 156&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 143&lt;/P&gt;&lt;P&gt;2017&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can create expressions to sum these values but I can't put the values to a different or prior year.&lt;/P&gt;&lt;P&gt;I hope someone could help me out here. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240083#M855242</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240084#M855243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check out the above() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 11:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240084#M855243</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2017-02-09T11:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240085#M855244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try above() function &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 12:09:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240085#M855244</guid>
      <dc:creator>gowtham_patnaik</dc:creator>
      <dc:date>2017-02-09T12:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240086#M855245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but I already tried above() it only copies the above rows. I need a flexible expression. Its a pivot table and year has a sub row of months. like this. I really need to know how its done. Its a big challenge for me. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+2013&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 420&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-2014&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 250&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 420&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; + JAN ||&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp; 220&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; +&amp;nbsp; FEB ||&amp;nbsp; 150&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+2015&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 143&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 250&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+2016&amp;nbsp; ||&amp;nbsp;&amp;nbsp; 156&amp;nbsp;&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 143&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+2017&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&amp;nbsp;&amp;nbsp; ||&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 320&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 00:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240086#M855245</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-02-10T00:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240087#M855246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check out my reply on &lt;A _jive_internal="true" data-avatarid="1033" data-externalid="" data-online="false" data-presence="null" data-userid="6975" data-username="michielvandegoor" href="https://community.qlik.com/people/michielvandegoor" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;"&gt;Michiel van de Goor&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 00:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240087#M855246</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-02-10T00:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240088#M855247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I use above() function, how can I use it on drill-down rows. thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 00:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240088#M855247</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-02-10T00:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240089#M855248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make use of functions like rangesum() and aggr() &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try expressions like:&lt;/P&gt;&lt;P&gt;=Aggr(Rangesum(Above(sum({$&amp;lt; Year = {"vyear"}&amp;gt;} sales) 0, 1)),year, month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;Currently i am not having qlikview to check the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 05:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240089#M855248</guid>
      <dc:creator>gowtham_patnaik</dc:creator>
      <dc:date>2017-02-13T05:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240090#M855249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I ask what is the "vyear"? is it the prior year or the exact year like "2017" Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 06:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240090#M855249</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-02-13T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240091#M855250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;vYear is just a variable declared,so that it will be applicable to particular year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;ignore that variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;try this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;=Aggr(Rangesum(Above(sum( sales) 0, 1)),year, month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 07:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240091#M855250</guid>
      <dc:creator>gowtham_patnaik</dc:creator>
      <dc:date>2017-02-13T07:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240092#M855251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your response is very appreciated, but the expression didn't do anything after I've used your expression.&lt;/P&gt;&lt;P&gt;Did I did Something wrong? here is my expression from you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr&lt;/STRONG&gt;(&lt;STRONG&gt;Rangesum&lt;/STRONG&gt;(&lt;STRONG&gt;Above&lt;/STRONG&gt;(&lt;STRONG&gt;sum&lt;/STRONG&gt;([Actual]) 0, 1)),&lt;STRONG&gt;year&lt;/STRONG&gt;, &lt;STRONG&gt;month&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU! hope you can help me figure this out.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="note.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/152868_note.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 07:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240092#M855251</guid>
      <dc:creator>ksomosera10</dc:creator>
      <dc:date>2017-02-13T07:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Create Prior Year Column</title>
      <link>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240093#M855252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u upload some sample qvw. so that i can figure it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 08:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Create-Prior-Year-Column/m-p/1240093#M855252</guid>
      <dc:creator>gowtham_patnaik</dc:creator>
      <dc:date>2017-02-13T08:32:23Z</dc:date>
    </item>
  </channel>
</rss>

