<?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: Previous year values table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687687#M726474</link>
    <description>&lt;P&gt;Qlikview or qliksense ?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Mar 2020 14:28:45 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2020-03-25T14:28:45Z</dc:date>
    <item>
      <title>Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687549#M726471</link>
      <description>&lt;P&gt;I have this type of data&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Category	Year	Revenue
Product A	2017	213
Product B	2017	345
Product C	2017	2545
Product D	2017	3455
Product A	2018	4563
Product B	2018	45677
Product C	2018	6874
Product D	2018	45366
Product A	2019	9672
Product B	2019	45782
Product C	2019	23490
Product D	2019	90124
Product A	2020	8724
Product B	2020	8728
Product C	2020	124
Product D	2020	9812&lt;/LI-CODE&gt;&lt;P&gt;I want previous year data like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Category	2017	2018	2019	2020
Product A	213	4563	9672	8724
Product B	345	45677	45782	8728
Product C	2545	6874	23490	124
Product D	3455	45366	90124	9812&lt;/LI-CODE&gt;&lt;P&gt;I want previous year data like this .. I get&amp;nbsp; previous year data through this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sum({$ &amp;lt;[Year] = {$(=Max([Year]) - 1)} &amp;gt;} Revenue)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;formula..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I click on 2020 then then 2019 fig shows as 9672 on below table (here 2020 is considered as 2019 , 2019 for 2018, 2018 for 2017 ) .. but this return only 1 year where as I want all year like below table… if you notice values is once step back from above table&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Category	2017	2018	2019	2020
Product A	-	213	4563	9672
Product B	-	345	45677	45782
Product C	-	2545	6874	23490
Product D	-	3455	45366	90124&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687549#M726471</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687556#M726472</link>
      <description>&lt;P&gt;with the formula&lt;BR /&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year]) - 1)} &amp;gt;} Revenue)&lt;/P&gt;&lt;P&gt;and if you click on 2020 it is normal that the values returned are those of 2019&lt;BR /&gt;Max(Year)-&amp;gt;2020 Max(Year)-1-&amp;gt;2019&lt;/P&gt;&lt;P&gt;for the Table, maye be :&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year]) )} &amp;gt;} Revenue)-&amp;gt;2020&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year]) - 1)} &amp;gt;} Revenue)-&amp;gt;2019&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year]) - 2)} &amp;gt;} Revenue)-&amp;gt;2018&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;If I understood the question correctly ....&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 08:21:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687556#M726472</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-03-25T08:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687686#M726473</link>
      <description>&lt;P&gt;when i tried your solution i got this&amp;nbsp;&lt;/P&gt;&lt;TABLE width="507"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Year&lt;/TD&gt;&lt;TD width="137px"&gt;2017&lt;/TD&gt;&lt;TD width="137px"&gt;2018&lt;/TD&gt;&lt;TD width="148px"&gt;2019&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Category&lt;/TD&gt;&lt;TD width="43px"&gt;2019&lt;/TD&gt;&lt;TD width="47px"&gt;2018&lt;/TD&gt;&lt;TD width="47px"&gt;2017&lt;/TD&gt;&lt;TD width="43px"&gt;2019&lt;/TD&gt;&lt;TD width="51px"&gt;2018&lt;/TD&gt;&lt;TD width="43px"&gt;2017&lt;/TD&gt;&lt;TD width="54px"&gt;2019&lt;/TD&gt;&lt;TD width="46px"&gt;2018&lt;/TD&gt;&lt;TD width="48px"&gt;2017&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Product A&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;213&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="51px"&gt;4563&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="54px"&gt;9672&lt;/TD&gt;&lt;TD width="46px"&gt;0&lt;/TD&gt;&lt;TD width="48px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Product B&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;345&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="51px"&gt;45677&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="54px"&gt;45782&lt;/TD&gt;&lt;TD width="46px"&gt;0&lt;/TD&gt;&lt;TD width="48px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Product C&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;2545&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="51px"&gt;6874&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="54px"&gt;23490&lt;/TD&gt;&lt;TD width="46px"&gt;0&lt;/TD&gt;&lt;TD width="48px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="84px"&gt;Product D&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;0&lt;/TD&gt;&lt;TD width="47px"&gt;3455&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="51px"&gt;45366&lt;/TD&gt;&lt;TD width="43px"&gt;0&lt;/TD&gt;&lt;TD width="54px"&gt;90124&lt;/TD&gt;&lt;TD width="46px"&gt;0&lt;/TD&gt;&lt;TD width="48px"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i want result like this&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" width="320" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Year&lt;/TD&gt;&lt;TD width="56px"&gt;2017&lt;/TD&gt;&lt;TD width="56px"&gt;2018&lt;/TD&gt;&lt;TD width="59px"&gt;2019&lt;/TD&gt;&lt;TD width="60px"&gt;2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Category&lt;/TD&gt;&lt;TD width="56px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="56px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="59px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="60px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product A&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;213&lt;/TD&gt;&lt;TD width="59px"&gt;4563&lt;/TD&gt;&lt;TD width="60px"&gt;9672&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product B&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;345&lt;/TD&gt;&lt;TD width="59px"&gt;45677&lt;/TD&gt;&lt;TD width="60px"&gt;45782&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product C&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;2545&lt;/TD&gt;&lt;TD width="59px"&gt;6874&lt;/TD&gt;&lt;TD width="60px"&gt;23490&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product D&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;3455&lt;/TD&gt;&lt;TD width="59px"&gt;45366&lt;/TD&gt;&lt;TD width="60px"&gt;90124&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 14:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687686#M726473</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2020-03-25T14:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687687#M726474</link>
      <description>&lt;P&gt;Qlikview or qliksense ?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 14:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687687#M726474</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-03-25T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687824#M726475</link>
      <description>&lt;P&gt;&amp;nbsp;qlikview check attaced file. &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;when i try ur soultion i got result&amp;nbsp;&amp;nbsp;in different format. check table in qlikview file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;whereas i want results like this&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" width="320" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Year&lt;/TD&gt;&lt;TD width="56px"&gt;2017&lt;/TD&gt;&lt;TD width="56px"&gt;2018&lt;/TD&gt;&lt;TD width="59px"&gt;2019&lt;/TD&gt;&lt;TD width="60px"&gt;2020&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Category&lt;/TD&gt;&lt;TD width="56px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="56px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="59px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="60px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product A&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;213&lt;/TD&gt;&lt;TD width="59px"&gt;4563&lt;/TD&gt;&lt;TD width="60px"&gt;9672&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product B&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;345&lt;/TD&gt;&lt;TD width="59px"&gt;45677&lt;/TD&gt;&lt;TD width="60px"&gt;45782&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product C&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;2545&lt;/TD&gt;&lt;TD width="59px"&gt;6874&lt;/TD&gt;&lt;TD width="60px"&gt;23490&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="88px" height="17"&gt;Product D&lt;/TD&gt;&lt;TD width="56px"&gt;-&lt;/TD&gt;&lt;TD width="56px"&gt;3455&lt;/TD&gt;&lt;TD width="59px"&gt;45366&lt;/TD&gt;&lt;TD width="60px"&gt;90124&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 19:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687824#M726475</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2020-03-25T19:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687840#M726476</link>
      <description>&lt;P&gt;Sheet1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 890px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30599i075A775B018F9529/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 20:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687840#M726476</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-03-25T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687909#M726477</link>
      <description>&lt;P&gt;hi ...i&lt;/P&gt;&lt;P&gt;could you please paste formula here ..&lt;/P&gt;&lt;P&gt;and the picture you posted if this is result then this is not what i want .. i already told you what i want 2019 figures in 2020 .. 2018 figures in 2019 and 2017 figures in 2018.. and for 2017 this should be dash "-" because from 2017 onward&amp;nbsp; there is no previous year..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;please paste formula here..&lt;/P&gt;&lt;P&gt;my qilkview licence is expire.. thats why i unable to open the file&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 00:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687909#M726477</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2020-03-26T00:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687966#M726478</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/56648"&gt;@Taoufiq_Zarra&lt;/a&gt;&amp;nbsp; ??&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 08:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687966#M726478</guid>
      <dc:creator>capriconuser</dc:creator>
      <dc:date>2020-03-26T08:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687974#M726479</link>
      <description>&lt;P&gt;I'm not sure if I understood you correctly, but In qlikview:&lt;/P&gt;&lt;P&gt;create a pivot table -&amp;gt;&lt;/P&gt;&lt;P&gt;dimension : Category&lt;/P&gt;&lt;P&gt;Mesures:&lt;/P&gt;&lt;TABLE border="0" width="225px" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="101.1px" height="19"&gt;Label&lt;/TD&gt;&lt;TD width="123.817px"&gt;Expression&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="101.1px"&gt;=prev_year+1&lt;/TD&gt;&lt;TD width="123.817px"&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year])-1 )} &amp;gt;} Revenue)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="101.1px"&gt;=prev_year&lt;/TD&gt;&lt;TD width="123.817px"&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year])-2 )} &amp;gt;} Revenue)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="101.1px"&gt;=prev_year-1&lt;/TD&gt;&lt;TD width="123.817px"&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year])-3 )} &amp;gt;} Revenue)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="101.1px"&gt;=prev_year-2&lt;/TD&gt;&lt;TD width="123.817px"&gt;Sum({$ &amp;lt; [Year] = {$(=Max([Year])-4 )} &amp;gt;} Revenue)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 572px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30634i1E3D68E4FB2FE98E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 08:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687974#M726479</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2020-03-26T08:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687975#M726480</link>
      <description>&lt;P&gt;I think Zarra's answer is almost right, i updated a little to let it look like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annotation 2020-03-26 160916.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30633i77174BEB6BE6C6F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Annotation 2020-03-26 160916.png" alt="Annotation 2020-03-26 160916.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The formula is&amp;nbsp;Sum({$ &amp;lt; [Year] = {$(=Max([Year])-1)} &amp;gt;} Revenue) and you should insert 4 expressions for each year. The label for the expression I put above is&amp;nbsp;=prev_year+1. prev_year is a variable use this:&amp;nbsp;=Max(Year)-1&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 08:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1687975#M726480</guid>
      <dc:creator>alex00321</dc:creator>
      <dc:date>2020-03-26T08:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Previous year values table</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1695350#M726481</link>
      <description>&lt;P&gt;If Taoufiq or Alex's posts solved your issue, please be sure to close out your thread by using the Accept as Solution button on the post(s) that helped to give them credit for the assistance and let other Members know what worked.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2020 16:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-year-values-table/m-p/1695350#M726481</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-04-21T16:03:21Z</dc:date>
    </item>
  </channel>
</rss>

