<?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 Current Year value based on the Last Year value also in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674477#M244906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Confusing...&lt;/P&gt;&lt;P&gt;let me clarify first...&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value &amp;lt; 95% in both 2013 and 2014, consider Value of 2014&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value &amp;lt; 95% in 2013 and &amp;gt;95 in 2014, consider Value of 2013....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if both above condition not satisfied?&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;Value &amp;gt; 95% in 2013 ?&lt;/P&gt;&lt;P&gt;Value &amp;gt; 95% in both 2013 and 2014 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 15:10:15 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-11T15:10:15Z</dc:date>
    <item>
      <title>Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674469#M244898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a scenario, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am showing one value, The value should satisfy two condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have today, today my revenue is less than 95%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same day last year my revenue is less than 95%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i should consider this year value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i need to write a expression if year=current year and Revenue &amp;lt;95%, Year=PY and revenue&amp;lt;95% then Revenue for today&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help to write this condition&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, 11 Sep 2014 06:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674469#M244898</guid>
      <dc:creator />
      <dc:date>2014-09-11T06:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674470#M244899</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;Just try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;year ={"$(=(max(period)))"}&amp;gt;}revenue)------------------------Exp1&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;sum({&amp;lt;year ={"$(=(max(period)-1))"}&amp;gt;}revenue)----------------------Exp2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;if(column(1)=column(2),column(1),'your expected output')---------Exp3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333339691162px;"&gt;Ajay&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674470#M244899</guid>
      <dc:creator>ajaykumar1</dc:creator>
      <dc:date>2014-09-11T06:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674471#M244900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i have only one expression, i need to include all conditions in one expression&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, 11 Sep 2014 07:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674471#M244900</guid>
      <dc:creator />
      <dc:date>2014-09-11T07:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674472#M244901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better if dummy or sample data being provided to work... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 07:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674472#M244901</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-11T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674473#M244902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would put a counter field into the time table, for example for the YearMonth. This should work with the autonumber (That is how I always use it), for example:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; AutoNumber(YearMonth, 'PeriodID')&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt; as [PeriodID]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Then you get an Integer value for every month and you can calculate the "vActualPeriodID". From this "vActualPeriodID" you just substract 12 (PeriodID&amp;lt;= ($(vActualPeriodID)-12) and you with this and the (actual) Year = ($(vActualYear) -1) you got two timeconditions that your record set has to match to get the last years data till the same month last year (LYTD - Last Yrar To Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for u!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674473#M244902</guid>
      <dc:creator />
      <dc:date>2014-09-11T10:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674474#M244903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA document will help you to achieve the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674474#M244903</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2014-09-11T10:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674475#M244904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA for the attached QVW and Excel, My requirement is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two years 2014, 2013&lt;/P&gt;&lt;P&gt;i have value by months&lt;/P&gt;&lt;P&gt;in values there are some places it is less than 95% for both years&lt;/P&gt;&lt;P&gt;i need a chart with month as a dimension&lt;/P&gt;&lt;P&gt;for measures i need to have two &lt;/P&gt;&lt;P&gt;first measure is when value is less than 95% in both 2014 and 2013 years then 2014 value only&lt;/P&gt;&lt;P&gt;second measure is when the value is less than 95% in 2013 then 2013 value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help into this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674475#M244904</guid>
      <dc:creator />
      <dc:date>2014-09-11T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674476#M244905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA for the attached QVW and Excel, My requirement is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have two years 2014, 2013&lt;/P&gt;&lt;P&gt;i have value by months&lt;/P&gt;&lt;P&gt;in values there are some places it is less than 95% for both years&lt;/P&gt;&lt;P&gt;i need a chart with month as a dimension&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for measures i need to have two&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;first measure is when value is less than 95% in both 2014 and 2013 years then 2014 value only&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;second measure is when the value is less than 95% in 2013 then 2013 value.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please help into this.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 14:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674476#M244905</guid>
      <dc:creator />
      <dc:date>2014-09-11T14:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674477#M244906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Confusing...&lt;/P&gt;&lt;P&gt;let me clarify first...&lt;/P&gt;&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value &amp;lt; 95% in both 2013 and 2014, consider Value of 2014&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value &amp;lt; 95% in 2013 and &amp;gt;95 in 2014, consider Value of 2013....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if both above condition not satisfied?&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;Value &amp;gt; 95% in 2013 ?&lt;/P&gt;&lt;P&gt;Value &amp;gt; 95% in both 2013 and 2014 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674477#M244906</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-11T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674478#M244907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I need to consider the value&amp;lt;95% in both years, then only i need to take current year value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have many years in list box, which ever year i select it should consider selected year and previous year of selected year.&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, 11 Sep 2014 15:24:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674478#M244907</guid>
      <dc:creator />
      <dc:date>2014-09-11T15:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674479#M244908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If value is less than 95% in both years then only i consider the value, other wise i should ignore the value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674479#M244908</guid>
      <dc:creator />
      <dc:date>2014-09-11T15:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need Current Year value based on the Last Year value also</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674480#M244909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Straight Table&lt;/P&gt;&lt;P&gt;Dimension = Month&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;IF(SUM({&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;}Value) &amp;lt;0.95 and SUM({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;}Value) &amp;lt;0.95, SUM({&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;}Value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Current-Year-value-based-on-the-Last-Year-value-also/m-p/674480#M244909</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-11T15:29:31Z</dc:date>
    </item>
  </channel>
</rss>

