<?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: Need to get Last year data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31109#M5178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA qvd..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar year i have given &amp;gt;2016 because i have years from 1981 that is why i have given like that..&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, 15 Feb 2018 14:42:36 GMT</pubDate>
    <dc:creator>bharatkishore</dc:creator>
    <dc:date>2018-02-15T14:42:36Z</dc:date>
    <item>
      <title>Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31102#M5171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have fields like cat , sales org and date field where i have Years from 2016 Jan to&amp;nbsp; 2017 Dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i have a field called cons where there are values of 2016 jan and 2017 dec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to add one more field called Cons_LY where if i select jan 2017 it should show Jan 2016 data and similarly if i select 2017 feb it should show for feb 2017 data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how can i do it.. Can it be done in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached app for ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 13:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31102#M5171</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T13:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31103#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be add this in script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join(T1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD If(calenday_year_code=2016,Sum(Consumption)) as Field&amp;nbsp; Resident T1 Where Year = '2017';&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 13:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31103#M5172</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-15T13:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31104#M5173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.. But&amp;nbsp; i need to use field bec it has yearmonth combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i tried your expression but getting error. Below code for ref:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;T1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD Sales_Organization, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cat, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Month_Code, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Year_Code,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consumption&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(qvd) where Calendar_Year_Code&amp;gt;='2016' ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;left join(T1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; If(Calendar_Year_Code=2016,Sum(Consumption)) as Cons_LY &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; Resident T1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp; Where Calendar_Year_Code = '2017';&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 13:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31104#M5173</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T13:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31105#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad,&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-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;T1:&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&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LOAD Sales_Organization,&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt; Cat,&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; Calendar_Month_Code,&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; Calendar_Year_Code,&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt; Consumption&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-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;FROM &lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;&lt;C&gt; &lt;/C&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;(qvd) where Calendar_Year_Code&amp;gt;='2016' ;&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;/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-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;left join(T1)&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&gt;&lt;SPAN style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LOAD &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Calendar_Month_Code, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Calendar_Year_Code,&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 13.3333px; font-style: inherit;"&gt;If(Calendar_Year_Code=2016,Sum(Consumption)) as Cons_LY&lt;/SPAN&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;&lt;STRONG style="font-size: 13.3333px; font-style: inherit; font-family: inherit;"&gt;Resident T1&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;STRONG&gt;Where Calendar_Year_Code = '2017' Group By &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Calendar_Month_Code, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Calendar_Year_Code&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31105#M5174</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-02-15T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31106#M5175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find below requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CalendarMonthCode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cons&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConslY(i need to derive this field)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201601&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0(bec no data for 201501)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201602&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201701&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 201702&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i am clear and please let me know if you need anything more and CalendarMonthCode&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; is the field i need to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31106#M5175</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31107#M5176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharat, one easy way can be load the data as LYConsumption, adding one year to the data:&lt;/P&gt;&lt;P&gt;Concatenate (T1)&lt;/P&gt;&lt;P&gt;LOAD Sales_Organization,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cat,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Month_Code,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Year_Code+1 as Calendar_Year_Code,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consumption as LYConsumption&lt;/P&gt;&lt;P&gt;Resident T1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A where condition can&amp;nbsp; be added to not generate data from current year (wich will be loaded as 2019 data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another options of acces data of different dates can be using an as-of calendar: &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>Thu, 15 Feb 2018 14:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31107#M5176</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-02-15T14:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31108#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share T1.qvd?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31108#M5177</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31109#M5178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA qvd..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need anything more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calendar year i have given &amp;gt;2016 because i have years from 1981 that is why i have given like that..&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, 15 Feb 2018 14:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31109#M5178</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T14:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31110#M5179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but i need use CalendarMonthCode instead of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calendar_Year_Code because i needed in MonthLevel basis.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31110#M5179</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T14:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31111#M5180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Sales_Organization, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cat, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Month_Code, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Year_Code,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consumption&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM [T1.qvd](qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Where Calendar_Year_Code&amp;gt;='2016' ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LinkTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD DISTINCT Calendar_Month_Code as AsOfCalendar_Month_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Calendar_Month_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; 'CY' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Resident T1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Concatenate (LinkTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD DISTINCT Calendar_Month_Code as AsOfCalendar_Month_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; AddYears(Calendar_Month_Code, -1) as Calendar_Month_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; 'PY' as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident T1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193526_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31111#M5180</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T14:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31112#M5181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then CalendarMonthCode can be also changed to add one year:&lt;/P&gt;&lt;P&gt;Date(AddYears(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calendar_Month_Code, 1), 'YYYYMM') as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Calendar_Month_Code&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if the data is aggregated a last join can be done to reduce rows and&amp;nbsp; have Consumption and LYConsumption in the same row.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:51:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31112#M5181</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-02-15T14:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31113#M5182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Sunny..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp; only one help needed. Is it possible to derive this expression what you have used in chart =Sum({&amp;lt;Flag = {'PY'}&amp;gt;}Consumption)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as a field called Cons_LY in script it-self..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 14:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31113#M5182</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T14:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31114#M5183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to aggregate this in the script also?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31114#M5183</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T15:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31115#M5184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes only in script i need to do for current year cons and last year cons and in chart directly i can&amp;nbsp; load only those fields..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31115#M5184</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T15:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31116#M5185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, what I mean is that you might have multiple rows for each Sales_Organization, Cat and MonthYear.... so when we join... it sort of do a Cartesian join causing the numbers to increase. Can we sum up consumption to show at the level of Sales_Organization, Cat, and MonthYear for This year and last year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31116#M5185</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T15:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31117#M5186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Sunny, We need to do that one only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But even i have 4 to 5 years more there won't be any problem right. Because later i will data from 2015 to 2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what ever the solution you have provided is what i needed but&amp;nbsp; instead of writing those two expressions i need to get directly fields because later i will create qvd's..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if i explained you correctly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31117#M5186</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T15:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31118#M5187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;T1:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Sales_Organization, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cat, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Month_Code, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Calendar_Year_Code,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Consumption) as Consumption&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;FROM [T1.qvd](qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Where Calendar_Year_Code&amp;gt;='2016'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Group By Sales_Organization, Cat, Calendar_Month_Code, Calendar_Year_Code;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Left Join (T1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;LOAD Sales_Organization,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Cat,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; AddYears(Calendar_Month_Code, 1) as Calendar_Month_Code,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt; Consumption AS Cons_LY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Resident T1;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But notice that your number of rows went down from 10,170 to just 170..... Not sure if that is what you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31118#M5187</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T15:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31119#M5188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Sunny to ask you for many times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the below image which you have given the solution and this what i needed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Te.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193531_Te.PNG" style="height: 178px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the set analysis what you have used for getting this year cons and last year cons is it possible to derive those fields in script it-self. Because the left join option what you have given is not working as like the above image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to derive those..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:28:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31119#M5188</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T15:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31120#M5189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31120#M5189</guid>
      <dc:creator>bharatkishore</dc:creator>
      <dc:date>2018-02-15T15:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to get Last year data</title>
      <link>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31121#M5190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's the difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/193535_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2018 15:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-to-get-Last-year-data/m-p/31121#M5190</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-15T15:43:36Z</dc:date>
    </item>
  </channel>
</rss>

