<?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: Create a column in Pivot Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383760#M812701</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;as per your requirement and if i understood it correctly you want to create a dynamic/extra column that will show the subtraction of two column march and feb in this case which can be pre populated or else calculated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:create column MOM &lt;/P&gt;&lt;P&gt;2: in expression type column name1 within&amp;nbsp; [ ] - column name 2 within [ ] &lt;/P&gt;&lt;P&gt;&amp;nbsp; something like [column1]-[column2] or [Mar] - [Feb]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share the app if it doesn't work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Oct 2017 07:42:18 GMT</pubDate>
    <dc:creator>pradosh_thakur</dc:creator>
    <dc:date>2017-10-03T07:42:18Z</dc:date>
    <item>
      <title>Create a column in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383757#M812698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if there's possible to create a column in pivot table?&lt;/P&gt;&lt;P&gt;The format is like below, Month is as the dimension in the pivot table, and I would like to create extra column called 'MoM'.&lt;/P&gt;&lt;P&gt;Is there any way to make this happen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Jan&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Feb&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Mar&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;MoM&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;150&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;160&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;130&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;90&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383757#M812698</guid>
      <dc:creator>katetsan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a column in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383758#M812699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;Dim:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ValueList('Jan','Feb','Mar','MoM')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(ValueList('Jan','Feb','Mar','MoM')&amp;lt;&amp;gt;'MoM',sum({$&amp;lt;Month={'Mar'}&amp;gt;}Amt),sum({$&amp;lt;Month={'Mar'}&amp;gt;}Amt)-sum({$&amp;lt;Month={'Feb'}&amp;gt;}Amt))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="178379" alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/178379_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: based on you Calendar data you can change the Month/Date value in above expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 06:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383758#M812699</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-10-03T06:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a column in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383759#M812700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Kate!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use Pick() function, but first you need to improve your script with wthis load:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[dim&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that create a pivot table with two dimensions:&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;Pick(dim,month_field,'MoM')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As expression use this:&lt;/P&gt;&lt;P&gt;Pick(dim,sum(val),sum({&amp;lt;cur_month&amp;gt;}val)-sum({&amp;lt;prev_month&amp;gt;}val))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 07:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383759#M812700</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-10-03T07:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create a column in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383760#M812701</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;as per your requirement and if i understood it correctly you want to create a dynamic/extra column that will show the subtraction of two column march and feb in this case which can be pre populated or else calculated &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:create column MOM &lt;/P&gt;&lt;P&gt;2: in expression type column name1 within&amp;nbsp; [ ] - column name 2 within [ ] &lt;/P&gt;&lt;P&gt;&amp;nbsp; something like [column1]-[column2] or [Mar] - [Feb]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;share the app if it doesn't work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 07:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383760#M812701</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-03T07:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create a column in Pivot Table</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383761#M812702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Devarasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;What if there is more than three months, is it possible to use the field name like "Month" instead of individual month (such as Jan, Feb, and Mar)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Oct 2017 08:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-column-in-Pivot-Table/m-p/1383761#M812702</guid>
      <dc:creator>katetsan</dc:creator>
      <dc:date>2017-10-03T08:00:08Z</dc:date>
    </item>
  </channel>
</rss>

