<?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 columns across pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373538#M138995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason, i have tried showing partial sums on month and it just gives 1 for every type. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 20:09:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-28T20:09:39Z</dc:date>
    <item>
      <title>Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373536#M138993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm looking for a little help using a pivot table in QV 11. i have 4 dimensions (type1, type2, name, and month). the month dimension is horizontal, the rest vertical. i currently have an expression to show "1" if the combination appears in the load tables &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if(Count&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;type1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;type2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;0,1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;this works fine, but i would like to sum&lt;/SPAN&gt; across all months and i'm finding it more difficult than i thought it would be. i want to keep the structure of the table as it is now and the months are automatically added as we enter a new one, so [May] + [April] + ..... is out of the question. the total column can be either a calculated dimension or an expression. i have tried aggr, sum rowno(total) and i thought just about everything else (although there is a good chance i was not doing them correctly). can somebody help me out? thanks.&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 18:51:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373536#M138993</guid>
      <dc:creator />
      <dc:date>2012-06-28T18:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373537#M138994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you just want a total of all the 1's in the far right of the table? If so have you set the partial sums for Month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 20:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373537#M138994</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-28T20:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373538#M138995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason, i have tried showing partial sums on month and it just gives 1 for every type. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 20:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373538#M138995</guid>
      <dc:creator />
      <dc:date>2012-06-28T20:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373539#M138996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 22:03:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373539#M138996</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-28T22:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373540#M138997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jason. I actually got it figured out. using the below expression i am able to get my count by month (1 or 0) and the total column actually sums across. i thought i had tried every combination of sum aggr possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;type1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;type2&amp;amp;name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),type1, type2, name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 13:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373540#M138997</guid>
      <dc:creator />
      <dc:date>2012-06-29T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373541#M138998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a follow up, this gave me what i was looking for, but is there a way to reference the "partial sum" column in an expression or conditional format? so this expression now gives me 1 or 0 for each month horizontally, then a total at the end. so if a "type1&amp;amp;type2&amp;amp;name" combo appears in each month from Jan-May, the total is 5. i would like to set a conditional format to use that total. so if the total is 1, it means it is the first time this "type1&amp;amp;type2&amp;amp;name" is appearing, and i would like to highlight the cell (or change the expression to include if.... then "NEW")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 18:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373541#M138998</guid>
      <dc:creator />
      <dc:date>2012-06-29T18:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373542#M138999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you post your app we can help more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 19:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373542#M138999</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-29T19:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373543#M139000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately i can't post the app. thanks again for your help, i'm sure i will get it figured out eventually.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 13:23:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373543#M139000</guid>
      <dc:creator />
      <dc:date>2012-07-02T13:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sum columns across pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373544#M139001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, good luck.&amp;nbsp; If you can find the time to either build a dummy example or scramble the existing data you will find it's much easier for people to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 15:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-columns-across-pivot-table/m-p/373544#M139001</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-07-02T15:51:40Z</dc:date>
    </item>
  </channel>
</rss>

