<?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 Dimension wise total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394042#M1161666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have used below mention formula in expression but I don't know due to some reason I am not getting&amp;nbsp; dimension wise total of expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='L',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GROSSWT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='D',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='M',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;))))) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any idea why ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 20:30:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-01T20:30:42Z</dc:date>
    <item>
      <title>Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394042#M1161666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have used below mention formula in expression but I don't know due to some reason I am not getting&amp;nbsp; dimension wise total of expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style=": ; font-size: 1;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='L',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GROSSWT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='D',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='M',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;))))) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Any idea why ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 20:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394042#M1161666</guid>
      <dc:creator />
      <dc:date>2012-11-01T20:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394043#M1161667</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;Your formula is correctly defined for each row &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;On the total level it can't be calculated 'cuase there are more than one different values behind &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION &lt;SPAN style="color: #000000; font-size: 10pt;"&gt;statement.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;The only way to calculate it for total is to sum it over &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION, &lt;SPAN style="color: #000000; font-size: 10pt;"&gt;for example like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Sum(aggr(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='L',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GROSSWT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='D',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='M',-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PCS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))))&lt;STRONG&gt;, &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DIVISION))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 08:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394043#M1161667</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-02T08:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394044#M1161668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that you dont have a single DIVISION on the full aggregate level.&lt;/P&gt;&lt;P&gt;If you use straight table you can set the Total Mode to &lt;EM&gt;Sum of Rows.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF not:&lt;/P&gt;&lt;P&gt;I don't know your dataset, but alternativiely try using SET-analysis instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13518467093587011" jivemacro_uid="_13518467093587011"&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;=-Sum({&amp;lt;DIVISION={'L'}&amp;gt;}GROSSWT) - Sum({&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&amp;lt;DIVISION={'D','M'}&amp;gt;&lt;/SPAN&gt;}PCS)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/100292"&gt;Vegar Lie Arntsen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QlikView consultant at &lt;/EM&gt;&lt;A href="http://bit.ly/PoSwU2"&gt;egbs consulting ab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Blog (in Swedish):&lt;/EM&gt; &lt;A href="http://bit.ly/UkXdvt"&gt;bi-effekten.se&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394044#M1161668</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2012-11-02T09:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394045#M1161669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;u use the ( before if statement it not needed then&amp;nbsp; everything is ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;now check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;=If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='L',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;GROSSWT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='D',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='M',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394045#M1161669</guid>
      <dc:creator />
      <dc:date>2012-11-02T09:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394046#M1161671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tushar, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry I Didnt Get You Can You Please Send Me your Test App.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:36:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394046#M1161671</guid>
      <dc:creator />
      <dc:date>2012-11-02T09:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394047#M1161674</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;At the total line, QV cannot determine a single DIVISION, so all your if statements return false. You have two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If this is in a straight table, you can enable sum of rows in the Total Mode in Properties | Expressions. This option is not available for pivot tables.&lt;/LI&gt;&lt;LI&gt;Use an Aggr() expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(If(DIVISION ='L',-Sum(GROSSWT),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(DIVISION ='D',-Sum(PCS),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(DIVISION ='M',-Sum(PCS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))), dimension1, dimension2, dimension3))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont know what dimensions are on your table, so replace dimension1, 2 etc with the fields are dimensions on your table. You need as many field names here as you have dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394047#M1161674</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-11-02T09:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394048#M1161677</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;u use ( this bracket before if statement that is problem remove that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just replace with this script in ur expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;=If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='L',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;GROSSWT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='D',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;DIVISION&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ='M',-&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;PCS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG style="font-size: 8pt;"&gt;)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below im tried this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(empno=1,-sum(sal),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(empno=2,-sum(sal),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(empno=3,-sum(sal+1),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(empno=4,44)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394048#M1161677</guid>
      <dc:creator />
      <dc:date>2012-11-02T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394049#M1161678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure!&lt;/P&gt;&lt;P&gt;Here u go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/100292"&gt;Vegar Lie Arntsen&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;QlikView consultant at &lt;/EM&gt;&lt;A href="http://bit.ly/PoSwU2"&gt;egbs consulting ab&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Blog (in Swedish):&lt;/EM&gt; &lt;A href="http://bit.ly/UkXdvt"&gt;bi-effekten.se&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 09:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394049#M1161678</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2012-11-02T09:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394050#M1161681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use aggr function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached the QV application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mhatim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 10:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394050#M1161681</guid>
      <dc:creator />
      <dc:date>2012-11-02T10:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension wise total</title>
      <link>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394051#M1161683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-sum(if(DIVISION='D' or DIVISION='M' , PCS,GROSSWT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks I used above mention formula finally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 17:40:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dimension-wise-total/m-p/394051#M1161683</guid>
      <dc:creator />
      <dc:date>2012-11-16T17:40:40Z</dc:date>
    </item>
  </channel>
</rss>

