<?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: Creating a Total Column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818086#M666841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way if you add the Sum fields in the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; [ITEM CODE], [Branch Name], Sales, [Total Sales per Item];&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM CODE, Branch Name, Sales, Total Sales per Item&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Bloemfontein, 283, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Botswana, 31, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Cape Town, 268, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Durban, 155, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, East London, 81, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Johannesburg, 228, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Namibia, 320, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Nelspruit, 400, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Polokwane, 80, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Port Elizabeth, 189, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Swaziland, 0, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Upington, 110, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Bloemfontein, 97, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Botswana, 3, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Cape Town, 138, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Durban,&amp;nbsp;&amp;nbsp;&amp;nbsp; 158, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, East London, 79, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Johannesburg, 614, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Namibia, 109, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Nelspruit, 77, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Polokwane, 15, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Port Elizabeth, 85, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Swaziland, 152, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Upington, 2, 1529&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;[ITEM CODE],&lt;BR /&gt;sum( Sales) as [Total Sum] //For Total Sum&lt;BR /&gt;Resident Tab1 Group By [ITEM CODE];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in chart&lt;/P&gt;&lt;P&gt;Dim1:-[ITEM CODE], [Branch Name]&lt;/P&gt;&lt;P&gt;Expre:- Sum(Sales)&lt;/P&gt;&lt;P&gt;Expre:- [Total Sum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or simple in the front end&lt;/P&gt;&lt;P&gt;Sum(Sales)&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ITEM CODE]&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 16:56:21 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-12-11T16:56:21Z</dc:date>
    <item>
      <title>Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818083#M666838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a sample of a straight table. (see below).&amp;nbsp; Sales per item per Branch.&lt;/P&gt;&lt;P&gt;I want to create a total column per item ( ie i want to create the column highlighted in yellow).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 280pt; border-collapse: collapse;" width="372"&gt;&lt;TBODY&gt;&lt;TR style="height: 24pt;"&gt;&lt;TD class="xl69" height="32" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: #e1e1e1; width: 88pt; height: 24pt; border-top: black 0.5pt solid; border-right: #f0f0f0;" width="117"&gt;&lt;STRONG style="color: #960000;"&gt;ITEM&lt;SPAN style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/SPAN&gt;CODE&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl69" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: #e1e1e1; width: 74pt; border-top: black 0.5pt solid; border-right: #f0f0f0;" width="98"&gt;&lt;STRONG style="color: #960000;"&gt;Branch Name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl71" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: #e1e1e1; width: 51pt; border-top: black 0.5pt solid; border-right: #f0f0f0;" width="68"&gt;&lt;STRONG style="color: #960000;"&gt;Sales&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl72" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: yellow; width: 67pt; border-top: black 0.5pt solid; border-right: #f0f0f0;" width="89"&gt;&lt;STRONG style="color: #960000;"&gt;Total Sales per Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Bloemfontein&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;283&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Botswana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;31&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Cape Town&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;268&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Durban&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;155&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;East London&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;81&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Johannesburg&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;228&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Namibia&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;320&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Nelspruit&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;400&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Polokwane&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;80&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Port Elizabeth&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;189&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Swaziland&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;0&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Upington&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;110&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl67" height="17" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; height: 12.75pt; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;ABC&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: yellow; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;2,145&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Bloemfontein&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;97&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Botswana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Cape Town&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;138&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Durban&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;158&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;East London&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;79&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Johannesburg&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;614&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Namibia&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;109&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Nelspruit&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;77&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Polokwane&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Port Elizabeth&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;85&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="background-color: whitesmoke; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Swaziland&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="background-color: whitesmoke; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;152&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="background-color: white; height: 12.75pt; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;DEF&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;Upington&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl64" style="background-color: white; border: #f0f0f0;"&gt;&lt;SPAN style="color: #000000;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl73" style="background-color: yellow; border: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl67" height="17" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; height: 12.75pt; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;DEF&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: yellow; border-top: black 0.5pt solid; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl67" height="17" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; height: 12.75pt; border-top: black; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt; &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl67" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt; &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: whitesmoke; border-top: black; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;3,674&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl74" style="border-bottom: black 0.5pt solid; border-left: #f0f0f0; background-color: yellow; border-top: black; border-right: #f0f0f0;"&gt;&lt;STRONG style="color: #000000;"&gt;1,529&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 16:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818083#M666838</guid>
      <dc:creator />
      <dc:date>2014-12-11T16:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818084#M666839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Aggr(Sum(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #960000;"&gt;Sales&lt;/STRONG&gt;),[ITEM CODE])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 16:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818084#M666839</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-11T16:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818085#M666840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can use &lt;/P&gt;&lt;P&gt;=sum(TOTAL &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ITEM CODE]&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 16:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818085#M666840</guid>
      <dc:creator />
      <dc:date>2014-12-11T16:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818086#M666841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another way if you add the Sum fields in the load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tab1:&lt;BR /&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; [ITEM CODE], [Branch Name], Sales, [Total Sales per Item];&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM CODE, Branch Name, Sales, Total Sales per Item&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Bloemfontein, 283, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Botswana, 31, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Cape Town, 268, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Durban, 155, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, East London, 81, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Johannesburg, 228, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Namibia, 320, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Nelspruit, 400, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Polokwane, 80, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Port Elizabeth, 189, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Swaziland, 0, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ABC, Upington, 110, 2145&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Bloemfontein, 97, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Botswana, 3, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Cape Town, 138, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Durban,&amp;nbsp;&amp;nbsp;&amp;nbsp; 158, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, East London, 79, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Johannesburg, 614, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Namibia, 109, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Nelspruit, 77, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Polokwane, 15, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Port Elizabeth, 85, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Swaziland, 152, 1529&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEF, Upington, 2, 1529&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;BR /&gt;[ITEM CODE],&lt;BR /&gt;sum( Sales) as [Total Sum] //For Total Sum&lt;BR /&gt;Resident Tab1 Group By [ITEM CODE];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then in chart&lt;/P&gt;&lt;P&gt;Dim1:-[ITEM CODE], [Branch Name]&lt;/P&gt;&lt;P&gt;Expre:- Sum(Sales)&lt;/P&gt;&lt;P&gt;Expre:- [Total Sum]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or simple in the front end&lt;/P&gt;&lt;P&gt;Sum(Sales)&lt;/P&gt;&lt;P&gt;Sum(TOTAL &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[ITEM CODE]&amp;gt; Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 16:56:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818086#M666841</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-11T16:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818087#M666842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send the post before I went home last night, hence the delayed reply.&amp;nbsp;&amp;nbsp; Thank you for your responses.&amp;nbsp;&amp;nbsp; Will try the scripting and let you know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 07:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818087#M666842</guid>
      <dc:creator />
      <dc:date>2014-12-12T07:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818088#M666843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the formula , however it gives the grand total. ie 3674 for ABC &amp;amp; DEF.&amp;nbsp; I require for ABC the total to show 2145 and for DEF to show 1529.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 08:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818088#M666843</guid>
      <dc:creator />
      <dc:date>2014-12-12T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818089#M666844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: ITEM CODE,Branch Name&lt;/P&gt;&lt;P&gt;Expression: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Aggr(Sum(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #960000;"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;),[ITEM CODE])&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;IMG alt="145469.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73323_145469.png" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 08:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818089#M666844</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-12T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818090#M666845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my QV Model, my Sales is a calculated field. How do I apply your formula.&amp;nbsp; It works if it is a proper field from the loading script.&amp;nbsp; However it does not work as mines on the front end is a calculated field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818090#M666845</guid>
      <dc:creator />
      <dc:date>2014-12-12T10:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818091#M666846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample app&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:42:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818091#M666846</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-12T10:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818092#M666847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will compile a sample model for you. I'll create a mock database in excel and link the QV Model to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&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;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:48:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818092#M666847</guid>
      <dc:creator />
      <dc:date>2014-12-12T10:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818093#M666848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached herewith is the Sample Qlikview Model and an excel spreadhseet on which the Qlikview model is based on.&lt;/P&gt;&lt;P&gt;The Excel spreadheet has a sheet which contains sales per item per month per branch.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;I have added a new field called "MonthIndex" .&amp;nbsp; This is use so that it will enable me to calculate sales for the last few months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart table I created shows sales for the last 6 months and shows the "Average Last 6 Months". &lt;/P&gt;&lt;P&gt;In this sample model, i want the TOTAL for the "Average Last 6 Months".&lt;/P&gt;&lt;P&gt;So, Total for ABC = 11,025 ,&amp;nbsp; DEF =686 and GHI = 8429&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;Thanking you in advance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818093#M666848</guid>
      <dc:creator />
      <dc:date>2014-12-12T12:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818094#M666849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you get &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Total for ABC = 11,025 ,&amp;nbsp; DEF =686 and GHI = 8429?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post qvw which you tried to get avg of last 6 months?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 13:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818094#M666849</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-12T13:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818095#M666850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i looked at my post, i see the QV Model did not attached.&amp;nbsp; Please find attached QV Model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 13:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818095#M666850</guid>
      <dc:creator />
      <dc:date>2014-12-12T13:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818096#M666851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus6)'}&amp;gt;}[Sales Quantity]) &lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus5)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus4)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus3)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus2)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM(TOTAL&amp;lt;[Item Code]&amp;gt; {&amp;lt;[MonthIndex]={'$(vMaxMIMinus1)'}&amp;gt;}[Sales Quantity]))/ 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggr(SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus6)'}&amp;gt;}[Sales Quantity]) &lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus5)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus4)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus3)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus2)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus1)'}&amp;gt;}[Sales Quantity]),[Item Code])/ 6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 14:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818096#M666851</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-12T14:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818097#M666852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you .&amp;nbsp; Much appreciated.&amp;nbsp; The first formula worked perfectly.&lt;/P&gt;&lt;P&gt;The second formula gave a total but for only 1 line.&amp;nbsp; Do you know why it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thank you for all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 14:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818097#M666852</guid>
      <dc:creator />
      <dc:date>2014-12-12T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818098#M666853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure check and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 16:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818098#M666853</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-12T16:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818099#M666854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(IsNull(Aggr(SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus6)'}&amp;gt;}[Sales Quantity]) &lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus5)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus4)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus3)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus2)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus1)'}&amp;gt;}[Sales Quantity]),[Item Code])/ 6&lt;/P&gt;&lt;P&gt;),Above(Column(9),1,1),Aggr(SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus6)'}&amp;gt;}[Sales Quantity]) &lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus5)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus4)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus3)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus2)'}&amp;gt;}[Sales Quantity])&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;[MonthIndex]={'$(vMaxMIMinus1)'}&amp;gt;}[Sales Quantity]),[Item Code])/ 6&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 05:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818099#M666854</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-15T05:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Total Column</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818100#M666855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for all your help.&amp;nbsp; This is very useful for me.&amp;nbsp; Sorry for the delayed reply as it was the weekend and got to work this morning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 06:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-Total-Column/m-p/818100#M666855</guid>
      <dc:creator />
      <dc:date>2014-12-15T06:44:29Z</dc:date>
    </item>
  </channel>
</rss>

