<?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: Customs Totals in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860600#M1004196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Are you doing this in a pivot table??? If not and you are using a straight table, I would suggest using Straight tables inbuilt total mode instead of Aggr and Dimensionality().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is the definition of &lt;EM style="font-weight: inherit; font-family: inherit; color: #808080;"&gt;$(vCalcCost2_1)&lt;/EM&gt;? May be this is the reason your expression is yielding you the result 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 15:18:23 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-05-27T15:18:23Z</dc:date>
    <item>
      <title>Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860599#M1004195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi, I need to format the columns different than the total. I have this Expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt; (&lt;SPAN style="color: #0000ff;"&gt;dimensionality&lt;/SPAN&gt;()=0,&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vCalcCost2_1)&lt;/EM&gt;&lt;/STRONG&gt; , &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vLocGroupF)&lt;/EM&gt;&lt;/STRONG&gt; )) ,'#,##0'),&lt;BR /&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(=vCalcCost2_1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,'#,##0.000')&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 12pt;"&gt; ) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;the variable &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vLocGroupF&lt;/EM&gt;&lt;/STRONG&gt; = 'GetCurrentField(grpLocal)'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Qlikview retrives well the name of the&amp;nbsp; dimmension.&amp;nbsp; But the Formula does not work for the total the result is always 0. I try with&amp;nbsp; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(=$(vLocGroupF))&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp; but does not work. Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;thx a lot.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 11:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860599#M1004195</guid>
      <dc:creator />
      <dc:date>2015-05-27T11:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860600#M1004196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Are you doing this in a pivot table??? If not and you are using a straight table, I would suggest using Straight tables inbuilt total mode instead of Aggr and Dimensionality().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) What is the definition of &lt;EM style="font-weight: inherit; font-family: inherit; color: #808080;"&gt;$(vCalcCost2_1)&lt;/EM&gt;? May be this is the reason your expression is yielding you the result 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 15:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860600#M1004196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-27T15:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860601#M1004198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sunindia &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It is a Chart table. How can I use straight table inbuilt total mode? Could you give me an example please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;SPAN style="font-size: 8pt;"&gt; Let&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vCalcCost$(vDimSet)_$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;='(('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(36)&amp;amp;'(=concat(_PCalc'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;','&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;'+'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;amp;')))&lt;BR /&gt;/If(Len(GetFieldSelections(_ShowrTon'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'))&lt;BR /&gt;'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(36)&amp;amp;'(vCalcQty'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;') ,10000))'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;No the expresion works good when i have an static dimension. Example: &lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;aggr&lt;/SPAN&gt;(&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(vCalcCost2_1)&lt;/EM&gt;&lt;/STRONG&gt; , &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;Country)&lt;/EM&gt;&lt;/STRONG&gt; )) ,'#,##0')&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thx a lot for your answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 05:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860601#M1004198</guid>
      <dc:creator />
      <dc:date>2015-05-28T05:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860602#M1004200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sunindia, I can not use straight table inbuilt total mode because I need different format for the total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 05:55:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860602#M1004200</guid>
      <dc:creator />
      <dc:date>2015-05-28T05:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860603#M1004201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I solved, I ceated a big variable with both expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vbigvar$(vDimSet)_$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; =&lt;BR /&gt; 'aggr( '&amp;nbsp; &lt;BR /&gt; &amp;amp;&amp;nbsp; &lt;BR /&gt; '(('&amp;amp;Chr(36)&amp;amp;'(=concat(_PCalc'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;','&amp;amp;Chr(39)&amp;amp;'+'&amp;amp;Chr(39)&amp;amp;')))&lt;BR /&gt;/If(Len(GetFieldSelections(_ShowCostPerTon'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'_'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vCol)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;'))&lt;BR /&gt;,&lt;BR /&gt;'&amp;amp;Chr(36)&amp;amp;'(vCalcQty'&amp;amp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vDimSet)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;') &lt;BR /&gt;,10000))'&lt;BR /&gt; &amp;amp; ' , '&amp;nbsp;&amp;nbsp; &amp;amp; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vLocGroupF)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp; ')'; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 08:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860603#M1004201</guid>
      <dc:creator />
      <dc:date>2015-05-28T08:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Customs Totals</title>
      <link>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860604#M1004202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I suggest marking your own answer as correct and closing this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 10:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customs-Totals/m-p/860604#M1004202</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-05-28T10:12:10Z</dc:date>
    </item>
  </channel>
</rss>

