<?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 YTD Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217553#M848186</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;I need to compare this year YTD with Lastyear YTD &lt;STRONG&gt;sales&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date= SoldDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156462_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217553#M848186</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;I need to compare this year YTD with Lastyear YTD &lt;STRONG&gt;sales&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date= SoldDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156462_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217553#M848186</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217554#M848187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create Straight table and the use these expressions and use dim as Product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;2017(YTD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({&amp;lt;Year={'Only({&amp;lt;Year = {'$(=Max(Year))'}&amp;gt;}Year)'}, Month=, Quarter=, Week=,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;={"&amp;gt;=$(=Num(YearStart(Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style=": ; font-size: 13.3333px; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2016(YTD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year={'Only({&amp;lt;Year = {'$(=Max(Year)-1)'}&amp;gt;}Year)'},&lt;/SPAN&gt; Month=, Quarter=, Week=,&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;={"&amp;gt;=$(=Num(YearStart(Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; text-decoration: underline;"&gt;&lt;STRONG style=": ; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style=": ; font-size: 13.3333px; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2015(YTD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year={'Only({&amp;lt;Year = {'$(=Max(Year)-2)'}&amp;gt;}Year)'},&lt;/SPAN&gt; Month=, Quarter=, Week=,&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;={"&amp;gt;=$(=Num(YearStart(Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style=": ; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;&lt;STRONG style=": ; font-size: 13.3333px; text-decoration: underline; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2014(YTD)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Year={'Only({&amp;lt;Year = {'$(=Max(Year)-3)'}&amp;gt;}Year)'},&lt;/SPAN&gt; Month=, Quarter=, Week=,&amp;nbsp; &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;={"&amp;gt;=$(=Num(YearStart(Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;))))&amp;lt;=$(=Max(&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SoldDate&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;))"}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217554#M848187</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-16T07:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217555#M848188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;More like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max Year&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;0&lt;/SPAN&gt;), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;0&lt;/SPAN&gt;), 'MM/DD/YYYY'))"}, Month, Year, Quarter, Week, Year&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Max Year - 1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-1&lt;/SPAN&gt;), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-1&lt;/SPAN&gt;), 'MM/DD/YYYY'))"}, Month, Year, Quarter, Week, Year&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Max Year - 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-2&lt;/SPAN&gt;), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-2&lt;/SPAN&gt;), 'MM/DD/YYYY'))"}, Month, Year, Quarter, Week, Year&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Max Year - 3&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-3&lt;/SPAN&gt;), 'MM/DD/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(Date), &lt;SPAN style="color: #ff0000;"&gt;-3&lt;/SPAN&gt;), 'MM/DD/YYYY'))"}, Month, Year, Quarter, Week, Year&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I have assumed your date to be in the format MM/DD/YYYY, but if it is in another format, please change the expression accordingly to change all MM/DD/YYYY to your actual date formats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 08:56:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217555#M848188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T08:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217556#M848189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Can we get in single expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;2017 - 233&lt;/P&gt;&lt;P&gt;2016- 334&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, 16 Mar 2017 09:30:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217556#M848189</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T09:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217557#M848190</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;I have to show as below format.ow to get this i single expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156483_Untitled.png" style="height: auto;" /&gt;&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, 16 Mar 2017 10:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217557#M848190</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217558#M848191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we get with 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, 16 Mar 2017 11:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217558#M848191</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T11:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217559#M848192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We might be able to, but I would need to look at what you have.... would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 11:58:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217559#M848192</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T11:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217560#M848193</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;After using the 4 expressions i got below result.Which is not correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show in single column.&lt;/P&gt;&lt;P&gt;EX:For state Albuqerque.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156509_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217560#M848193</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T12:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217561#M848194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach you qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217561#M848194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T12:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217562#M848195</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 attached is the application.&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, 16 Mar 2017 13:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217562#M848195</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T13:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217563#M848196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;SoldDate = {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(SoldDate), 0), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), 0), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(SoldDate), -1), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -1), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(SoldDate), -2), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -2), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(SoldDate), -3), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -3), 'M/D/YYYY'))"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}, SoldMonth, SoldYear&amp;gt;}ESTCUST)&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/156522_Capture.PNG" style="height: 115px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:35:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217563#M848196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T13:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217564#M848197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the below logic works for &lt;SPAN style="font-size: 13.3333px;"&gt;MTD&lt;/SPAN&gt; as same as YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;SoldDate = {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(SoldDate), 0), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), 0), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(SoldDate), -1), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -1), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStartMonthStart(Max(SoldDate), -2), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -2), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(SoldDate), -3), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -3), 'M/D/YYYY'))"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}, SoldMonth, SoldYear&amp;gt;}ESTCUST)&lt;/STRONG&gt;&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, 16 Mar 2017 13:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217564#M848197</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T13:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217565#M848198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to still show 2014, 2015, 2016, &amp;amp; 2017?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217565#M848198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217566#M848199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to show year as well.&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, 16 Mar 2017 14:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217566#M848199</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T14:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217567#M848200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=Sum({&amp;lt;SoldDate = {&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(&lt;SPAN style="color: #ff0000;"&gt;AddYears(&lt;/SPAN&gt;Max(SoldDate), 0&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), 0), 'M/D/YYYY'))",&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;AddYears(&lt;/STRONG&gt;Max(SoldDate), -1&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -1), 'M/D/YYYY'))",&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;AddYears(&lt;/STRONG&gt;Max(SoldDate), -2&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -2), 'M/D/YYYY'))",&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;"$(='&amp;gt;=' &amp;amp; Date(MonthStart(&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;AddYears(&lt;/STRONG&gt;Max(SoldDate), -3&lt;STRONG style="color: #ff0000; font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -3), 'M/D/YYYY'))"&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;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;}, SoldMonth, SoldYear&amp;gt;}ESTCUST)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217567#M848200</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T14:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217568#M848201</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;Got results but it is showing only for month &lt;STRONG&gt;dec.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the data is available.&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, 16 Mar 2017 14:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217568#M848201</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-16T14:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217569#M848202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Month is a dimension? I am not sure what you doing, can you share an updated sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 14:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217569#M848202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-16T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217570#M848203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Is the below expression is correct for WTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;SoldDate = {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(WeekStart(AddYears(Max(SoldDate), 0)), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), 0), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(WeekStart(AddYears(Max(SoldDate), -1)), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -1), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(WeekStart(AddYears(Max(SoldDate), -2)), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -2), 'M/D/YYYY'))",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"$(='&amp;gt;=' &amp;amp; Date(WeekStart(AddYears(Max(SoldDate), -3)), 'M/D/YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(SoldDate), -3), 'M/D/YYYY'))"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}, SoldMonth, SoldYear&amp;gt;}ESTCUST)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 04:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217570#M848203</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-17T04:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217571#M848204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/1232931#1232931" title="https://community.qlik.com/message/1232931#1232931"&gt;https://community.qlik.com/message/1232931#1232931&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 06:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217571#M848204</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-03-17T06:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217572#M848205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is disheartening to see that after so much effort from my end, you marked your own response as correct.&lt;SPAN style="font-size: 13.3333px;"&gt; You did not find a single expression provided by me to be correct, not even helpful?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2017 08:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Calculation/m-p/1217572#M848205</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-17T08:19:21Z</dc:date>
    </item>
  </channel>
</rss>

