<?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 MTD And YTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803636#M1023270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt; [Posting Key] = {'XY'}, [Document Type] = {'IND'}&amp;nbsp;&amp;nbsp; &amp;gt;} [Amount in local Currency]) &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;sum({&amp;lt; [Posting Key] = {'AV'}, [Document Type] = {'CNA'}&amp;nbsp;&amp;nbsp; &amp;gt;} [Amount in local Currency]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Write MTD and YTD expression in this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time dimension fields are&lt;/P&gt;&lt;P&gt;Date, Month, Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Mar 2015 12:00:16 GMT</pubDate>
    <dc:creator>abhaysingh</dc:creator>
    <dc:date>2015-03-14T12:00:16Z</dc:date>
    <item>
      <title>MTD And YTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803636#M1023270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=sum({&amp;lt; [Posting Key] = {'XY'}, [Document Type] = {'IND'}&amp;nbsp;&amp;nbsp; &amp;gt;} [Amount in local Currency]) &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;sum({&amp;lt; [Posting Key] = {'AV'}, [Document Type] = {'CNA'}&amp;nbsp;&amp;nbsp; &amp;gt;} [Amount in local Currency]) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Write MTD and YTD expression in this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time dimension fields are&lt;/P&gt;&lt;P&gt;Date, Month, Year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 12:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803636#M1023270</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2015-03-14T12:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: MTD And YTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803637#M1023271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhay, I think this expression may work for you YTD:-&lt;/P&gt;&lt;P&gt; Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Posting Key] = {'XY'}, [Document Type] = {'IND'} ,&lt;/SPAN&gt;Date={'&amp;gt;=$(=Num(YearStart(Max(Date))))&amp;lt;=$(=Max(Date))'}&amp;gt;} Amount in local Currency)&lt;/P&gt;&lt;P&gt;and For MTD&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Posting Key] = {'XY'}, [Document Type] = {'IND'} ,Date&lt;/SPAN&gt;={'&amp;gt;=$(=(MonthStart(Max(Date))))&amp;lt;=$(=Max(Date))'}}&amp;gt;}&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Amount in local Currency&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 13:02:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803637#M1023271</guid>
      <dc:creator>rahulsud007</dc:creator>
      <dc:date>2015-03-14T13:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: MTD And YTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803638#M1023272</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;Try like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date&lt;/SPAN&gt; = {$(=Max(Date) - 12)}, &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Year = {$(=Max(Year)-1)}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Month = &amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Amount in local Currency]&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date&lt;/SPAN&gt; = {$(=Max(Date))}, &lt;SPAN style="font-size: 10pt;"&gt;Year = {$(=Max(Year))}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;Month = &amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Amount in local Currency]&lt;/SPAN&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 13:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803638#M1023272</guid>
      <dc:creator />
      <dc:date>2015-03-14T13:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: MTD And YTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803639#M1023273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;example for YTD&lt;/P&gt;&lt;P&gt;=sum({$ &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Posting Key] = {'XY'}, [Document Type] = {'IND'}, &lt;/SPAN&gt;Date={"&amp;gt;=$(=yearstart(today()))&amp;lt;=$(=today())"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Amount in local Currency]&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and MTD&lt;/P&gt;&lt;P&gt;=sum({$ &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Posting Key] = {'XY'}, [Document Type] = {'IND'}, &lt;/SPAN&gt;Date={"&amp;gt;=$(=monthstart(today()))&amp;lt;=$(=today())"}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Amount in local Currency]&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 13:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-And-YTD/m-p/803639#M1023273</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-14T13:41:50Z</dc:date>
    </item>
  </channel>
</rss>

