<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398770#M811443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: The format defined in SET DateFormat and your date field format in Qlikview Table should be same, then only this expressions works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 5 Years Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -4))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 6 Quarters Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -5))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 12 Months Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -11))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 15 Weeks Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -14))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 10 Days Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=Date(Max(Date)-9))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Note:&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;YTD - Year to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;QTD - Quarter to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;MTD - Month to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;WTD - Week to Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last YTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -1))&amp;lt;=$(=AddYears(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-IN"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last QTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -3))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last MTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last WTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -1))&amp;lt;=$(=Date(Max(Date) -7))’}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Oct 2017 06:13:21 GMT</pubDate>
    <dc:creator>vardhancse</dc:creator>
    <dc:date>2017-10-05T06:13:21Z</dc:date>
    <item>
      <title>YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398769#M811442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, Helvetica, sans-serif, EmojiFont, 'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size: 16px;"&gt;For e.g. if Year selected as 2017 then the data shown will be : Jan 2017 to Sept 2017, same way if year selected as 2015 then the data shown will be : Jan 2015 to Sept 2015.(Dynamically)&lt;/SPAN&gt;&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/m-p/1398769#M811442</guid>
      <dc:creator>shraddha_23</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398770#M811443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Note: The format defined in SET DateFormat and your date field format in Qlikview Table should be same, then only this expressions works.&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 5 Years Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -4))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 6 Quarters Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -5))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 12 Months Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -11))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 15 Weeks Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -14))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last 10 Days Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=Date(Max(Date)-9))&amp;lt;=$(=Date(Max(Date)))’}&amp;gt;} Sales )&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Note:&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;YTD - Year to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;QTD - Quarter to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;MTD - Month to Date&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;WTD - Week to Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last YTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=YearStart(Max(Date), -1))&amp;lt;=$(=AddYears(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-IN"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last QTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=QuarterStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -3))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last MTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=MonthStart(Max(Date), -1))&amp;lt;=$(=AddMonths(Max(Date), -1))’}&amp;gt;} Sales)&lt;/P&gt;&lt;P lang="en-US"&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold;"&gt;Last WTD for the period selected&lt;/SPAN&gt;&lt;/P&gt;&lt;P lang="en-US" style="font-family: Calibri; font-size: 10.0pt; color: #3d3d3d;"&gt;Sum({&amp;lt;Year=, Quarter=, Month=, Week=, Date={‘&amp;gt;=$(=WeekStart(Max(Date), -1))&amp;lt;=$(=Date(Max(Date) -7))’}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398770#M811443</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2017-10-05T06:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398771#M811444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can go with Calendar (As Of month).&lt;/P&gt;&lt;P&gt;Please find attached qvw for same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398771#M811444</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-10-05T06:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398772#M811445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this in your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: line-through;"&gt;=Sum( {&amp;lt;Year = { "&amp;gt;=$(=Max(Year)) &amp;lt;=$(=Max(Year)-1)" } &amp;gt;} Val )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398772#M811445</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-05T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398773#M811446</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 like this.&lt;/P&gt;&lt;P&gt;YTD Sales&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year={"$(=max(Year))"},Month={"&amp;lt;=$(=max(Month))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178660_Capture.JPG" style="height: 294px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398773#M811446</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-05T06:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398774#M811447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Earlier a typo this is right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum( {&amp;lt;Year = { "&amp;lt;=$(=Max(Year)) &amp;gt;=$(=Max(Year)-1)" } &amp;gt;} Val )&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398774#M811447</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-05T06:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398775#M811448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Year={"$(=max(Year))"},Year=,Month=&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398775#M811448</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-10-05T06:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: YTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD/m-p/1398776#M811449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I want to&amp;nbsp; MTD,QTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I write the expression in this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD/m-p/1398776#M811449</guid>
      <dc:creator>soniasweety</dc:creator>
      <dc:date>2017-10-05T10:42:48Z</dc:date>
    </item>
  </channel>
</rss>

