<?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: Pivot table - show different format in total column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781427#M1031217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Dimensionality()=0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(sum(CompCount)/sum([Person HeadCount]),0.01),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(sum(CompCount)/sum([Person HeadCount]),0.01)&amp;amp;' ('&amp;amp;sum(NonCount)&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Feb 2015 07:37:28 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-02-11T07:37:28Z</dc:date>
    <item>
      <title>Pivot table - show different format in total column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781426#M1031216</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 recently got some help from you on concatenating 2 expressions in a pivot table chart, and this worked great, thank you....&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/144456"&gt;http://community.qlik.com/thread/144456&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....however, I now need to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- only show the concatenation in the main part of the table, but not for the total column&lt;/P&gt;&lt;P&gt;- apply different conditional formatting to the total column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. This is how it &lt;SPAN style="color: #575757;"&gt;currently looks&lt;/SPAN&gt;(ignore numbers!)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 204pt; border-collapse: collapse;" width="272"&gt;&lt;TBODY&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="width: 60pt; height: 12pt; background-color: transparent; border: #d4d0c8;" width="80"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;Apples&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;Pears&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl63" style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;STRONG style="color: #000000;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;America&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: red; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(3) 5%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68" style="background-color: yellow; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(2) 10%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: red; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;(5) 7%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;New Zealand&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: #00b050; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(10) 50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: #00b050; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(10) 50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="background-color: yellow; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;(20) 50%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="background-color: red; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(3) 5%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl64" style="background-color: yellow; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(2) 10%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: red; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;(5) 7%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;This is how it needs to look - no number in brackets in the total and different conditional formatting settings on the total figure as the total does not have the same targets as the individual items (apples, pears)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 204pt; border-collapse: collapse;" width="272"&gt;&lt;TBODY&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="width: 60pt; height: 12pt; background-color: transparent; border: #d4d0c8;" width="80"&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;Apples&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;SPAN style="color: #000000;"&gt;Pears&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="width: 48pt; background-color: transparent; border: #d4d0c8;" width="64"&gt;&lt;STRONG style="color: #000000;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;America&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: red; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(3) 5%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl69" style="background-color: yellow; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(2) 10%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl70" style="background-color: #00b0f0; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;7%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;New Zealand&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68" style="background-color: #00b050; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(10) 50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl68" style="background-color: #00b050; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(10) 50%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl71" style="background-color: #b2a1c7; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;50%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 12pt;"&gt;&lt;TD height="16" style="height: 12pt; background-color: transparent; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;India&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl67" style="background-color: red; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(3) 5%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl66" style="background-color: yellow; border: #d4d0c8;"&gt;&lt;SPAN style="color: #000000;"&gt;(2) 10%&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl72" style="background-color: #ffc000; border: #d4d0c8;"&gt;&lt;STRONG style="color: #000000;"&gt;7%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can you help?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781426#M1031216</guid>
      <dc:creator />
      <dc:date>2015-02-11T07:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table - show different format in total column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781427#M1031217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Dimensionality()=0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(sum(CompCount)/sum([Person HeadCount]),0.01),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;round(sum(CompCount)/sum([Person HeadCount]),0.01)&amp;amp;' ('&amp;amp;sum(NonCount)&amp;amp;')'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781427#M1031217</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-11T07:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table - show different format in total column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781428#M1031218</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;In a straight table or columns in a pivot table, use Dimensionality()&lt;/P&gt;&lt;P&gt;For row totals in pivot table, use SecondaryDimensionality(), like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =If(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;SecondaryDimensionality() = 0, &amp;lt;simple expression for total&amp;gt;, &amp;lt;concatenated expression for detail&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781428#M1031218</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-02-11T07:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table - show different format in total column</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781429#M1031219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - that worked perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for the conditional formatting formatting aspect - is it the same expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(&lt;SPAN style="font-size: 13px;"&gt;SecondaryDimensionality() = 0, &amp;lt;conditional formatting for total&amp;gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px;"&gt; &amp;lt;conditional formatting for detail&amp;gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px;"&gt;Chloe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 07:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-show-different-format-in-total-column/m-p/781429#M1031219</guid>
      <dc:creator />
      <dc:date>2015-02-11T07:50:48Z</dc:date>
    </item>
  </channel>
</rss>

