<?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 not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126616#M19179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are not using date/Month/Year as a dimension anymore... you don't need RangeSum(Above()) here... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)), 'DD/MM/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'DD/MM/YYYY'))"}, Mois, [Année]&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207452_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2018 11:42:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-10T11:42:21Z</dc:date>
    <item>
      <title>YTD not working</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126615#M19178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see below simple database with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;Salesman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to produce two outpout.&lt;/P&gt;&lt;P&gt;First output is a table showing per month, the monthly sales value as well as the year to date sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;No issue here as you can see below :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207421_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Second output is a table showing per salesman the monthly sales&lt;SPAN style="font-size: 13.3333px;"&gt; as well as the year to date sales. This is where my ytd figures is not tying :&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;What i gor from YTD figures if December 2018 is selected is :&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;123 for Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;248 for Franck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;365 for Roger&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;Although what i should get is : &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;123 for Chris&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;125 for Franck&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;117 for Roger.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/207432_Capture.JPG" style="height: auto;" /&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/207433_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The formulas used is "RangeSum(Above(Sum({$&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)), 'DD/MM/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'DD/MM/YYYY'))"}, Mois, [Année]&amp;gt;}Sales), 0, RowNo()))" with Salesman as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are qvw and excel test database for the ones who may help&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;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 09:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126615#M19178</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2018-07-10T09:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: YTD not working</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126616#M19179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are not using date/Month/Year as a dimension anymore... you don't need RangeSum(Above()) here... try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)), 'DD/MM/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'DD/MM/YYYY'))"}, Mois, [Année]&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/207452_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 11:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126616#M19179</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-10T11:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: YTD not working</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126617#M19180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 13:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-not-working/m-p/126617#M19180</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2018-07-10T13:05:17Z</dc:date>
    </item>
  </channel>
</rss>

