<?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: Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597550#M221289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not working. Can U pls check with my document reply to me&amp;nbsp; with attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Feb 2014 07:04:43 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2014-02-18T07:04:43Z</dc:date>
    <item>
      <title>Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597548#M221287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum( {$&amp;lt;To_YEAR=,[To_MONTH]{'&amp;lt;$(=Max([R_MONTH]))'}&amp;gt;} [PREMIUM] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; written the above expression and it is not working. Pls check my attached document see what is wrong.&lt;/P&gt;&lt;P&gt;What I want to calculate is sum of Premium for the selected period and importantly To_month&amp;lt;R_Months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 06:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/597548#M221287</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-02-18T06:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597549#M221288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You were missing an equal sign after the To_MONTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; To_YEAR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;/P&gt;&lt;P&gt;&amp;nbsp; ,To_MONTH&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;=&lt;/STRONG&gt; {'&amp;lt;$(=Max([R_MONTH]))'}&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } [PREMIUM] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 06:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/597549#M221288</guid>
      <dc:creator>albertovarela</dc:creator>
      <dc:date>2014-02-18T06:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597550#M221289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not working. Can U pls check with my document reply to me&amp;nbsp; with attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/597550#M221289</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2014-02-18T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597551#M221290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;sum(if(num(To_MONTH)&amp;lt;num(R_MONTH),PREMIUM))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {&amp;lt;[To_MONTH]={'&amp;lt;$(=Max([R_MONTH]))'},To_YEAR&amp;gt;} [PREMIUM] )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:05:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/597551#M221290</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-02-18T07:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Expression/m-p/597552#M221291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to sum() all values for To_MONTHs lower than R_MONTH, then why put To_MONTH as a dimension in your chart? Remove the dimension, correct the expression as suggested before and it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression/m-p/597552#M221291</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2014-02-18T07:37:32Z</dc:date>
    </item>
  </channel>
</rss>

