<?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 and MTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-and-MTD/m-p/1038977#M349929</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but&lt;/P&gt;&lt;P&gt;Month-to-date&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; (&lt;/SPAN&gt;MTD&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;) is a period starting at the beginning of the current month and ending at the current date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;and you don't have the date in the date key field, you only have the month (all the date in the month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Or I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, with a date field, d for example (DD/MM/YYYY is the format of the date field) &lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;d={"&amp;gt;=$(=date(monthstart(today()), 'DD/MM/YYYY'))&amp;lt;=$(=date(today(), 'DD/MM/YYYY'))"}&amp;gt;}&amp;nbsp; v) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for YTD replace monthstart with yearstart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jan 2016 17:42:42 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2016-01-06T17:42:42Z</dc:date>
    <item>
      <title>YTD and MTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-and-MTD/m-p/1038976#M349928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I Have a&lt;STRONG&gt; date Key&lt;/STRONG&gt; which consist of year and month i.e&amp;nbsp; &lt;STRONG&gt;201501,201502&lt;/STRONG&gt; and so on. I want to calculate&lt;STRONG&gt; YTD&lt;/STRONG&gt; and &lt;STRONG&gt;MTD&lt;/STRONG&gt; using this.Can suggest me how is it possible???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-and-MTD/m-p/1038976#M349928</guid>
      <dc:creator>_rohitgharat</dc:creator>
      <dc:date>2016-01-06T17:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: YTD and MTD</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-and-MTD/m-p/1038977#M349929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but&lt;/P&gt;&lt;P&gt;Month-to-date&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt; (&lt;/SPAN&gt;MTD&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;) is a period starting at the beginning of the current month and ending at the current date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #252525; font-family: sans-serif; font-size: 14px;"&gt;and you don't have the date in the date key field, you only have the month (all the date in the month)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Or I'm missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, with a date field, d for example (DD/MM/YYYY is the format of the date field) &lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({&amp;lt;d={"&amp;gt;=$(=date(monthstart(today()), 'DD/MM/YYYY'))&amp;lt;=$(=date(today(), 'DD/MM/YYYY'))"}&amp;gt;}&amp;nbsp; v) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for YTD replace monthstart with yearstart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 17:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-and-MTD/m-p/1038977#M349929</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-01-06T17:42:42Z</dc:date>
    </item>
  </channel>
</rss>

