<?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: Re: sum expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559293#M208736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following will make sure there is something in the ZP field (makes sure the length is at least one character):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'},ZP={'?*'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'},ZP={'?*'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jan 2014 15:06:31 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2014-01-24T15:06:31Z</dc:date>
    <item>
      <title>sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559277#M208720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have following chart.&lt;/P&gt;&lt;P&gt;Nbre TA and Nbre T are an expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I want to have in the field “RES” the result under&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone have an idea to have the following result&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 2.75pt; padding: 0 3.5pt 0 3.5pt;" width="628"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;18,75 = (3/16)*100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;25= (4/16)*100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;56,25=(9/16)*100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="margin-left: 2.75pt; padding: 0 3.5pt 0 3.5pt;" width="628"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;ZP&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;Nbre TA&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;Nbre T&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;CAM&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;LOC&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-left: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: #333333; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;RES&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ALCL&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;18,75&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOCO&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOCO&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;25&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;ZP&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;SOCO&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: white; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Tahoma','sans-serif'; color: #333333;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;56,25&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: solid windowtext 1.0pt; border-top: none; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;STRONG style="color: black; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;10&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;STRONG style="color: black; font-size: 8.0pt; font-family: 'Tahoma','sans-serif';"&gt;16&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; background: whitesmoke; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="border-top: none; border-left: none; border-bottom: solid windowtext 1.0pt; border-right: solid windowtext 1.0pt; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="91"&gt;&lt;P align="right" style="margin-bottom: .0001pt; text-align: right;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;100&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="127"&gt;&lt;/TD&gt;&lt;TD nowrap="nowrap" style="padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="99"&gt;&lt;P&gt;&lt;/P&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 16:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559277#M208720</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-23T16:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559278#M208721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Expression would be:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=[Nbre T]/sum(total [Nbre T])*100&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example file also attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 16:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559278#M208721</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-23T16:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559279#M208722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression for RES field is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(NbreT) / sum(TOTAL NbreT) * 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 16:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559279#M208722</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-01-23T16:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559280#M208723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;[Nbre T] is an expression, this makes Sum(TOTAL not work in the given formula.&lt;/P&gt;&lt;P&gt;Could you give us the formula of [Nbre T] and the dimensions of your chart? It seems the best would be to adapt this formula to get the total...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 17:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559280#M208723</guid>
      <dc:creator />
      <dc:date>2014-01-23T17:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559281#M208724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for replies, you are right Pierre, the total sum does not work with tese expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find under the formula for NbreT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(distinct if( ISO='20', HMCONT)) + (count(distinct if( ISO='40', HMCONT))*2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimensions are CAM and ZP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559281#M208724</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-23T18:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559282#M208725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count(distinct if( ISO='20', HMCONT)) + (count(distinct if( ISO='40', HMCONT))*2) can be written a bit better:&lt;/P&gt;&lt;P&gt;count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the RES expression would be:&lt;/P&gt;&lt;P&gt;count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2) /&lt;/P&gt;&lt;P&gt;sum(aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),CAM,ZP)) * 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559282#M208725</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-23T18:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559283#M208726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression gives me in RES column, the value under&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RES&lt;/P&gt;&lt;P&gt;67.67&lt;/P&gt;&lt;P&gt;52,00&lt;/P&gt;&lt;P&gt;89.98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data are wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 628px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: 0px solid black; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;18,75&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: 0px solid black; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;25&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD nowrap="nowrap" style="border: 0px solid black; padding: 0 3.5pt 0 3.5pt;" valign="bottom" width="115"&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;56,25&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559283#M208726</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-23T18:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559284#M208727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I forgot the TOTAL keyword:&lt;/P&gt;&lt;P&gt;count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2) /&lt;/P&gt;&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),CAM,ZP)) * 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559284#M208727</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-23T18:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559285#M208728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try this expression but the result is always false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RES:&lt;/P&gt;&lt;P&gt;1.55&lt;/P&gt;&lt;P&gt;2,55&lt;/P&gt;&lt;P&gt;3,21&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559285#M208728</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-23T18:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559286#M208729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you just put this in the chart and tell me what it is returning (once with the total and once without):&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; sum(aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),CAM,ZP))&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),CAM,ZP))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559286#M208729</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-23T18:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559287#M208730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first expression returns, same value of NbreT&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second expression returns&lt;/P&gt;&lt;P&gt;362&lt;/P&gt;&lt;P&gt;362&lt;/P&gt;&lt;P&gt;362&lt;/P&gt;&lt;P&gt;362&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 18:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559287#M208730</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-23T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559288#M208731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your original post, you also have LOC field.&amp;nbsp; I think this also needs to be included in your aggr() and I was missing a set of parentheses on my other expressions:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2))/&lt;/P&gt;
&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I have also attached an example .qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 19:02:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559288#M208731</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-23T19:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559289#M208732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a variable for the Nbre T expression. Call it vNbreT then in your RES expression use the following equation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=([Nbre T]/$(vNbreT))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way the variable vNbreT will always be looking at the total of the Nbre T expression (16 in your example) creating an absolute reference to the total and the expression Nbre T will look at the pieces (3, then 4, then 9) of the total giving you the results you are looking for. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 19:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559289#M208732</guid>
      <dc:creator />
      <dc:date>2014-01-23T19:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559290#M208733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - I try expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2))/&lt;/P&gt;&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is always false, the result&lt;/P&gt;&lt;P&gt;0,828&lt;/P&gt;&lt;P&gt;1,104&lt;/P&gt;&lt;P&gt;2.486&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use only a part of expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is 36200 and not 1600 like example_2.qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - I try to create a variable vNbreT with expresionn contents in NbreT, like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result of =([Nbre T]/$(vNbreT))*100 gives me also a false value&lt;/P&gt;&lt;P&gt;500&lt;/P&gt;&lt;P&gt;400&lt;/P&gt;&lt;P&gt;1700&lt;/P&gt;&lt;P&gt;1600&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 08:05:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559290#M208733</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-24T08:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559291#M208734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you want help you need to post a .qvw&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 13:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559291#M208734</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-24T13:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559292#M208735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand where does the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created an inline table to have only the "ZP" and in the demission ZP I have enable the option "Supress When value is Null" to have only the value "ZP"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I disable option "Supress When value is Null" on "ZP" the total is 362&lt;/P&gt;&lt;P&gt;if I enable option "Supress When value is Null" on "ZP" the total is 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;The&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;expression&lt;/SPAN&gt; under does not &lt;SPAN class="hps"&gt;ignores&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;null values&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;​​and takes the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;total&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;amount&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(362)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sum(total aggr(count({&amp;lt;ISO={'20'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a possibility with this expression to ignore null value if the option "Supress When value is Null" is enable on ZP dimenssion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 14:58:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559292#M208735</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-24T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559293#M208736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following will make sure there is something in the ZP field (makes sure the length is at least one character):&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;sum(total aggr(count({&amp;lt;ISO={'20'},ZP={'?*'}&amp;gt;}distinct HMCONT) + (count({&amp;lt;ISO={'40'},ZP={'?*'}&amp;gt;}distinct HMCONT)*2),ZP,CAM,LOC))*100&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 15:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559293#M208736</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-01-24T15:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: sum expression</title>
      <link>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559294#M208737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Well done&lt;/SPAN&gt;&lt;SPAN&gt;, it works&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;perfectly now&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 15:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-expression/m-p/559294#M208737</guid>
      <dc:creator>realpixel</dc:creator>
      <dc:date>2014-01-24T15:13:30Z</dc:date>
    </item>
  </channel>
</rss>

