<?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: SUM in chart table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417217#M427939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Highlighted row is the expected result, I just added it , to see the expected result... they are not part of the data, sorry ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2017 13:58:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-26T13:58:56Z</dc:date>
    <item>
      <title>SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417211#M427933</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 have a table with many products, and I need to sum some field with same PCODE, where I will add *0 in thr PRD column , D1,D2,D3,D4 are sum, and have the other field the same as *1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="PRD-TEST1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177756_PRD-TEST1.png" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I tried this, but not getting very far&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bridge_Table:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;//SubField(PRD,'*',1)&amp;amp;'*0' as PRD&lt;/P&gt;&lt;P&gt;PCODE,&lt;/P&gt;&lt;P&gt;Sum(D1) as D1,&lt;/P&gt;&lt;P&gt;Sum(D2) as D2,&lt;/P&gt;&lt;P&gt;Sum(D3) as D3,&lt;/P&gt;&lt;P&gt;Sum(D4) as D4&lt;/P&gt;&lt;P&gt;&amp;nbsp; Resident TEST_PRD&lt;/P&gt;&lt;P&gt;&amp;nbsp; group by PCODE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That does not work well ... I do have the sum in a $syn table, but can't make this line to work &lt;SPAN style="font-size: 13.3333px;"&gt;//SubField(PRD,'*',1)&amp;amp;'*0' as PRD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;And after that, I have no clue how to make the other field equal to the *1 of each product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;To help me explain, here is the result I would like: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;IMG alt="PRD-TEST2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/177757_PRD-TEST2.png" style="height: 198px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can give me hints on how to acheive this ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417211#M427933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417212#M427934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you pleae share sample data set&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417212#M427934</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-26T13:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417213#M427935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand... would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417213#M427935</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-26T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417214#M427936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TEST_PRD:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;PRD,PCODE,D1,D2,D3,D4,Type,Vers&lt;/P&gt;&lt;P&gt;123*1,123,2,3,4,4,AAA,C2&lt;/P&gt;&lt;P&gt;123*2,123,4,7,4,3,AAA,C2&lt;/P&gt;&lt;P&gt;123*4,123,5,3,4,2,AAA,C2&lt;/P&gt;&lt;P&gt;123*0,123,11,13,12,9,AAA,C2&lt;/P&gt;&lt;P&gt;134*3,134,4,3,9,1,BBB,C1&lt;/P&gt;&lt;P&gt;134*2,134,4,3,6,9,BBB,C1&lt;/P&gt;&lt;P&gt;134*5,134,4,3,3,8,BBB,C1&lt;/P&gt;&lt;P&gt;134*0,134,12,9,18,18,BBB,C1&lt;/P&gt;&lt;P&gt;234*1,234,4,7,8,7,AAA,C3&lt;/P&gt;&lt;P&gt;234*2,234,4,7,81,6,AAA,C3&lt;/P&gt;&lt;P&gt;234*3,234,4,74,8,5,AAA,C3&lt;/P&gt;&lt;P&gt;234*4,234,44,7,8,4,AAA,C3&lt;/P&gt;&lt;P&gt;234*0,234,56,95,105,22,AAA,C3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:48:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417214#M427936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417215#M427937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;product 123*1,123*2, etc represent product in different location ... I need the sum of the D1 to D4 field for all the ones that have the same thing before the * ... the PCODE field in fact ... but to be able to see the new location I created 123*0, when I filter by other field , like Type, I need the new row to have also the good value in these other field ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I might not be explaining right ... sorry about that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417215#M427937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417216#M427938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do we need to take highlight rows as well?? If so, What is the output result? If without those three then i may understand your intend..&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177742_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417216#M427938</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-26T13:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417217#M427939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Highlighted row is the expected result, I just added it , to see the expected result... they are not part of the data, sorry ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 13:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417217#M427939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417218#M427940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEST_PRD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRD,PCODE,D1,D2,D3,D4,Type,Vers&lt;/P&gt;&lt;P&gt;123*1,123,2,3,4,4,AAA,C2&lt;/P&gt;&lt;P&gt;123*2,123,4,7,4,3,AAA,C2&lt;/P&gt;&lt;P&gt;123*4,123,5,3,4,2,AAA,C2&lt;/P&gt;&lt;P&gt;134*3,134,4,3,9,1,BBB,C1&lt;/P&gt;&lt;P&gt;134*2,134,4,3,6,9,BBB,C1&lt;/P&gt;&lt;P&gt;134*5,134,4,3,3,8,BBB,C1&lt;/P&gt;&lt;P&gt;234*1,234,4,7,8,7,AAA,C3&lt;/P&gt;&lt;P&gt;234*2,234,4,7,81,6,AAA,C3&lt;/P&gt;&lt;P&gt;234*3,234,4,74,8,5,AAA,C3&lt;/P&gt;&lt;P&gt;234*4,234,44,7,8,4,AAA,C3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (TEST_PRD)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCODE &amp;amp; '*0' as PRD, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCODE, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(D1) as D1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(D2) as D2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(D3) as D3, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(D4) as D4, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vers&lt;/P&gt;&lt;P&gt;RESIDENT TEST_PRD&lt;/P&gt;&lt;P&gt;GROUP BY PCODE, Type, Vers;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 14:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417218#M427940</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-09-26T14:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417219#M427941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;Load * From Table;&lt;/P&gt;&lt;P&gt;Load Pcode &amp;amp; '0' as PRD, Pcode, Sum(D1) as D1, .....&lt;/P&gt;&lt;P&gt;Resident Table Group By Pcode, Type, Vers;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 14:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417219#M427941</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-26T14:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUM in chart table</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417220#M427942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works ... Seem so simple once you give the anwer ... Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2017 14:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-in-chart-table/m-p/1417220#M427942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-26T14:27:55Z</dc:date>
    </item>
  </channel>
</rss>

