<?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: Problem with &amp;quot;Show Partial Sums&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498326#M1127299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;When using the Distinct Count not show sum of all values, because Pivot table uses Expression total, i.e., it gets the overall Distinct count irrespective of Dimensions, where as for dimension values it is calculated at Dimension level.&amp;nbsp; If you want both values same then convert this chart to Straight table and select Sum of Rows option in Expressions tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2013&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you get the count by Year level you will get Distinct ID for 2012 as and 2013 as 1 (2 + 1 = 3) and if you get overall then the distinct count is 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to override this then use the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(RowNo() = 0, Sum(Aggr(count({&amp;lt;event_date={"&amp;gt;=$(=date(today() - 7))"} &amp;gt;} distinct element), ADSource, Color, month, Day)), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;event_date={"&amp;gt;=$(=date(today() - 7))"} &amp;gt;} distinct element)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Dec 2013 02:17:11 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-12-18T02:17:11Z</dc:date>
    <item>
      <title>Problem with "Show Partial Sums"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498325#M1127298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following table in QlikView&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="50578" alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/50578_pastedImage_0.png" style="width: 620px; height: 121px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select "Show Partial Sum" the bottom row is giving the right results but the right column is not working property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions are calculated with this formula count({&amp;lt;event_date={"&amp;gt;=$(=date(today() - 7))"} &amp;gt;} distinct element)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that QlikView is having some issues with the count and the distinct and it is not displaying the right result on the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 23:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498325#M1127298</guid>
      <dc:creator />
      <dc:date>2013-12-17T23:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "Show Partial Sums"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498326#M1127299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;When using the Distinct Count not show sum of all values, because Pivot table uses Expression total, i.e., it gets the overall Distinct count irrespective of Dimensions, where as for dimension values it is calculated at Dimension level.&amp;nbsp; If you want both values same then convert this chart to Straight table and select Sum of Rows option in Expressions tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;2012&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;2013&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you get the count by Year level you will get Distinct ID for 2012 as and 2013 as 1 (2 + 1 = 3) and if you get overall then the distinct count is 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to override this then use the following expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=If(RowNo() = 0, Sum(Aggr(count({&amp;lt;event_date={"&amp;gt;=$(=date(today() - 7))"} &amp;gt;} distinct element), ADSource, Color, month, Day)), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({&amp;lt;event_date={"&amp;gt;=$(=date(today() - 7))"} &amp;gt;} distinct element)&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 02:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498326#M1127299</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-18T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "Show Partial Sums"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498327#M1127300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It confirmed what I thought.&lt;/P&gt;&lt;P&gt;At the end we decided not to change the chart type nor making any modifications.&lt;/P&gt;&lt;P&gt;I also tried your expression but for some reason did not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 00:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498327#M1127300</guid>
      <dc:creator />
      <dc:date>2013-12-19T00:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "Show Partial Sums"</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498328#M1127301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You try above(Jagan Saying)&amp;nbsp; formula it's working fine...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 03:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-Show-Partial-Sums-quot/m-p/498328#M1127301</guid>
      <dc:creator />
      <dc:date>2013-12-19T03:49:48Z</dc:date>
    </item>
  </channel>
</rss>

