<?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: Total SUM calculation for multiple expression under one dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377359#M420352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give some example data, it will be better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I think the reason you can 3 in total is you use the count(distinct customer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the first PTD, maybe you have customer A and B.&lt;/P&gt;&lt;P&gt;And for the second PTD, you have customer A and B and C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the total will be 3, because you only have A and B and C. I think that's reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want to change it to 5. I think you can use count(customer). But you need to make sure that you won't have redundant data in your source table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Aiolos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Dec 2017 05:22:03 GMT</pubDate>
    <dc:creator>uacg0009</dc:creator>
    <dc:date>2017-12-11T05:22:03Z</dc:date>
    <item>
      <title>Total SUM calculation for multiple expression under one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377356#M420349</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 am trying to add total column to this pivot&amp;nbsp; table:&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;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/186357_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see in the total column I have # customer=3 although it should be 5, since we have 2 in first column and another 3 in last column. so can someone advise me how to calculate the total sum? &lt;/P&gt;&lt;P&gt;I currently checked the 'show partial sums' under PTD dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also is it possible to give the user option to sort based on all the expression he wants by clicking on it (like #cusomers, #of sites, etc...)?&lt;/P&gt;&lt;P&gt;I am new to QV...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 08:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377356#M420349</guid>
      <dc:creator>anatle1234</dc:creator>
      <dc:date>2017-12-10T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM calculation for multiple expression under one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377357#M420350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide your expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be try with aggregation.&amp;nbsp; Like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sum(aggr(your current expression),your current dimesnsions))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 10:41:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377357#M420350</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2017-12-10T10:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM calculation for multiple expression under one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377358#M420351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also check here&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/ChartFunctions/NestedAggregations/sum-of-rows-pivot-tables.htm"&gt;Sum of rows in pivot tables ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Dec 2017 13:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377358#M420351</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-12-10T13:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Total SUM calculation for multiple expression under one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377359#M420352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can give some example data, it will be better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, I think the reason you can 3 in total is you use the count(distinct customer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for the first PTD, maybe you have customer A and B.&lt;/P&gt;&lt;P&gt;And for the second PTD, you have customer A and B and C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the total will be 3, because you only have A and B and C. I think that's reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you want to change it to 5. I think you can use count(customer). But you need to make sure that you won't have redundant data in your source table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Aiolos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 05:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-SUM-calculation-for-multiple-expression-under-one/m-p/1377359#M420352</guid>
      <dc:creator>uacg0009</dc:creator>
      <dc:date>2017-12-11T05:22:03Z</dc:date>
    </item>
  </channel>
</rss>

