<?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 Sum + Condicion ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258213#M97497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TNX !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(If(A&amp;gt;10,A), if(B&amp;gt;10,B), if(C&amp;gt;10,C) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Nov 2011 22:03:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-26T22:03:17Z</dc:date>
    <item>
      <title>Sum + Condicion ?</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258211#M97495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What function i can use for Sum + Condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exemple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&amp;nbsp; B&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp; Total&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;Total(only &amp;gt;10)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;10 20 20&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt; 40&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm searching for function and Set Analysis tutorial.&lt;/P&gt;&lt;P&gt;TNKs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 16:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258211#M97495</guid>
      <dc:creator />
      <dc:date>2011-11-26T16:19:42Z</dc:date>
    </item>
    <item>
      <title>Sum + Condicion ?</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258212#M97496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could&amp;nbsp; embed an if() in a sum() function, for example if you have a field A with values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression would look like &lt;/P&gt;&lt;P&gt;=sum( if(A&amp;gt;10, A))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(read as sum of A values if value &amp;gt; 10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Set Analysis it could be something like&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;A= {"&amp;gt;10"}&amp;gt;} A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you have three different fields A,B,C you want to add, but only operands larger than 10? Do you want to create a new field in the script or creating a total value in the front end? The solution could probably look pretty similar to above, in the script, you can't use set analysis, but you could create a new field and use the if() function, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD A,B,C,&lt;/P&gt;&lt;P&gt;rangesum(If(A&amp;gt;10,A), if(B&amp;gt;10,B), if(C&amp;gt;10,C) ) as Total&lt;/P&gt;&lt;P&gt;FROM ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 16:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258212#M97496</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-26T16:43:11Z</dc:date>
    </item>
    <item>
      <title>Sum + Condicion ?</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258213#M97497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TNX !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rangesum(If(A&amp;gt;10,A), if(B&amp;gt;10,B), if(C&amp;gt;10,C) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Nov 2011 22:03:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-Condicion/m-p/258213#M97497</guid>
      <dc:creator />
      <dc:date>2011-11-26T22:03:17Z</dc:date>
    </item>
  </channel>
</rss>

