<?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 calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429015#M430062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Trade Date] = {"=SetDateYear([Trade Date], Max(TOTAL Year)) &amp;lt;= Max(TOTAL [Trade Date])"}&amp;gt;} [Trade Revenue])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 14:10:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-09-28T14:10:41Z</dc:date>
    <item>
      <title>YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429006#M430053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All I am expecting a chart like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177880" alt="Movements.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177880_Movements.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Year&lt;/P&gt;&lt;P&gt;Expression: Count(GrossSales_Policy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create a YTD chart. Here YTD means the maximumum date in the maximum year.&lt;/P&gt;&lt;P&gt;so max year is 2017&lt;/P&gt;&lt;P&gt;max date is 27&lt;/P&gt;&lt;P&gt;max month is sep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the chart i should see data for&lt;/P&gt;&lt;P&gt;1-jan-2016 to 27-Sep-2016&lt;/P&gt;&lt;P&gt;1-jan-2015 to 27-Sep-2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Individually I have calculated them using below expressions. I want to have a expression to accomodate any number of year's data. so I need not add expression for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if 2016 is selected then for CY=2016&lt;/P&gt;&lt;P&gt;PY=2015&lt;/P&gt;&lt;P&gt;PY_1=2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;eYTDMovementsCY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Year={'$(=Max(Year))'},Date3={"&amp;lt;=$(=$(vSelectYrDate))"},Month=&amp;gt;}GrossSales_Policy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;eYTDMovementsPY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Year={'$(=Max(Year)-1)'},Date3={"&amp;lt;=$(=$(vPrevYrDate))"},Month=&amp;gt;}GrossSales_Policy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMaxYear Year(Max(Date3))&lt;/P&gt;&lt;P&gt;vMaxPrYear Year(Max(Date3))-1&lt;/P&gt;&lt;P&gt;vAllMaxMonth Num(Month(Max( ALL Date3)))&lt;/P&gt;&lt;P&gt;vAllMaxDate Date(Max(ALL Date3), 'DD-MMM-YY')&lt;/P&gt;&lt;P&gt;vAllMaxDay Day(Max(ALL Date3))&lt;/P&gt;&lt;P&gt;vSelectYrDate Date(MakeDate($(vMaxYear),$(vAllMaxMonth),$(vAllMaxDay)), 'DD-MMM-YY')&lt;/P&gt;&lt;P&gt;vPrevYrDate Date(MakeDate($(vMaxPrYear),$(vAllMaxMonth),$(vAllMaxDay)), 'DD-MMM-YY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;master calendar used;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177882" alt="Master Calender.PNG" class="jive-image image-2" src="/legacyfs/online/177882_Master Calender.PNG" style="height: 316px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:07:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429006#M430053</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-27T13:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429007#M430054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;STRONG&gt;YearStart()&lt;/STRONG&gt; in set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429007#M430054</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T13:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429008#M430055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I don't understand. Can you please elaborate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429008#M430055</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-27T13:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429009#M430056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my intention&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Year={'$(=Max(Year))'},Date3={"&lt;STRONG&gt;&amp;gt;=$(=Date(YearStart(Max($(&lt;SPAN style="font-size: 13.3333px;"&gt;vSelectYrDate)&lt;/SPAN&gt;))))&lt;/STRONG&gt; &amp;lt;=$(=$(vSelectYrDate))"},Month=&amp;gt;}GrossSales_Policy)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429009#M430056</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T13:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429010#M430057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Idea is right now I have &lt;/P&gt;&lt;P&gt;Dimension: Year &lt;/P&gt;&lt;P&gt;Expression: Count(Policy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For YTD chart I need same as above a single expression chart&lt;/P&gt;&lt;P&gt;Dimension: Year&lt;/P&gt;&lt;P&gt;Expression: Count({Set expression} Policy)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entire data set Max date 27-Sep&lt;/P&gt;&lt;P&gt;the set expression should restrict data from starting of any year till 27-Sep of that year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429010#M430057</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-27T13:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429011#M430058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;For YTD chart I need same as above a single expression chart&lt;/P&gt;
