<?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: Problem with sum expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1608508#M444924</link>
    <description>&lt;P&gt;Did either of the posts address the issue?&amp;nbsp; If so, be sure to give them credit by clicking the Accept as Solution button on any that did help.&amp;nbsp; If you figured it out yourself, please post what you did and mark that as the solution.&amp;nbsp; If you require further help, please provide additional information.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2019 12:43:26 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-08-01T12:43:26Z</dc:date>
    <item>
      <title>Problem with sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601059#M444280</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have a problem with this expression :&lt;/P&gt;&lt;P&gt;= sum(if([VOY.EPFCLE] &amp;lt;&amp;gt; 0, 1, if([PLA.EPFCLE] &amp;lt;&amp;gt; 0, 1, 0)) -&amp;gt; result 834&lt;/P&gt;&lt;P&gt;-&amp;gt; expected result 833&lt;/P&gt;&lt;P&gt;But in this case PLA.EPFCLE is always = 0 and if I do sum(if([PLA.EPFCLE] &amp;lt;&amp;gt; 0, 1, 0)) -&amp;gt; I have 0&lt;/P&gt;&lt;P&gt;So we are agree that my formula is equivalent to&amp;nbsp; : sum(if([VOY.EPFCLE] &amp;lt;&amp;gt; 0, 1, 0) and I do it, I have the result 833 what is expected !!&lt;/P&gt;&lt;P&gt;VOY.EPFCLE is a key and never null so it 's not a problem like it. There is also no double value&lt;/P&gt;&lt;P&gt;It is very strange. It's like bug&lt;/P&gt;&lt;P&gt;Is there a way to explain it and maybe something to test ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601059#M444280</guid>
      <dc:creator>olivier_vincon</dc:creator>
      <dc:date>2024-11-16T20:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601069#M444281</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Try this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;= sum(if([VOY.EPFCLE] = 0, if([PLA.EPFCLE] =0, 0, 1),1)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 18:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601069#M444281</guid>
      <dc:creator>bharathadde</dc:creator>
      <dc:date>2019-07-10T18:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601077#M444282</link>
      <description>&lt;P&gt;What do you get if you use the following expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RANGESUM(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;COUNT(DISTINCT {&amp;lt;&amp;nbsp;[VOY.EPFCLE] -= {0} &amp;gt;}&amp;nbsp;[VOY.EPFCLE])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;COUNT( DISTINCT {&amp;lt;&amp;nbsp;&amp;nbsp;[VOY.EPFCLE] = {0} , [PLA.EPFCLE] -= {0} &amp;gt;}&amp;nbsp;[PLA.EPFCLE])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any combination of selections where you may have a valid value on PLA.EPFCLE and no valid values on VOY.EPFCLE?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 19:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1601077#M444282</guid>
      <dc:creator>diego_a_barboza</dc:creator>
      <dc:date>2019-07-10T19:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1608508#M444924</link>
      <description>&lt;P&gt;Did either of the posts address the issue?&amp;nbsp; If so, be sure to give them credit by clicking the Accept as Solution button on any that did help.&amp;nbsp; If you figured it out yourself, please post what you did and mark that as the solution.&amp;nbsp; If you require further help, please provide additional information.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 12:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-sum-expression/m-p/1608508#M444924</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-01T12:43:26Z</dc:date>
    </item>
  </channel>
</rss>

