<?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: Month on Month closing issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471628#M697101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for ur reply i obtained the solution by peek function and whille loop to generate date for my key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Mar 2013 07:29:43 GMT</pubDate>
    <dc:creator>santhosam</dc:creator>
    <dc:date>2013-03-23T07:29:43Z</dc:date>
    <item>
      <title>Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471624#M697097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had an issue, I want to calculate month on month closing value on branchwise and Itemwise and hence i used peek function to obtain the Closing Value. But i faced an Issue with that, Which i only can able to obtain the closing balance in which if any transaction available, I want to carry forward it to next month also, Can any one help me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 04:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471624#M697097</guid>
      <dc:creator>santhosam</dc:creator>
      <dc:date>2013-03-23T04:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471625#M697098</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;You try below expressions :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for Current Month Calcultion:-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(sum({$&amp;lt;MONTH={"$(=Monthname(max(DATE)))"},DATE=,DAY=,QTR=&amp;gt;}value)),&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;MONTH={"$(=monthname(max({&amp;lt;DATE= {'&amp;lt;=$(vMaxDate1)'},MONTH=,DAY=,QTR=&amp;gt;}DATE)))"},DATE=,DAY=,QTR=&amp;gt;}value)&amp;nbsp; &lt;BR /&gt;,&lt;BR /&gt;sum({$&amp;lt;MONTH={"$(=Monthname(max(DATE)))"},DATE=,DAY=,QTR=&amp;gt;}value)&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;for Previous Month i.e currentmonth-1&lt;/STRONG&gt;:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(sum({$&amp;lt;MONTH={"$(=Monthname(addmonths(max(DATE),-1)))"}value))&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sum({$&amp;lt;MONTH={"$(=monthname(max({&amp;lt;DATE = {'&amp;lt;=$(vMaxDate1)'},&lt;BR /&gt;MONTH=,DAY=,QTR=&amp;gt;}DATE)))"},DATE=,DAY=&amp;gt;}value)&amp;nbsp; &lt;BR /&gt;,sum({$&amp;lt;MONTH={"$(=Monthname(addmonths(max(DATE),-1)))"}&amp;gt;}value)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly you can calculate for next month i.e currentmonth-2,currentmonth-3...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here variable vMaxDate1=MonthStart(Max(LINK_TABLE_DATE)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give the data for the month only were transactions are available,if the current month is not having any transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this all will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Udit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 05:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471625#M697098</guid>
      <dc:creator>udit_kumar_sana</dc:creator>
      <dc:date>2013-03-23T05:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471626#M697099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to get generate the details on Script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 05:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471626#M697099</guid>
      <dc:creator>santhosam</dc:creator>
      <dc:date>2013-03-23T05:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471627#M697100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In script try using Previous() for this, before that you need to order the data by the required dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 07:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471627#M697100</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-23T07:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471628#M697101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for ur reply i obtained the solution by peek function and whille loop to generate date for my key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 07:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471628#M697101</guid>
      <dc:creator>santhosam</dc:creator>
      <dc:date>2013-03-23T07:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Month on Month closing issue</title>
      <link>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471629#M697102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using While it will take more time loading, if possible avoid while loop, instead try WHILE in Load statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helds you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 08:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-on-Month-closing-issue/m-p/471629#M697102</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-03-23T08:40:49Z</dc:date>
    </item>
  </channel>
</rss>

