<?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 Last 3 years - Dynamic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218518#M71627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sthish,&lt;/P&gt;&lt;P&gt;Pls check logic of set analysis dynamic tab of attached qvw. I implemnted same thing with the help this example in sales application.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil jain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Sep 2010 08:15:08 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2010-09-27T08:15:08Z</dc:date>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218513#M71622</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;I have barchart it shows year wise the data. now I want to do based on selection i want to display in last 3 years.&lt;/P&gt;&lt;P&gt;Ecample : if i select 2009-2010&lt;/P&gt;&lt;P&gt;in barchart it will show 2009-2010,2008-2009,2007-2008&lt;/P&gt;&lt;P&gt;without macro it is possible?&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 05:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218513#M71622</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2010-09-27T05:37:55Z</dc:date>
    </item>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218514#M71623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sathish,&lt;/P&gt;&lt;P&gt;You can use Set Anslysis feature to do this. Which will be like as under:-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Year={"&amp;gt;=$(=YearName(Max(Date), -2, 4))&amp;lt;=$(=YearName(Max(Date), 0, 4))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;So if you see in above example I am doing it for financial year which start from Apri. But if you are using calendar year then it's more simple like as under:-&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Year={"&amp;gt;=$(=Year(Max(Date))-2)&amp;lt;=$(=Year(Max(Date)))"}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 05:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218514#M71623</guid>
      <dc:creator />
      <dc:date>2010-09-27T05:46:02Z</dc:date>
    </item>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218515#M71624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhanajey,&lt;/P&gt;&lt;P&gt;Thanks for your Quick Reply. But My problem is based on selection it will show last 3 years.&lt;/P&gt;&lt;P&gt;example : In list box if i select 2008-2009&lt;/P&gt;&lt;P&gt;then barchart will display on only 2008-2009,2007-2008,2006-2007&lt;/P&gt;&lt;P&gt;-Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218515#M71624</guid>
      <dc:creator>sathishkumar_go</dc:creator>
      <dc:date>2010-09-27T06:07:06Z</dc:date>
    </item>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218516#M71625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sathish,&lt;/P&gt;&lt;P&gt;This will do the same. When you won't select any year it will consider max year to get last 2 years as and if you select any year then it will consider that year to get last 2 years.&lt;/P&gt;&lt;P&gt;So pls test this in ur scenario it works fine. I am using QlikView 9.0 SR5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218516#M71625</guid>
      <dc:creator />
      <dc:date>2010-09-27T06:36:25Z</dc:date>
    </item>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218517#M71626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish ,&lt;/P&gt;&lt;P&gt;I think this expression will help you this for current year ,current month ,previous month, and previous-1 month selection .....&lt;/P&gt;&lt;P&gt;previous month:&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;YM={"$(vLast1YearMonth)"},Year=,Quarter=,MonthName=,BUCKER={1} &amp;gt;} distinct DebtNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current month:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;YM={"$(vCurrentyearmonth)"},Year=,Quarter=,MonthName=,BUCKER={'1'}&amp;gt;} DISTINCT DebtNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous -1 month&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;YM={"$(vLast2YearMonth)"},Year=,Quarter=,MonthName=,BUCKER={1} &amp;gt;} distinct DebtNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here VLAST1YEARMONTH IS THE VARIABLE SO YOU HAVE TO MAKE THESE TYPE OF VARIABLE FOR CURRENT AND PREVIOUS YEAR .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use attached application for your refrence......&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218517#M71626</guid>
      <dc:creator />
      <dc:date>2010-09-27T06:49:58Z</dc:date>
    </item>
    <item>
      <title>Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218518#M71627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sthish,&lt;/P&gt;&lt;P&gt;Pls check logic of set analysis dynamic tab of attached qvw. I implemnted same thing with the help this example in sales application.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil jain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 08:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/218518#M71627</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-09-27T08:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 years - Dynamic</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/1623883#M445968</link>
      <description>&lt;P&gt;could u please syntax and elaborate explanation ,dynamically change in last 3 years data&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 07:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-years-Dynamic/m-p/1623883#M445968</guid>
      <dc:creator>ramu8543</dc:creator>
      <dc:date>2019-09-14T07:18:57Z</dc:date>
    </item>
  </channel>
</rss>

