<?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 Error. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839707#M1006936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finlay i tried the below one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE)))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 07:49:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-12T07:49:37Z</dc:date>
    <item>
      <title>Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839697#M1006913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me to find the error in following Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(BRO_ORC+AGE_ORC+GRO_ORC=0) and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(BRO_ORC=0 and AGE_ORC=0 and GRO_ORC=0 and ORC_COM&amp;gt;0,ALT(SUM(COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:02:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839697#M1006913</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839698#M1006927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below:&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(BRO_ORC+AGE_ORC+GRO_ORC)=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(BRO_ORC=0 and AGE_ORC=0 and GRO_ORC=0 and ORC_COM&amp;gt;0,ALT(SUM(COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839698#M1006927</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839699#M1006928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is already tested and failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839699#M1006928</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839700#M1006929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quick response highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839700#M1006929</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839701#M1006930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(BRO_ORC,AGE_ORC,GRO_ORC)=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(BRO_ORC=0 and AGE_ORC=0 and GRO_ORC=0 and ORC_COM&amp;gt;0,ALT(SUM(COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839701#M1006930</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839702#M1006931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the above does not work, then final try:&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(BRO_ORC=0 and AGE_ORC=0 and GRO_ORC=0 and ORC_COM&amp;gt;0,ALT(SUM(COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839702#M1006931</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839703#M1006932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839703#M1006932</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839704#M1006933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final one also failed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain the error i have made in my 1st attempt?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:31:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839704#M1006933</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839705#M1006934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error line is in bold below from your original exp:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;STRONG&gt; SUM(&lt;SPAN style="text-decoration: line-through;"&gt;IF(RANGESUM(BRO_ORC+AGE_ORC+GRO_ORC=0)&lt;/SPAN&gt; and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; SUM(IF(BRO_ORC=0 and AGE_ORC=0 and GRO_ORC=0 and ORC_COM&amp;gt;0,ALT(SUM(COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) in RANGESUM you need comma separated values&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2) the brackets of the IF should be before the =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The best thing will be to test the expression by breaking it into smaller peices.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:38:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839705#M1006934</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839706#M1006935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thkx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839706#M1006935</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839707#M1006936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finlay i tried the below one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE)))).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839707#M1006936</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839708#M1006937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please break it into smaller pieces like first investigate value of below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -SUM(CRE)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one by one remove the lines to see where you get values, and then add them again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839708#M1006937</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839709#M1006938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839709#M1006938</guid>
      <dc:creator />
      <dc:date>2015-05-12T07:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839710#M1006939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By remaining line by line it was observed the bold and underlined parts makes the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt;SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; -SUM(CRE))) &amp;lt;0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ROUND(RANGESUM(SUM(IF(CAT='BR',(COM_PRE*BR_COM_ORC)/100,0)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='AG',(COM_PRE*AG_COM_ORC+SR*AG_RS_ORC+TC*AG_TC_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; SUM(IF(CAT='GR',(COM_PRE*BR_COM_ORC)/100)),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG style="text-decoration: underline;"&gt; //SUM(IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; -SUM(CRE))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please anyone can suggest something new instead of mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839710#M1006939</guid>
      <dc:creator />
      <dc:date>2015-05-12T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839711#M1006940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you replace the bold line with below:&lt;/P&gt;&lt;P&gt;IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,SUM((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0)),&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 08:13:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839711#M1006940</guid>
      <dc:creator />
      <dc:date>2015-05-12T08:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839712#M1006941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though i replace the part, status of the expression shows error in expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839712#M1006941</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839713#M1006942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ohh sorry, you need to remove extra ) from right before comma.&lt;/P&gt;&lt;P&gt;&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;IF(RANGESUM(SUM(BRO_ORC),SUM(AGE_ORC),SUM(GRO_ORC))=0 and ORC_COM&amp;gt;0,SUM((COM_PRE*ME_COM)+(SR*ME_RS)+(TC*ME_TC))/100,0),&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:30:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839713#M1006942</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839714#M1006943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Angad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also failed. anyway thanks for the great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 09:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839714#M1006943</guid>
      <dc:creator />
      <dc:date>2015-05-12T09:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error.</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839715#M1006944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Idea..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try an other way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks lot.&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 03:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error/m-p/839715#M1006944</guid>
      <dc:creator />
      <dc:date>2015-05-13T03:22:45Z</dc:date>
    </item>
  </channel>
</rss>

