<?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 Date functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735049#M263117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please help me YTD() and MTD() functions with examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2014 16:37:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-08T16:37:05Z</dc:date>
    <item>
      <title>Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735049#M263117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please help me YTD() and MTD() functions with examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:37:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735049#M263117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-08T16:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735050#M263118</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;Look at the below post.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735050#M263118</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-07-08T16:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735051#M263119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here a good example, using load script (master calendar) and set analysis&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/44487"&gt;YTD and MTD Counts&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 16:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735051#M263119</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-08T16:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735052#M263120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanx for ur reply............&lt;/P&gt;&lt;P&gt;&amp;nbsp; Suppose &lt;SPAN style="text-decoration: underline;"&gt;date selected&lt;/SPAN&gt; is 21-03-2014 then YTD is 01-01-2014 to 21-03-2014.What is the &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; MTD(21-03-2014)=?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; WTD(21-03-2014)=?&lt;/P&gt;&lt;P&gt;Please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 18:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735052#M263120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-10T18:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735053#M263121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Month to date. The period &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 15px;"&gt;of time from the 1st of the month until the current date. If current date is 21-03-2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 15px;"&gt;MTD = 01-03-2014&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 15px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Helvetica, Arial, sans-serif; font-size: 15px;"&gt;Week to date from the beginning of the week in which the date falls in, to the date &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, Arial, sans-serif; font-size: 15px; color: #000000; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 18:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735053#M263121</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-07-10T18:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735054#M263122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basic YTD and MTD calculation done by variables or SET expression you can try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD Calculation:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt; YourDatefield = {'&amp;gt;$(=Max((YearStart(YourDatefield)))) &amp;lt;=$(=Max(Today()))'}&amp;gt;} Metrics)&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Datefield = {'&amp;gt;$(vYearStart) &amp;lt;=$(vCurrentMonth)'}&amp;gt;} Metrics)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD Calculation:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;YourDatefield = {'&amp;gt;=$(=Max((MonthStart(YourDatefield)))) &amp;lt;=$(=Max(YourDatefield))'}&amp;gt;} Metrics)&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;YourDatefield = {'&amp;gt;=$(=Max((MonthStart(Today())))) &amp;lt;=$(=Max(today()))'}&amp;gt;} Metrics)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 18:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735054#M263122</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-10T18:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date functions</title>
      <link>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735055#M263123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/chandinig"&gt;chandinig&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you got correct answer from the thread so mark the thread as correct / Helpful for references&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 19:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-functions/m-p/735055#M263123</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-07-11T19:17:01Z</dc:date>
    </item>
  </channel>
</rss>

