<?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: MTD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD/m-p/1523337#M749280</link>
    <description>&lt;P&gt;Try like:&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;Year=,month=,&lt;BR /&gt;[Order Date]= {"&amp;gt;=$(=Date(MonthStart(max(&lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date])),'MM/DD/YYYY')) &amp;lt;=$(=Date(max( &lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date]),'MM/DD/YYYY'))"}&amp;gt;}Sales)&lt;/P&gt;</description>
    <pubDate>Fri, 21 Dec 2018 07:30:09 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2018-12-21T07:30:09Z</dc:date>
    <item>
      <title>MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/1523315#M749278</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;Can any one please help me to&lt;SPAN&gt;&amp;nbsp;exclude month and Year fields from the below set expression of MTD.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year=,month=,&lt;BR /&gt;[Order Date]= {"&amp;gt;=$(=Date(MonthStart(max([Order Date])),'MM/DD/YYYY')) &amp;lt;=$(=Date(max([Order Date]),'MM/DD/YYYY'))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Here i applied Year= and month= but i am unable to exclude month and year.Still selections are applied when i select 2012,2013...years&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="MTD.png" style="width: 900px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2526i644BD06F57B2CE7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MTD.png" alt="MTD.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help me on this.&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/1523315#M749278</guid>
      <dc:creator>niharikab</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/1523318#M749279</link>
      <description>&lt;P&gt;You need to include this exclusion in max() being used in the expression as well, like:&lt;/P&gt;&lt;PRE&gt;sum({&amp;lt;Year=,month=,[Order Date]= {"&amp;gt;=$(=Date(MonthStart(max( &lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date])),&lt;BR /&gt;'MM/DD/YYYY')) &amp;lt;=$(=Date(max(&lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date]),'MM/DD/YYYY'))"}&amp;gt;}Sales)&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Dec 2018 06:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/1523318#M749279</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-12-21T06:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/1523337#M749280</link>
      <description>&lt;P&gt;Try like:&lt;BR /&gt;&lt;BR /&gt;sum({&amp;lt;Year=,month=,&lt;BR /&gt;[Order Date]= {"&amp;gt;=$(=Date(MonthStart(max(&lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date])),'MM/DD/YYYY')) &amp;lt;=$(=Date(max( &lt;STRONG&gt;{&amp;lt;Year=,month=&amp;gt;}&lt;/STRONG&gt; [Order Date]),'MM/DD/YYYY'))"}&amp;gt;}Sales)&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 07:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/1523337#M749280</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-12-21T07:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/1523339#M749281</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;If you select a month or a year your [Order Date] will refer to this period.&lt;/P&gt;&lt;P&gt;If you need the current MTD you have to change the Order Date by Today() in the set analysis&lt;/P&gt;&lt;PRE&gt;sum({&amp;lt;Year=,month=,
[Order Date]= {"&amp;gt;=$(=Date(MonthStart(Today())),'MM/DD/YYYY')) &amp;lt;=$(=Date(Today(),'MM/DD/YYYY'))"}&amp;gt;}Sales)&lt;/PRE&gt;&lt;P&gt;Ag+&lt;/P&gt;</description>
      <pubDate>Fri, 21 Dec 2018 07:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/1523339#M749281</guid>
      <dc:creator>albert_guito</dc:creator>
      <dc:date>2018-12-21T07:33:42Z</dc:date>
    </item>
  </channel>
</rss>

