<?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 Total Sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-Sum/m-p/476077#M556352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got an expression that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(='COST Part Cost Appproved '&amp;amp;vInflatedString&amp;amp;$(vCurrency))]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;BR /&gt;aggr(NODISTINCT&lt;BR /&gt;count({AS_Contract&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vAS_ContractFilter)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VEHICLE Vehicle Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine and gives me a result like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;total:15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total I got is from the total mode option "sum of rows"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to calculate this total in an expression but I can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 15:28:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-12T15:28:06Z</dc:date>
    <item>
      <title>Total Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sum/m-p/476077#M556352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got an expression that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(='COST Part Cost Appproved '&amp;amp;vInflatedString&amp;amp;$(vCurrency))]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;BR /&gt;aggr(NODISTINCT&lt;BR /&gt;count({AS_Contract&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vAS_ContractFilter)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VEHICLE Vehicle Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine and gives me a result like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;total:15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total I got is from the total mode option "sum of rows"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to calculate this total in an expression but I can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 15:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sum/m-p/476077#M556352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-12T15:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Total Sum</title>
      <link>https://community.qlik.com/t5/QlikView/Total-Sum/m-p/476078#M556353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not easy to answer without knowing your setting (used with which chart dimensions? data model?) and without knowing how these dollar sign expansions work in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can look into the HELP, search for 'sum-of-rows in a pivot table using advanced aggregation' (even if you are not using a pivot table). It explains how you can emulate the sum of rows feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( aggr(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[$(='COST Part Cost Appproved '&amp;amp;vInflatedString&amp;amp;$(vCurrency))]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) / &lt;BR /&gt;aggr(NODISTINCT&lt;BR /&gt;count({AS_Contract&amp;lt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(vAS_ContractFilter)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[CONTRACT_YEAR Contract Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[VEHICLE Vehicle Type]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;CHARTDIM1, CHARTDIM2))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 15:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-Sum/m-p/476078#M556353</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-07-12T15:46:48Z</dc:date>
    </item>
  </channel>
</rss>

