<?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: Table Chart Year / Previous Year Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095414#M928416</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;Thx for the feedback.&lt;/P&gt;&lt;P&gt;This is working except if the customer want's to change the sorting of one of the columns.&lt;/P&gt;&lt;P&gt;It should really take the year -1 to be sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Mar 2016 11:43:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-30T11:43:46Z</dc:date>
    <item>
      <title>Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095412#M928414</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;Can anybody help here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to display the sum of the year and previous year on one row in a table chart but I can't figure it out.&lt;/P&gt;&lt;P&gt;The chart should look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="388"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;2010&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;200&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="192"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;2011&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;2012&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" style="border-top: none;"&gt;2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&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/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095412#M928414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095413#M928415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum(amount) &amp;gt; 0, Alt(Above(Sum({&amp;lt;Year&amp;gt;}amount)), 0))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119848_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095413#M928415</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095414#M928416</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;Thx for the feedback.&lt;/P&gt;&lt;P&gt;This is working except if the customer want's to change the sorting of one of the columns.&lt;/P&gt;&lt;P&gt;It should really take the year -1 to be sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095414#M928416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-30T11:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095415#M928417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QV12? If yes, then there is a easy way to fix that in such a way that user's change in sort order won't have any impact on the use of Above function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can create an AsOf Table: &lt;A href="https://community.qlik.com/qlik-blogpost/4531"&gt;The As-Of Table&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095415#M928417</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095416#M928419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you should do this inside the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;Year,&amp;nbsp; amount&lt;/P&gt;&lt;P&gt;2010,&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;2010,&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;2011,&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2011,&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2012,&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;2012,&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;2013,&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;2013,&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(amount_last_year) AS amount_last_year&lt;/P&gt;&lt;P&gt;Group By Year;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year + 1 AS Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(isnull(peek('Year')), 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(peek('Year') = Year, amount + peek('amount_last_year'), amount)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&amp;nbsp; AS amount_last_year&lt;/P&gt;&lt;P&gt;Resident table1&lt;/P&gt;&lt;P&gt;Order By Year asc;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119882_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 13:25:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095416#M928419</guid>
      <dc:creator />
      <dc:date>2016-03-30T13:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095417#M928421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;Year,&amp;nbsp; amount&lt;/P&gt;&lt;P&gt;2010,&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;2010,&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;2011,&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2011,&amp;nbsp; 10&lt;/P&gt;&lt;P&gt;2012,&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;2012,&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;2013,&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;2013,&amp;nbsp; 20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year + 1 AS Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SUM(amount) AS amount_last_year&lt;/P&gt;&lt;P&gt;Resident table1&lt;/P&gt;&lt;P&gt;Group By Year;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 13:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095417#M928421</guid>
      <dc:creator />
      <dc:date>2016-03-30T13:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095418#M928423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the easy way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095418#M928423</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2016-03-30T18:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095419#M928424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easy way is to use the sort-able Aggr() function: &lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But this only works in QV12 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095419#M928424</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-30T18:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table Chart Year / Previous Year Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095420#M928426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-Chart-Year-Previous-Year-Set-Analysis/m-p/1095420#M928426</guid>
      <dc:creator>maximiliano_vel</dc:creator>
      <dc:date>2016-03-30T18:09:40Z</dc:date>
    </item>
  </channel>
</rss>

