<?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 Set Expression how to modify so it will compute previous month amount ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636670#M542290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expression working fine. as it display max month amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(&lt;/P&gt;&lt;P&gt;FABS(&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {$(=max(year))}, Month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} Month))&amp;gt;$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} Month)-1)"}&amp;gt;}&amp;nbsp;&amp;nbsp; Amount/1000/$(ColumnDim98))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;, $(vMoneyFormatK_GL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to modify this expression to display previous month amount instead of current month amount. may i know how where should i make changes ? See my enclsoed QV Doc in my next post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2014 06:12:49 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-03T06:12:49Z</dc:date>
    <item>
      <title>Set Expression how to modify so it will compute previous month amount ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636670#M542290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below expression working fine. as it display max month amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;money(&lt;/P&gt;&lt;P&gt;FABS(&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year = {$(=max(year))}, Month = {"&amp;lt;=$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} Month))&amp;gt;$(=max({&amp;lt;year={$(=max(year))}&amp;gt;} Month)-1)"}&amp;gt;}&amp;nbsp;&amp;nbsp; Amount/1000/$(ColumnDim98))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;, $(vMoneyFormatK_GL))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to modify this expression to display previous month amount instead of current month amount. may i know how where should i make changes ? See my enclsoed QV Doc in my next post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 06:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636670#M542290</guid>
      <dc:creator />
      <dc:date>2014-06-03T06:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression how to modify so it will compute previous month amount ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636671#M542291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enclosed my QV Doc here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="make 204 dsiplay as 103.png" class="jive-image" src="/legacyfs/online/59996_make 204 dsiplay as 103.png" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 06:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636671#M542291</guid>
      <dc:creator />
      <dc:date>2014-06-03T06:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression how to modify so it will compute previous month amount ?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636672#M542292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this function: =num(AddMonths(vMaximumDate,-1))&lt;/P&gt;&lt;P&gt;where vMaximumDate is your currect date Year and month.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 06:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Expression-how-to-modify-so-it-will-compute-previous-month/m-p/636672#M542292</guid>
      <dc:creator />
      <dc:date>2014-06-03T06:21:49Z</dc:date>
    </item>
  </channel>
</rss>

