<?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: compare current year previous year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564797#M1095391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;below thread is based on same, Please follow same.&amp;nbsp; I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/313488"&gt;Comparision vs. Previous Period&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 27 Apr 2014 20:13:59 GMT</pubDate>
    <dc:creator>ashwanin</dc:creator>
    <dc:date>2014-04-27T20:13:59Z</dc:date>
    <item>
      <title>compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564796#M1095390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to compare the current year with&amp;nbsp; previous year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its booked until 201404&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want t show the sales for sum(maxyear) : Jan/Feb/Mar/Apr 2014&lt;/P&gt;&lt;P&gt;and compare it with sum(sales) : Jan/Feb/Mar/Apr 2013&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 19:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564796#M1095390</guid>
      <dc:creator />
      <dc:date>2014-04-27T19:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564797#M1095391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;below thread is based on same, Please follow same.&amp;nbsp; I&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/313488"&gt;Comparision vs. Previous Period&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 20:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564797#M1095391</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-04-27T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564798#M1095392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write like below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If dimension you use Year&lt;/P&gt;&lt;P&gt;Dimension:- Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression for current year:- Sum({&amp;lt;YearField = {'$(=Year(Today()))'}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression for previous year:- Sum({&amp;lt;YearField = {'$(=Year(Today())-1)'}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If You have dimension any Date field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression for Current Year:- =SUM({$&amp;lt;DateField = {'&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=MonthEnd(Today()))'}&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression for Previous Year:- =SUM({$&amp;lt;DateField = {'&amp;gt;=$(=AddMonths(YearStart(Today()),-12))&amp;lt;=$(=AddMonths(MonthEnd (Today()),-12))'}&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 20:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564798#M1095392</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-27T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564799#M1095393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considering you have Date field in your data model&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Current Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({$&amp;lt;Date = {'&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=MonthEnd(Today()))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Previous Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=SUM({$&amp;lt;Date = {'&amp;gt;=$(=YearStart(AddYears(Today(),-1)))&amp;lt;=$(=MonthEnd(AddYears(Today(),-1)))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Comparison/Growth you can do as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;([Current Year]-[Previous Year])/[Previous Year]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 20:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564799#M1095393</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-27T20:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564800#M1095394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest thing to do it? Get your "date" field, and create another two fields in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MONTH(date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;YEAR(date)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step, on your dashboard, create a graphic sum table (you'll see when you choose the graphic type) with eveything you want, if you want to lock the selections for 2013 and 2014, use two expressions, with the set analysis (friends have already answered that part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tip: just do a normal sum(sales). Create two lists, one with month and one with year, and in their properties, in the "Presentation" tab, change the selection style to "LED check boxes". Those are user friendly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever they pick 2013, 2014, 2013 and 2014, it will show the sum(sales) of that range. If they want to see for only one month, etc, etc, this way it will become also possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you will not need to keep changing for every selection people want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 21:13:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564800#M1095394</guid>
      <dc:creator />
      <dc:date>2014-04-27T21:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564801#M1095395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to take a look at the example application I have uploaded: &lt;A href="https://community.qlik.com/docs/DOC-4313"&gt;QlikView App: Set Analysis - Prior Period Comparison&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This looks at year on year as well as prior month and month to date comparisons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is helpful.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Apr 2014 22:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564801#M1095395</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-04-27T22:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564802#M1095397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;what do you mean by yearstart,addyears and monthend??&lt;/P&gt;&lt;P&gt;is this a column name ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 09:36:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564802#M1095397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-15T09:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564803#M1095400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;These are Qlik functions.&amp;nbsp; YearStart will return the 1st Jan 00:00:00 for whichever year the date in the parameter is for, so;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=YearStart(today())&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will return;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;01/01/2017 00:00:00&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The other functions work in a similar way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 09:59:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564803#M1095400</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-12-15T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564804#M1095402</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;This functions &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;yearstart,addyears and monthend Qlik Date functions&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: 13px;"&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: 13px;"&gt;YearStart :- This gives Year start date that i 01/01/2017&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: 13px;"&gt;Addyears :- This adding years to the current 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: 13px;"&gt;Monthend :- this gives Monthend date of the Month for current month it is 31/12/2017.&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: 13px;"&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564804#M1095402</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-12-15T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564805#M1095405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;i am using this below expressions i am getting following:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;i am not geeting current sales&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="wer.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187119_wer.png" style="height: 124px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Current Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=SUM({$&amp;lt;Date = {'&amp;gt;=$(=YearStart(Today()))&amp;lt;=$(=MonthEnd(Today()))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Previous Year&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=SUM({$&amp;lt;Date = {'&amp;gt;=$(=YearStart(AddYears(Today(),-1)))&amp;lt;=$(=MonthEnd(AddYears(Today(),-1)))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Comparison/Growth you can do as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;([Current Year]-[Previous Year])/[Previous Year]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564805#M1095405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-15T10:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564806#M1095406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a table with those expressions with Month Year as the dimensions, you can then see what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add an additional measure to this table of just SUM(Sales), this will give you the amounts you are after in each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try building up the set analysis a bit at a time; e.g. just do the &amp;gt;=YearStart first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact, unless you have future sales values you don't need the &amp;lt;= on the Current Year values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis can be quite funny about date formats.&amp;nbsp; You may need to use the Date function to format the output from YearStart and MonthEnd to be in the same format as your Date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564806#M1095406</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-12-15T10:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564807#M1095407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expressions that you use is ok for me please check what the Steve suggested to you, may be doing some mistake in set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564807#M1095407</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-12-15T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564808#M1095408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you mean inline table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 10:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564808#M1095408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-15T10:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564809#M1095409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a straight table chart.&amp;nbsp; You could copy your existing one and change the dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 11:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564809#M1095409</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-12-15T11:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564810#M1095410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;now its functioning well but ,&lt;/SPAN&gt;if i want to compare 2015 sales with 2017 in same chat .here&amp;nbsp; only 2016 AND 2017 SALES CAN BE SEEN WHEN YEAR DIMENSION WAS TAKEN &lt;IMG alt="paint.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187129_paint.png" style="height: 132px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 11:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564810#M1095410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-15T11:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564811#M1095411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need another expression with AddYears and -2 in there as the parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2017 12:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564811#M1095411</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-12-15T12:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564812#M1095412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="paint1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187262_paint1.png" style="height: 280px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;i have written expression on 2016 label as following :-&lt;/P&gt;&lt;P&gt;=num(sum({&amp;lt; sold_Year = {"$(=Max(sold_Year))"}&amp;gt;} [inv value]/Sales_INR_Unit),'#,##0.0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now you want me to add another expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 03:55:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564812#M1095412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-18T03:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: compare current year previous year</title>
      <link>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564813#M1095413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I read it as you wanted to show three years in separate columns.&amp;nbsp; Is it that you want to keep current year ffixed, but change which year you compare to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you will need to change the years back value to a variable, say vYB and insert that into the expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;=SUM({$&amp;lt;Date = {'&amp;gt;=$(=YearStart(AddYears(Today(),-$(vYB))))&amp;lt;=$(=MonthEnd(AddYears(Today(),-$(vYB))))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-style: inherit; font-size: 13px; font-family: inherit; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This will need to be created under Settings \ Variables, and then controlled by a pair of buttons.&amp;nbsp; See this post for details on changing variables with buttons:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.quickintelligence.co.uk/qlikview-buttons/" title="https://www.quickintelligence.co.uk/qlikview-buttons/"&gt;https://www.quickintelligence.co.uk/qlikview-buttons/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Dec 2017 08:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/compare-current-year-previous-year/m-p/564813#M1095413</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2017-12-18T08:23:35Z</dc:date>
    </item>
  </channel>
</rss>

