<?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: partial sum problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537302#M200832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like you want a sum of rows in a pivot table, so maybe like&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; font-size: 12px; background-color: #f6f6f6;"&gt;=sum( aggr( &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;if( findoc_series = 1101 or findoc_series = 1106, 1), Dim1, Dim2, Dim3, Dim4))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Replace Dim1 ... Dim4 with your chart dimension fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2013 01:00:19 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-12-31T01:00:19Z</dc:date>
    <item>
      <title>partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537298#M200828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;sorry if Im asking something easy but Im very new to QW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this expresion an i cant get partial sum . What am I doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(findoc_series='1101'OR(findoc_series= '1106'),1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 19:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537298#M200828</guid>
      <dc:creator />
      <dc:date>2013-12-30T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537299#M200829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It isn't clear what are you trying to do. Is this an expression or is this in your script? What are you trying to sum?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 23:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537299#M200829</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-30T23:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537300#M200830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ionnis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please read&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use an aggregation function in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the context of your partial sums, findoc_series is probably not unambiguous, so the expression can't evaluated to a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking for something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if( findoc_series = 1101 or findoc_series = 1106, 1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 23:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537300#M200830</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-30T23:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537301#M200831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i use this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=sum(if( findoc_series = 1101 or findoc_series = 1106, 1))&lt;/SPAN&gt;&amp;nbsp; i get &lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50932_1.jpg" style="width: 620px; height: 269px;" /&gt;&lt;/P&gt;&lt;P&gt;but this is not right for the column CUSTOMERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i use&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;if( findoc_series = 1101 or findoc_series = 1106, 1)&amp;nbsp; i get &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;IMG alt="2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/50942_2.jpg" style="width: 620px; height: 269px;" /&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; font-size: 12px; background-color: #f6f6f6;"&gt;this is correct for the number of customers by row but i dont have a Sum at the top &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 00:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537301#M200831</guid>
      <dc:creator />
      <dc:date>2013-12-31T00:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537302#M200832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like you want a sum of rows in a pivot table, so maybe like&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; font-size: 12px; background-color: #f6f6f6;"&gt;=sum( aggr( &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;if( findoc_series = 1101 or findoc_series = 1106, 1), Dim1, Dim2, Dim3, Dim4))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Replace Dim1 ... Dim4 with your chart dimension fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537302#M200832</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-12-31T01:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537303#M200833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change you total mode from expression default to sum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537303#M200833</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-31T01:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537304#M200834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/50938_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537304#M200834</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-31T01:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537305#M200835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This returns 0 to all fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:16:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537305#M200835</guid>
      <dc:creator />
      <dc:date>2013-12-31T01:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537306#M200836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i do this ? the Total Mode is Expression Total by default and i have no choice &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:17:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537306#M200836</guid>
      <dc:creator />
      <dc:date>2013-12-31T01:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537307#M200837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;=count(if( findoc_series = 1101 or findoc_series = 1106, 1))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537307#M200837</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-31T01:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537308#M200838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be able to change the total mode First change the your chart type to Straight Table go to the expressions tab change the total mode go back to general tab and change back to pivot table. Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537308#M200838</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-31T01:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537309#M200839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same result as sum &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I must make an explanation of the chart&lt;/P&gt;&lt;P&gt;'Time' is the time we have a sale&lt;/P&gt;&lt;P&gt;'SeriesType' is the type of Invoice&lt;/P&gt;&lt;P&gt;'Series No' is the No of the invoice&lt;/P&gt;&lt;P&gt;'Sale' is the Value of the Invoice&lt;/P&gt;&lt;P&gt;'Customer' in real is the rows of the Invoice='SeriesType . Thats why when we call sum we get number of rows&lt;/P&gt;&lt;P&gt;for example at the first img the first row of QV we have Time'9' ,&amp;nbsp;&amp;nbsp;&amp;nbsp; SeriesType(Invoice)'1101'&amp;nbsp; Series No(Invoice No) '1657' Sale(Invoive value) 15€ and finaly CUSTOMER ( rows with differend items in the invoice) '2' &lt;/P&gt;&lt;P&gt;What we try to do is to convert Invoices to Customers&amp;nbsp; 1 Invoice = 1 Customer . The target is to have how many customers per hour .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 01:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537309#M200839</guid>
      <dc:creator />
      <dc:date>2013-12-31T01:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537310#M200840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you count the distinct invoices then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count(distinct [Series No])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 02:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537310#M200840</guid>
      <dc:creator>iktrayanov</dc:creator>
      <dc:date>2013-12-31T02:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537311#M200841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its a way but i still have to exclude some Series Type because they are not all Invoices , some of them are Delivery Notes ( type 2053) that is why i ask types 1101 &amp;amp; 1106 to count 1 &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 02:09:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537311#M200841</guid>
      <dc:creator />
      <dc:date>2013-12-31T02:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537312#M200842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hi,&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;Try like this&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;=Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; findoc_series = {'1101', '1106'&lt;/SPAN&gt;&amp;gt;} distinct [Series No])&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>Tue, 31 Dec 2013 02:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537312#M200842</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-31T02:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: partial sum problem</title>
      <link>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537313#M200843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats right &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all guys &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yiannis &lt;/P&gt;&lt;P&gt;Greece&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 02:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/partial-sum-problem/m-p/537313#M200843</guid>
      <dc:creator />
      <dc:date>2013-12-31T02:22:33Z</dc:date>
    </item>
  </channel>
</rss>

