<?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: How to add column to a pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595811#M220704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can add its depends on your expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;201404 - 201403 = diff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in another column&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 11:58:13 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-04-03T11:58:13Z</dc:date>
    <item>
      <title>How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595807#M220700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I made a pivot table like below (without the yellow column)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/56484_1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Now I want add the yellow column which value is the difference between last two month (in this case,201404 and 201403) to the right of the pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can Qlikview do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 08:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595807#M220700</guid>
      <dc:creator />
      <dc:date>2014-04-03T08:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595808#M220701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add a new expression that computes what you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 08:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595808#M220701</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-04-03T08:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595809#M220702</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;You can use the above function, see attached qvw for an example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;QlikCentral.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595809#M220702</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-04-03T11:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595810#M220703</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;Try using SecondaryDimensionality , attached is the qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/56505_pastedImage_0.png" style="width: 620px; height: 214px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;MVV Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595810#M220703</guid>
      <dc:creator />
      <dc:date>2014-04-03T11:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595811#M220704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can add its depends on your expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;201404 - 201403 = diff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in another column&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595811#M220704</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-03T11:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595812#M220705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COLUMN(2)-COLUMN(1) WILL GIVE THE DIFFERENCE IF U WANT THE COLOR MEAN FOR THE DIFFERENCE ROM MEAN U HAVE TO GIVE IN EXPRESSION BACKGROUND&lt;/P&gt;&lt;P&gt;IF(COLUMN(2)-COLUMN(1)&amp;gt;0,YELLOW(),WHITE())&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 12:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595812#M220705</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-03T12:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595813#M220706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;That's what I want. Thank you very much.&lt;/P&gt;&lt;P&gt;May I ask 2 more questions?&lt;/P&gt;&lt;P&gt;I saw you use this expression to define value:&lt;/P&gt;&lt;P&gt;=if(SecondaryDimensionality()=0,sum({&amp;lt;[FQ]={ $(vMaxFQ)}&amp;gt;}[Value])-sum({&amp;lt;[FQ]={ $(vMaxPrevious)}&amp;gt;}[Value]),&lt;/P&gt;&lt;P&gt;sum(Value))&lt;/P&gt;&lt;P&gt;I don't understand $(vMaxFQ) and $(vMaxPrevious).&lt;/P&gt;&lt;P&gt;And in my case qty,amt,unit is already defined by sum function, can I just replace [Value] by an expression sth like sum(qty)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 02:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595813#M220706</guid>
      <dc:creator />
      <dc:date>2014-04-04T02:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595814#M220707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified your qvw to test how it works when there are more values in data area.&lt;/P&gt;&lt;P&gt;And I got the result as below.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/56575_1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;FQ1 and FQ2 are missed in this pivot and all FQ3 value are negative.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any restriction when using function SecondaryDimensionality()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:02:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595814#M220707</guid>
      <dc:creator />
      <dc:date>2014-04-04T09:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595815#M220708</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;vMaxFQ and vMaxPrevious are variables to get the max quarter and previous quarter, in your case you can create variables for months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can replace Value with qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;MVV Satish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595815#M220708</guid>
      <dc:creator />
      <dc:date>2014-04-07T05:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595816#M220709</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;Move the Values below FQ in the pivot, it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;MVV Satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 05:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595816#M220709</guid>
      <dc:creator />
      <dc:date>2014-04-07T05:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to add column to a pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595817#M220710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,when I move value below FQ, it works.&lt;/P&gt;&lt;P&gt;So I can't use SecondaryDimensionality() when values at right of country?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/56752_1.JPG" /&gt;&lt;/P&gt;&lt;P&gt;Because besids diff, I still have one column which will use the value of diff, is it possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2014 01:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-column-to-a-pivot-table/m-p/595817#M220710</guid>
      <dc:creator />
      <dc:date>2014-04-08T01:30:26Z</dc:date>
    </item>
  </channel>
</rss>

