<?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: How Can I fix Partial sum error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1876065#M1216675</link>
    <description>&lt;P&gt;It seems there is no duplicate values . I will attach the qvw file. Please check it. month and year in order 10 and 2021 are use to selections.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Dec 2021 09:54:42 GMT</pubDate>
    <dc:creator>thimiran1997</dc:creator>
    <dc:date>2021-12-30T09:54:42Z</dc:date>
    <item>
      <title>How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875414#M1216650</link>
      <description>&lt;P&gt;There is&amp;nbsp; showing the partial sum according to part no but there is an error. How can I fix it. I attached the picture in below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thimiran1997_0-1640667836156.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69266i77DBB5FA12E589A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thimiran1997_0-1640667836156.png" alt="thimiran1997_0-1640667836156.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#pivot #partial_Sum&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 05:04:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875414#M1216650</guid>
      <dc:creator>thimiran1997</dc:creator>
      <dc:date>2021-12-28T05:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875417#M1216651</link>
      <description>&lt;P&gt;78 seems to be a negative here. Are you using any number formatting? May be the negative number is being displayed as positive too?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 06:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875417#M1216651</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-12-28T06:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875422#M1216652</link>
      <description>&lt;P&gt;All are positive numbers&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 05:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875422#M1216652</guid>
      <dc:creator>thimiran1997</dc:creator>
      <dc:date>2021-12-28T05:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875443#M1216653</link>
      <description>&lt;P&gt;I always say "Qlik is nevers wrong".&lt;/P&gt;
&lt;P&gt;This happens when there are duplicate values in the data, maybe the whole record of a table, I suggest you add the field "PART_NO" as a List Box and filter the values UA014008 and UA014009 with the option "Show Frequency" and then add all the fields that come from that table in a Table Box so you can compare the amount of different values that appear in the table versus the ones that the List Box counts.&lt;/P&gt;
&lt;P&gt;Are you using&amp;nbsp; DISTINCT in some part of the formula? If you are using it, it is possible that for a single row the values are distinct but for group UA0140 within column 91-120 there are distinct values.&lt;/P&gt;
&lt;P&gt;Could you please post your formula?&lt;/P&gt;
&lt;P&gt;If you need more help you can write me and I will be glad to help you.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 13:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1875443#M1216653</guid>
      <dc:creator>_Gerardo_</dc:creator>
      <dc:date>2021-12-28T13:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1876065#M1216675</link>
      <description>&lt;P&gt;It seems there is no duplicate values . I will attach the qvw file. Please check it. month and year in order 10 and 2021 are use to selections.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 09:54:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1876065#M1216675</guid>
      <dc:creator>thimiran1997</dc:creator>
      <dc:date>2021-12-30T09:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1876221#M1216680</link>
      <description>&lt;P&gt;Hello again, I found the difference.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2021-12-30_11-15-33.png" style="width: 901px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/69411i5E0DB4350954278F/image-size/large?v=v2&amp;amp;px=999" role="button" title="2021-12-30_11-15-33.png" alt="2021-12-30_11-15-33.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I created the field 61-90 mod with this formula (in green color)&lt;/P&gt;
&lt;P&gt;Sum( {&amp;lt;Ageing ={"61-90"},TRANSACTION_CODE={'ARRIVAL'}&amp;gt;-&amp;lt;Ageing ={"61-90"},TRANSACTION_CODE={'RETCREDIT','RETWORK','INVSCRAP','SCPCREDIT'}&amp;gt;} Purchase_Qty)&lt;/P&gt;
&lt;P&gt;You used that formula to check if the quantity is lower than Stock Qty (&amp;lt; Sum ( [Stock Qty]) . For testing purposes, I'm not considering the previous aging 0-30,41-60 because in both cases the values were 0.&lt;/P&gt;
&lt;P&gt;As you can see in blue color, the condition "&amp;lt; Sum ( [Stock Qty])" is TRUE only for PART_NO UA014008 and&amp;nbsp;UA014009 at row level ... but in the SUM for all the values grouped under StyleP UP UA0140 is FALSE, and Qlik is showing in the right place (TOTAL in red color) the value for group calculation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending what do you want as TOTAL value at Row and Column Level ... you could use Sum ( TOTAL &amp;lt;StyleP&amp;gt; [Stock Qty]) for the comparison ... or if you need something more advanced you could also try using Dimensionality() / SecondaryDimensionality() functions to use a different calculation for each Total Dimension Level.&lt;/P&gt;
&lt;P&gt;Dimensionality() function shows the number of dimensions in a row ... and using this you can use a different calculation for TOTAL Dimension 1 for example AVERAGE, and TOTAL Dimension 0 for example a SUM.&lt;/P&gt;
&lt;P&gt;SecondaryDimensionality() works similar for columns.&lt;/P&gt;
&lt;P&gt;The difference in the calculation of the total is found in other columns as well, but it is not as evident as in the 91-120 column, for example, although the total appears in 61-90 as 1,494, the sum of the individual row values is 1,337.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jan 2022 18:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1876221#M1216680</guid>
      <dc:creator>_Gerardo_</dc:creator>
      <dc:date>2022-01-01T18:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1880094#M1216813</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/94216"&gt;@thimiran1997&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Did the provided response help you?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 13:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1880094#M1216813</guid>
      <dc:creator>_Gerardo_</dc:creator>
      <dc:date>2022-01-12T13:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How Can I fix Partial sum error</title>
      <link>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1882083#M1216885</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/160704"&gt;@_Gerardo_&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sorry for the my late response. I was little bit busy. your clarification is confused me.&amp;nbsp; I want to sum of columns in styleS level. Could you give me a simple solution or example qvw file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the help&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 04:12:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-Can-I-fix-Partial-sum-error/m-p/1882083#M1216885</guid>
      <dc:creator>thimiran1997</dc:creator>
      <dc:date>2022-01-18T04:12:45Z</dc:date>
    </item>
  </channel>
</rss>

