<?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 can i create this pivot? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293488#M587257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just re-read your original and see that you already have several expressions and have pivoted them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you can't pivot individual expressions - you have to do them all.&amp;nbsp; But you can still use my expression, just one for each calculation and then you have the growth figures under each of the other expressions rather than to the side.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2011 11:38:52 GMT</pubDate>
    <dc:creator>stephencredmond</dc:creator>
    <dc:date>2011-05-12T11:38:52Z</dc:date>
    <item>
      <title>how can i create this pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293486#M587255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id, date, profit, costs, discount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pivot should look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year = 2010 |&amp;nbsp; year = 2011&amp;nbsp;&amp;nbsp; |&amp;nbsp; grow %&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;profit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | expression&amp;nbsp;&amp;nbsp; |&amp;nbsp; expressions&amp;nbsp;&amp;nbsp; |&amp;nbsp; expression&lt;/P&gt;&lt;P&gt;costs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&lt;/P&gt;&lt;P&gt;discount&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can put year in dimensions, add serval expressions (profit, costs, discount) and than drag the expressions to the dimension location and the dimension location to the top. works great, but than i cant add the % column .. how can this be designed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 11:28:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293486#M587255</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2011-05-12T11:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: how can i create this pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293487#M587256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are several ways of doing this.&amp;nbsp; Depending on your requirements, you might want to look at a set.&amp;nbsp; However, the easiest way is that you keep the chart that you have with Year pivoted across the top and a 2nd expression for the growth using the Before function.&amp;nbsp; E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum(LineSalesAmount)-Before(Sum(LineSalesAmount)))/Sum(LineSalesAmount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first column, this value will be null (because there is no "Before") but it will calculate for other years.&amp;nbsp; This allows you to have several years in your pivot and display the growth for all of them.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 11:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293487#M587256</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2011-05-12T11:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: how can i create this pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293488#M587257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just re-read your original and see that you already have several expressions and have pivoted them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately you can't pivot individual expressions - you have to do them all.&amp;nbsp; But you can still use my expression, just one for each calculation and then you have the growth figures under each of the other expressions rather than to the side.&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 11:38:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293488#M587257</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2011-05-12T11:38:52Z</dc:date>
    </item>
    <item>
      <title>how can i create this pivot?</title>
      <link>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293489#M587259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i solved this with reading the source data with a CROSSTABLE function. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 14:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-can-i-create-this-pivot/m-p/293489#M587259</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2011-05-12T14:27:00Z</dc:date>
    </item>
  </channel>
</rss>

