<?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: Last year Sales in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239065#M621476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look into &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>Mon, 20 Mar 2017 09:28:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-03-20T09:28:56Z</dc:date>
    <item>
      <title>Last year Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239063#M621474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Year = '2017',Price*Percent,Price) as New_Price&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Year is '2017' it should take the Price from Year = '2016' and so on...&lt;/P&gt;&lt;P&gt;Always the last year Price.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 09:08:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239063#M621474</guid>
      <dc:creator>alexandermllr</dc:creator>
      <dc:date>2017-03-20T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Last year Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239064#M621475</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: 13px;"&gt;Try this:&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;For last Year:-=&amp;nbsp; =Sum({$&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}Sales)&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Regard's&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;Sarvesh Srivastava&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Mar 2017 09:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239064#M621475</guid>
      <dc:creator>sarvesh</dc:creator>
      <dc:date>2017-03-20T09:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Last year Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239065#M621476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look into &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>Mon, 20 Mar 2017 09:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-year-Sales-in-Script/m-p/1239065#M621476</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-20T09:28:56Z</dc:date>
    </item>
  </channel>
</rss>

