<?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: YTD accumulation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149273#M375762</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;In vIDcount I am calculating count of months for eg. in this case value of vIDcount is 2(Apr,May)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jun 2016 05:58:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-20T05:58:07Z</dc:date>
    <item>
      <title>YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149270#M375759</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 am calculating YTD accumulation for current year ,previous year&amp;nbsp; and showing forecast and target value for current financial year&lt;/P&gt;&lt;P&gt;CY calculation&lt;/P&gt;&lt;P&gt;=rangesum(above(SUM({&amp;lt;Particulars = {'Sales'},DataFlag= {1},[Strategic Code]={'C4'},ID_Mon = {$(=vIDMon)},[Time Span]={'Actual'},FiscalYear={"$(=max(FiscalYear))"},Description = {'Units sold KAM (Units)','Units sold KAM'},CalMonth=&amp;gt;}Data),0,vIDCount)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But issue is while using rangesum function it is showing preceding month data in coming next month.&lt;IMG alt="Accumulation.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/128436_Accumulation.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should&amp;nbsp; not show data in June month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know how it can resolve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumita Chawla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 16:14:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149270#M375759</guid>
      <dc:creator />
      <dc:date>2016-06-19T16:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149271#M375760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is &lt;STRONG&gt;vIDCount&amp;nbsp; ?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 16:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149271#M375760</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-19T16:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149272#M375761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&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;&amp;nbsp; I think the easiest way to achieve what you want is to add a YTD field in your load script. &lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;if(DayNumberOfYear(Date)&amp;lt;=DayNumberOfYear($(vToday)),1,0) as YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can add a list box for YTD and if you select "1" any charts will give the YTD accumulations, or instead you can add this set modifier to expressions to make them show YTD values: {$&amp;lt;YTD = {1}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="font-size: 13.3333px;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 16:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149272#M375761</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-06-19T16:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149273#M375762</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;In vIDcount I am calculating count of months for eg. in this case value of vIDcount is 2(Apr,May)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 05:58:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149273#M375762</guid>
      <dc:creator />
      <dc:date>2016-06-20T05:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149274#M375763</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;In Load script how would I calculate accumulation.&lt;/P&gt;&lt;P&gt;Please elaborate or provide example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 06:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149274#M375763</guid>
      <dc:creator />
      <dc:date>2016-06-20T06:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149275#M375764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt; RangeSum(Sales,Peek('NewSales')) as NewSales&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 06:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149275#M375764</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2016-06-20T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149276#M375765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to restrict your forecast expression to previous 2 months, as Forecast expression is calculated for all the months, CY accum also performed for Jun month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 07:33:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149276#M375765</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-06-20T07:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149277#M375766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I cant restrict forecast because I need to show forecast for current and next two months.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 10:15:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149277#M375766</guid>
      <dc:creator />
      <dc:date>2016-06-20T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149278#M375767</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;Please find the attachment, hope this solves your problem. &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 Jun 2016 12:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149278#M375767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-06-20T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD accumulation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149279#M375768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Payal its working &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 Jun 2016 16:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-accumulation/m-p/1149279#M375768</guid>
      <dc:creator />
      <dc:date>2016-06-20T16:12:09Z</dc:date>
    </item>
  </channel>
</rss>

