<?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 Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847482#M1010065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; sum({&amp;lt;MonthNum={"&amp;lt;=$(=Max(MonthNum))"}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 08:51:07 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-04-29T08:51:07Z</dc:date>
    <item>
      <title>YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847481#M1010064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; I am counting the number of units sold per month with the formula:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;MonthNum={$(=Max(MonthNum))}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;that mean if I selected several months in first chart, QlikView provides the data for the latest month and this works perfectly.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In a second chart, I'd like to display the YTD units sold and I was expecting that the following formula should do it:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;MonthNum&amp;lt;={$(=Max(MonthNum))}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but it is not processing. Any help is welcome.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847481#M1010064</guid>
      <dc:creator />
      <dc:date>2015-04-29T08:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847482#M1010065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; sum({&amp;lt;MonthNum={"&amp;lt;=$(=Max(MonthNum))"}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847482#M1010065</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-29T08:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847483#M1010066</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;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;MonthNum={'&amp;lt;=$(=Max(MonthNum))'}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 08:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847483#M1010066</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2015-04-29T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847484#M1010067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert,&lt;/P&gt;&lt;P&gt;thanks for your quick reply. I just moved the " before the first } to get&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;MonthNum={"&amp;lt;=$(=Max(MonthNum))"}&amp;gt;}[Units Solds])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and it went fine. so it's a case closed.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Pierre&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 09:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/847484#M1010067</guid>
      <dc:creator />
      <dc:date>2015-04-29T09:08:18Z</dc:date>
    </item>
  </channel>
</rss>

