<?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,LMTD,Current Quarter&amp;Last Quarter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227717#M79818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try with below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD : Sum ({&amp;lt;POSTINGYEAR = {'$(=max(POSTINGYEAR))'}, POSTINGMONTHNUM = {'$(=max(POSTINGMONTHNUM))'}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;LMTD : Sum ({&amp;lt;POSTINGYEAR = {'$(=max(POSTINGYEAR))'}, POSTINGMONTHNUM = {'$(=max(POSTINGMONTHNUM)-1)'}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this also doesn't work properly, post you sample date here.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Apr 2011 09:04:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-23T09:04:09Z</dc:date>
    <item>
      <title>MTD,LMTD,Current Quarter&amp;Last Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227716#M79817</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;I need a help to impliment the MTD and LMTD(Month Todate,Last Month Todate) using Set Analysis.&lt;/P&gt;&lt;P&gt;I am trying with this expressions but i am not getting result :&lt;/P&gt;&lt;P&gt;MTD : Sum ({&amp;lt;POSTINGYEAR = {$(=max(POSTINGYEAR))}, POSTINGMONTHNUM = {$(=max(POSTINGMONTHNUM))}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;LMTD : Sum ({&amp;lt;POSTINGYEAR = {$(=max(POSTINGYEAR))}, POSTINGMONTHNUM = {$(=max(POSTINGMONTHNUM)-1)}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;Please help me to achieve&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2011 08:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227716#M79817</guid>
      <dc:creator />
      <dc:date>2011-04-23T08:20:54Z</dc:date>
    </item>
    <item>
      <title>MTD,LMTD,Current Quarter&amp;Last Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227717#M79818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try with below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD : Sum ({&amp;lt;POSTINGYEAR = {'$(=max(POSTINGYEAR))'}, POSTINGMONTHNUM = {'$(=max(POSTINGMONTHNUM))'}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;LMTD : Sum ({&amp;lt;POSTINGYEAR = {'$(=max(POSTINGYEAR))'}, POSTINGMONTHNUM = {'$(=max(POSTINGMONTHNUM)-1)'}&amp;gt;} AMOUNT_IN_LC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this also doesn't work properly, post you sample date here.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2011 09:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227717#M79818</guid>
      <dc:creator />
      <dc:date>2011-04-23T09:04:09Z</dc:date>
    </item>
    <item>
      <title>MTD,LMTD,Current Quarter&amp;Last Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227718#M79819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;Thans for ur reply..&lt;/P&gt;&lt;P&gt;With this expression we are getting the values when you select the year.&lt;/P&gt;&lt;P&gt;Please find the sample dates here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20061231&lt;/P&gt;&lt;P&gt;20070101&lt;/P&gt;&lt;P&gt;20070131&lt;/P&gt;&lt;P&gt;20070228&lt;/P&gt;&lt;P&gt;20070301&lt;/P&gt;&lt;P&gt;20070331&lt;/P&gt;&lt;P&gt;20070401&lt;/P&gt;&lt;P&gt;20070428&lt;/P&gt;&lt;P&gt;20070430&lt;/P&gt;&lt;P&gt;20070530&lt;/P&gt;&lt;P&gt;20070531&lt;/P&gt;&lt;P&gt;20070630&lt;/P&gt;&lt;P&gt;20070701&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2011 09:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227718#M79819</guid>
      <dc:creator />
      <dc:date>2011-04-23T09:19:05Z</dc:date>
    </item>
    <item>
      <title>MTD,LMTD,Current Quarter&amp;Last Quarter</title>
      <link>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227719#M79820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I cant suggest you anything by looking at the dates which you have provided.&lt;/P&gt;&lt;P&gt;t i have attached a sample application by creating my own data. have look at that.&lt;/P&gt;&lt;P&gt;if this also doesnt solve you probs post you sample trans data, i could create sample application and send you.&lt;/P&gt;&lt;P&gt;- Sridhar&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2011 12:12:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MTD-LMTD-Current-Quarter-Last-Quarter/m-p/227719#M79820</guid>
      <dc:creator />
      <dc:date>2011-04-23T12:12:29Z</dc:date>
    </item>
  </channel>
</rss>

