<?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/864774#M530974</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;If you look at the data for AU for MAy we have got only one MAr till 2nd May .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not be taking MAy 3rd data as June data is available onl;y till 2nd Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jun 2015 13:10:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-10T13:10:39Z</dc:date>
    <item>
      <title>MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864770#M530970</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;TABLE border="0" cellpadding="0" cellspacing="0" width="461"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;ALT_DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;MAR&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;AACTION&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-06-02T00:04:25.76Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBDIF0724514887&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-06-02T00:18:29.69Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515370&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;HOLD&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-06-01T00:20:34.60Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515376&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-06-01T00:20:34.60Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515379&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-01T00:57:31.61Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515584&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;CANCEL&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-01T01:03:21.03Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515592&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-02T01:03:21.03Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515593&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-03T01:03:21.03Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515599&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;SVET&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-04T01:03:21.03Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;20150401N008818979-1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-05-03T01:03:21.03Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515600&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-04-06T01:19:21.15Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515602&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;ERRIDE&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="159"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;2015-04-01T01:23:20.98Z&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="239"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;150401SCBLAEADBXXX0724515606&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 5.4pt 0 5.4pt;" valign="bottom" width="64"&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;OK&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above sample data , We&amp;nbsp; need to find the MTD count of DISTINCT MAR with AACTION = OK , CANCEL, HOLD&amp;nbsp; for last 2 Months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:23:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864770#M530970</guid>
      <dc:creator />
      <dc:date>2015-06-10T12:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864771#M530971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;AACTION = {'OK'}, Date = {"$(='&amp;gt;=' &amp;amp; Date(AddMonths(MonthStart(Max(Date)),-1), 'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(MonthEnd(Max(Date)), 'YYYY-MM-DD'))"}&amp;gt;} MAR)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Date field is calculated in the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ALT_DATE, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAR, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AACTION,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date#(Left(ALT_DATE, 10), 'YYYY-MM-DD') as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2052" data-containertype="14" data-objectid="167773" data-objecttype="1" href="https://community.qlik.com/thread/167773"&gt;https://community.qlik.com/thread/167773&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88950_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Attaching the qvw for reference&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:32:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864771#M530971</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T12:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864772#M530972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="510"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="136"&gt;ALT_DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="181"&gt;MAR&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="67"&gt;AACTION&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="62"&gt;Date&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="64"&gt;COUNTRY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-01T00:57:31.61Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515584&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;CANCEL&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-01&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-04-06T01:19:21.15Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515602&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;ERRIDE&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-04-06&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2015-06-02T00:18:29.69Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515370&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;HOLD&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-06-02&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-04-01T01:23:20.98Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515606&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-04-01&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-01T01:03:21.03Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515592&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-01&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-02T01:03:21.03Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515593&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-02&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-03T01:03:21.03Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515600&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-03&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-04T01:03:21.03Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;20150401N008818979-1&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-04&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2015-06-01T00:20:34.60Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515376&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-06-01&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2015-06-01T00:20:34.60Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515379&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-06-01&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" style="border-top: none;"&gt;2015-06-02T00:04:25.76Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBDIF0724514887&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;OK&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-06-02&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;"&gt;AU&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;2015-05-03T01:03:21.03Z&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;150401SCBLAEADBXXX0724515599&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;SVET&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;2015-05-03&lt;/TD&gt;&lt;TD class="xl68" style="border-left: none;"&gt;UAE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country wise Last 2 Months MTD Distinct MAR Count for AACTION = OK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the data , we have got data for June only till 2nd , Hence when you take the count for MAY it should consider only till 2nd MAY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864772#M530972</guid>
      <dc:creator />
      <dc:date>2015-06-10T12:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864773#M530973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88953_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864773#M530973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864774#M530974</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;If you look at the data for AU for MAy we have got only one MAr till 2nd May .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not be taking MAy 3rd data as June data is available onl;y till 2nd Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864774#M530974</guid>
      <dc:creator />
      <dc:date>2015-06-10T13:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864775#M530975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh so you want from &lt;STRONG&gt;May 1st till May 2nd&lt;/STRONG&gt; and From &lt;STRONG&gt;June 1st to June 2nd&lt;/STRONG&gt; (excluding the 2nd in both cases?) the distinct count of MAR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864775#M530975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864776#M530976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Including 2nd . Since June has got only 2 days data , May and April should take only till 2nd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864776#M530976</guid>
      <dc:creator />
      <dc:date>2015-06-10T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864777#M530977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/88959_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Count(DISTINCT {&amp;lt;AACTION = {'OK'}, Date = {"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max(Date)), 'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'YYYY-MM-DD'))"} + {"$(='&amp;gt;=' &amp;amp; Date(AddMonths(MonthStart(Max(Date)), -1), 'YYYY-MM-DD') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddMonths(Max(Date), -1), 'YYYY-MM-DD'))"}&amp;gt;} MAR)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:22:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864777#M530977</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T13:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864778#M530979</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;LOAD ALT_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AACTION,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;Date#(Date, 'YYYY-MM-DD') as Date,&lt;/EM&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTRY&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2052" data-containertype="14" data-objectid="167773" data-objecttype="1" href="https://community.qlik.com/thread/167773"&gt;https://community.qlik.com/thread/167773&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(html, codepage is 1252, embedded labels, table is @2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which Date you are mentioning in this? What is the use of it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864778#M530979</guid>
      <dc:creator />
      <dc:date>2015-06-10T13:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864779#M530981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't sure if QlikView will read the date above as date (Most likely it would have, but I wanted to be safe) and so I used Dat#() function to force QlikView to read it as a Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 13:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864779#M530981</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864780#M530983</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;Thanks Mate. It was very helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to Divide the last month MTD Volume / Previous month MTD Volume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example We need to divide June2 days volume by May 2days volume for each country&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864780#M530983</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864781#M530985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to do that... let me see if I can make than work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864781#M530985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T14:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864782#M530987</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;We are able to find it using your expression. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864782#M530987</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864783#M530989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it worked now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864783#M530989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-10T14:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864784#M530991</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;In the above example , if i want to show the countries only with morethan 100 % increase compare to last month.&lt;/P&gt;&lt;P&gt;How do i display that countries alone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864784#M530991</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864785#M530993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.. Perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 14:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864785#M530993</guid>
      <dc:creator />
      <dc:date>2015-06-10T14:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: MTD</title>
      <link>https://community.qlik.com/t5/QlikView/MTD/m-p/864786#M530995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Below is my Table Viewer Snapshot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When i link ALT1 in AMSR_Apr and ALT_DATE in sheet 1 i get a circular Reference.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;How do i avoid that&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;A href="https://community.qlik.com/thread/168116"&gt;Circular Reference&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 11:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD/m-p/864786#M530995</guid>
      <dc:creator />
      <dc:date>2015-06-12T11:17:00Z</dc:date>
    </item>
  </channel>
</rss>

