<?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: sum columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537894#M1139090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean-Pierre&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggesstion and but it does not give me the correct answer, this is my expression.&lt;/P&gt;&lt;P&gt;I probably have brackets in the wrong place. Any help would be appreciated&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)&amp;gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)*&lt;SPAN style="color: #0000ff;"&gt;normdist&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;lt;= &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;gt;=&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;,'#,##0')), &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;),&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;,0))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)-&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)*&lt;SPAN style="color: #0000ff;"&gt;normdist&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;lt;= &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;gt;=&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;,'#,##0')), &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;),&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;,0))),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;, &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 08:32:47 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-20T08:32:47Z</dc:date>
    <item>
      <title>sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537892#M1139088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a normal distribution and want to find the values that are outside the Ideal Curve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the expression for the Ideal Curve&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)*&lt;SPAN style="color: #0000ff;"&gt;normdist&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;lt;= &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;gt;=&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;,'#,##0')), &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;),&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;,0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;I get a total at the top of this column&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Now I want to find the items that are outside the ideal using this expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[# MAC]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Ideal Curve]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[# MAC]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Ideal Curve]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;#MAC is Count(distinct MAC) and Ideal Curve expression above&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I get a total of 0 for this which is not correct. see attached example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I want to use the totals in a calculation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Any help appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 15:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537892#M1139088</guid>
      <dc:creator />
      <dc:date>2013-09-18T15:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537893#M1139089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to aggregate the "if" in order to get a correct total.&lt;/P&gt;&lt;P&gt;Basically it would look like this (replace with correct expressions):&lt;/P&gt;&lt;P&gt;sum(aggr(if(MacExpression &amp;gt; CurveExpression, MacExpression - CurveExpression, 0), [Tx Pwr])).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also attach a sample of your qvw to try with your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 01:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537893#M1139089</guid>
      <dc:creator />
      <dc:date>2013-09-20T01:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537894#M1139090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jean-Pierre&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried your suggesstion and but it does not give me the correct answer, this is my expression.&lt;/P&gt;&lt;P&gt;I probably have brackets in the wrong place. Any help would be appreciated&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;BR /&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)&amp;gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)*&lt;SPAN style="color: #0000ff;"&gt;normdist&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;lt;= &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;gt;=&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;,'#,##0')), &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;),&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;,0))),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)-&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;total&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;MAC&lt;/SPAN&gt;)*&lt;SPAN style="color: #0000ff;"&gt;normdist&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;( &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;lt;= &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt; &amp;gt;=&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;, &lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;,'#,##0')), &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;),&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;,&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;,0))),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;, &lt;SPAN style="color: #800000;"&gt;BellCurveTx&lt;/SPAN&gt;)) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 08:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537894#M1139090</guid>
      <dc:creator />
      <dc:date>2013-09-20T08:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537895#M1139091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share your sample app to get more and precise solutions/suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 09:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537895#M1139091</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-20T09:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537896#M1139092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Treseco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached qvw as suggested&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to caluclate the MAC outside the curve, last colun in chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:43:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537896#M1139092</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537897#M1139093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you talking about the subtotal ? If so please FA, otherwise, can you please describe the expected result?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537897#M1139093</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-09-20T10:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: sum columns</title>
      <link>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537898#M1139094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed since you're using a straight table, under the Expressions tab, for the Outside Curve field, you can check the option in the Total Mode as tresesco is suggesting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you were using a pivot table, that expression is also giving a correct total as initially suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MAC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt; &amp;gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MAC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)*&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;normdist&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000; font-size: 10pt;"&gt;'#,##0'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,0))&lt;BR /&gt; ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MAC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)&lt;BR /&gt; -&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;MAC&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)*&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;normdist&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;v_US_TX_high&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;v_US_TX_low&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #ff8000; font-size: 10pt;"&gt;'#,##0'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;),&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vAVG_TX_Bell_Site)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(vSTD_tx_bell)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;,0))&lt;BR /&gt; ,&lt;BR /&gt; 0&lt;BR /&gt;)&lt;BR /&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;BellCurveTx&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 10:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-columns/m-p/537898#M1139094</guid>
      <dc:creator />
      <dc:date>2013-09-20T10:59:12Z</dc:date>
    </item>
  </channel>
</rss>