&lt;P&gt;Dimension: Year&lt;/P&gt;
&lt;P&gt;Expression: Count({Set expression} Policy)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Entire data set Max date 27-Sep&lt;/P&gt;
&lt;P&gt;the set expression should restrict data from starting of any year till 27-Sep of that year&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, This is my answer&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Count({&lt;STRONG&gt;&amp;lt;DateField = {"&amp;gt;=$(=Date(YearStart(Max(DateField)))) &amp;lt;=$(=Max(DateField))"}&amp;gt;&lt;/STRONG&gt;} Policy)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429011#M430058</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T13:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429012#M430059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tell me something&lt;/P&gt;&lt;P&gt;what should be the format for Date Field in your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429012#M430059</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-27T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429013#M430060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try from your end. My format is DD-MM-YYYY&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;Count({&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&amp;lt;DateField = {"&amp;gt;=$(=Date(Date#(YearStart(Max(DateField)),'YourFormat'),'DateFieldFormat')) &amp;lt;=$(=Max(DateField))"}&amp;gt;&lt;/STRONG&gt;} Policy)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 13:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429013#M430060</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-27T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429014#M430061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/218859"&gt;loveisfail&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/57428"&gt;kush141087&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Need your help.&lt;/P&gt;&lt;P&gt;Hi In attached App we have sheets A and B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both Sheets have Monthly and YTD charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sheet A&amp;nbsp; YTD chart I have used 3 expression to achieve my need which is For each year the data should be between start of that year to Max date determined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want this to be done in a single expression so that as the number of years increase I dont have to write a separate expression for each year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a set expression similar to this&lt;/P&gt;&lt;P&gt;max data in entire data model. &lt;STRONG&gt;2-Jun&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim: Year and Month&lt;/P&gt;&lt;P&gt;Exp:Sum({for all data between start of the year and &lt;STRONG&gt;2-Jun&lt;/STRONG&gt; of that year}Revenue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt; In YTD the values for each month should be accumulative.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Actual:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;2011&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Jan-10&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Feb-20&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Mar-30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;YTD:&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;2011&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Jan-10&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Feb-30(10+20)&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Mar-40(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(10+20+30&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429014#M430061</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T14:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429015#M430062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;[Trade Date] = {"=SetDateYear([Trade Date], Max(TOTAL Year)) &amp;lt;= Max(TOTAL [Trade Date])"}&amp;gt;} [Trade Revenue])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429015#M430062</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T14:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429016#M430063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to mention that In YTD the valyues for each month should be accumulative.&lt;/P&gt;&lt;P&gt;Actual:&lt;/P&gt;&lt;P&gt;2011&lt;/P&gt;&lt;P&gt;Jan-10&lt;/P&gt;&lt;P&gt;Feb-20&lt;/P&gt;&lt;P&gt;Mar-30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;YTD:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2011&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Jan-10&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Feb-30(10+20)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mar-40(&lt;SPAN style="font-size: 13.3333px;"&gt;(10+20+30&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429016#M430063</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T14:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429017#M430064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum({&amp;lt;[Trade Date] = {"=SetDateYear([Trade Date], Max(TOTAL Year)) &amp;lt;= Max(TOTAL [Trade Date])"}&amp;gt;} [Trade Revenue]), 0, RowNo())), Year, Month)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:31:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429017#M430064</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T14:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429018#M430065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The values dont add up properly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for convenience I have used&amp;nbsp; sum([Trade Revenue])/100000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ValuesAggr.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178027_ValuesAggr.PNG" style="height: 391px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 14:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429018#M430065</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T14:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429019#M430066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this if you have QV12 or above&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum({&amp;lt;[Trade Date] = {"=SetDateYear([Trade Date], Max(TOTAL Year)) &amp;lt;= Max(TOTAL [Trade Date])"}&amp;gt;} [Trade Revenue])/100000000, 0, RowNo())), Year, (Month,(NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429019#M430066</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429020#M430067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My Bad it is 11.20.... So any work around? should I settle for Individual values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank You very Much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:02:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429020#M430067</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T15:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429021#M430068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is the your Month field is not sorted in the correct order... Seems like you have a master calendar setup in your app but it is getting loaded from a qvw... if you can sort the data in your qvw... it will work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429021#M430068</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429022#M430069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, if you can keep Year as your first dimension and Month as second dimension... this can work (without aggr)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;[Trade Date] = {"=SetDateYear([Trade Date], Max(TOTAL Year)) &amp;lt;= Max(TOTAL [Trade Date])"}&amp;gt;} [Trade Revenue])/100000000, 0, RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178029_Capture.PNG" style="height: 195px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429022#M430069</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T15:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429023#M430070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I should be sorting my entire Fact Table&amp;nbsp; on Trade Date in the script?&amp;nbsp; Although this is just a sample data let me give it a try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429023#M430070</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429024#M430071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not the trade date.... but if you can sort your master calendar, then that will do it....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429024#M430071</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-28T15:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429025#M430072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Appreciate your&amp;nbsp; Time Thanks Much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 15:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculations/m-p/1429025#M430072</guid>
      <dc:creator>suryaa30</dc:creator>
      <dc:date>2017-09-28T15:22:02Z</dc:date>
    </item>
  </channel>
</rss>

