<?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 expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression/m-p/1424433#M429220</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&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/179107_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This expression give me the value of the selectes month and year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date]))}&amp;gt;} recharge_amount),'# ##0')- num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)}&amp;gt;} recharge_amount),'# ##0')) / num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)}&amp;gt;} recharge_amount),'# ##0') *100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the expression that give me the value of the selected year and the month -1( in this case august) &lt;/P&gt;&lt;P&gt;the filed month is [Month of date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Oct 2017 09:48:34 GMT</pubDate>
    <dc:creator>master_student</dc:creator>
    <dc:date>2017-10-10T09:48:34Z</dc:date>
    <item>
      <title>expression</title>
      <link>https://community.qlik.com/t5/QlikView/expression/m-p/1424433#M429220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&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/179107_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;This expression give me the value of the selectes month and year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date]))}&amp;gt;} recharge_amount),'# ##0')- num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)}&amp;gt;} recharge_amount),'# ##0')) / num(sum( {$&amp;lt;[Year of date]={$(=Max([Year of date])-1)}&amp;gt;} recharge_amount),'# ##0') *100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the expression that give me the value of the selected year and the month -1( in this case august) &lt;/P&gt;&lt;P&gt;the filed month is [Month of date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:48:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression/m-p/1424433#M429220</guid>
      <dc:creator>master_student</dc:creator>
      <dc:date>2017-10-10T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression</title>
      <link>https://community.qlik.com/t5/QlikView/expression/m-p/1424434#M429221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a new field in the script like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Year of date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Month of date],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Date#([Month of date] &amp;amp; ' - ' &amp;amp; [Year of date], 'MMMM - YYYY'), 'MMM-YYYY') as MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM ....;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;=(Sum({$&amp;lt;[Year of date], [Month of date], MonthYear = {"$(=Date(AddMonths(Max(MonthYear), -1), 'MMM-YYYY'))"}&amp;gt;} recharge_amount) - Sum({$&amp;lt;[Year of date], &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Month of date], MonthYear = {"$(=Date(AddMonths(Max(MonthYear), -13), 'MMM-YYYY'))"}&lt;/SPAN&gt;&amp;gt;} recharge_amount)) / Sum( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{$&amp;lt;[Year of date], &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Month of date], MonthYear = {"$(=Date(AddMonths(Max(MonthYear), -13), 'MMM-YYYY'))"}&lt;/SPAN&gt;&amp;gt;} recharge_amount) * 100&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 09:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression/m-p/1424434#M429221</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-10T09:57:31Z</dc:date>
    </item>
  </channel>
</rss>

