<?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 Column() in Totals header in Pivot Table doesn't work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271370#M101738</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totals will never work when you have different "results" of your if-statement - unless you have SUM/COUNT/AVG etc outside your ()'s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Category=1, Qty_Bikes, if(Category=2, Qty_Prams, Qty_Others))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will not work - but thewhen altered like below it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(if(Category=1, Qty_Bikes, if(Category=2, Qty_Prams, Qty_Others))) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2011 09:35:45 GMT</pubDate>
    <dc:creator>klausskalts</dc:creator>
    <dc:date>2011-08-15T09:35:45Z</dc:date>
    <item>
      <title>Column() in Totals header in Pivot Table doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271369#M101737</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;I've got a pivot table with Categories as the far left column, the next column is Sales Order Number. In the Totals for Sales Order Number I would like to show a sales quota that is depending on Category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to do something such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(Column(1) = 'Accessories', $(vQuoteAccessories),&lt;BR /&gt; If(Column(1) = 'Bikes', $(vQuoteBikes)......&lt;/P&gt;&lt;P&gt;But it seems like Column()-function isn't working in Totals-field (?)&lt;/P&gt;&lt;P&gt;Any ideas how to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 09:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271369#M101737</guid>
      <dc:creator />
      <dc:date>2011-08-15T09:25:22Z</dc:date>
    </item>
    <item>
      <title>Column() in Totals header in Pivot Table doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271370#M101738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totals will never work when you have different "results" of your if-statement - unless you have SUM/COUNT/AVG etc outside your ()'s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(Category=1, Qty_Bikes, if(Category=2, Qty_Prams, Qty_Others))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will not work - but thewhen altered like below it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(if(Category=1, Qty_Bikes, if(Category=2, Qty_Prams, Qty_Others))) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; OK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 09:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271370#M101738</guid>
      <dc:creator>klausskalts</dc:creator>
      <dc:date>2011-08-15T09:35:45Z</dc:date>
    </item>
    <item>
      <title>Column() in Totals header in Pivot Table doesn't work</title>
      <link>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271371#M101739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Ok I see, thanks for replying! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my situation with two columns (Category as the far left and SalesOrderNumber as the second column), the column with SalesOrderNumber has partial sums checked so it shows a Totals-field for each category. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It isn't possible to show the name of the category in the Totals-field (So that it would show Bikes in the totals-field when the left column is Bikes and Accessories in the next total-field when that corresponding left column is Accessories? (Because it would be different "results"?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 11:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Column-in-Totals-header-in-Pivot-Table-doesn-t-work/m-p/271371#M101739</guid>
      <dc:creator />
      <dc:date>2011-08-15T11:08:56Z</dc:date>
    </item>
  </channel>
</rss>

