<?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 AW:Re: AW:Crosstable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157517#M32962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you could use above function in chart, see attachment&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jan 2011 14:01:24 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2011-01-07T14:01:24Z</dc:date>
    <item>
      <title>Crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157514#M32959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I it possible to pivot my data (by script) as the following example? On the left is the data, in the blue box is the desired format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 16:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157514#M32959</guid>
      <dc:creator />
      <dc:date>2011-01-06T16:21:25Z</dc:date>
    </item>
    <item>
      <title>AW:Crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157515#M32960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it's not just pivoting (or transposing) - it's also an aggregation.&lt;/P&gt;&lt;P&gt;I would do a script loop over the year and aggregate the fields YR-1, YR-2 and YR-3 with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD ID&lt;BR /&gt;, &amp;lt;the_loop_year&amp;gt; as YEAR&lt;BR /&gt;, sum(&amp;lt;Field&amp;gt;) as Amount, sum(if(YEAR=&amp;lt;the_loop_year&amp;gt;, Amount, Null()) as Amount&lt;BR /&gt;, sum(&amp;lt;Field&amp;gt;) as Amount, sum(if(YEAR=&amp;lt;the_loop_year&amp;gt; -1, Amount, Null()) as Amount_YR-1&lt;BR /&gt;, sum(&amp;lt;Field&amp;gt;) as Amount, sum(if(YEAR=&amp;lt;the_loop_year&amp;gt; -2, Amount, Null()) as Amount_YR-2&lt;BR /&gt;, sum(&amp;lt;Field&amp;gt;) as Amount, sum(if(YEAR=&amp;lt;the_loop_year&amp;gt; -3, Amount, Null()) as Amount_YR-3&lt;BR /&gt;from...&lt;BR /&gt;group by ID&lt;BR /&gt;where YEAR &amp;gt;= &amp;lt;the_loop_year&amp;gt; and YEAR &amp;lt;= &amp;lt;the_loop_year&amp;gt; -3;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;if this is a fixed amount of years.&lt;/P&gt;&lt;P&gt;- Raf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 16:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157515#M32960</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-01-06T16:34:00Z</dc:date>
    </item>
    <item>
      <title>AW:Crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157516#M32961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose i don''t have multiple values for each year so i dont need the aggregation. What is the best way to pivot/transpose the values?? is there a scipt function to do this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 13:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157516#M32961</guid>
      <dc:creator />
      <dc:date>2011-01-07T13:28:21Z</dc:date>
    </item>
    <item>
      <title>AW:Re: AW:Crosstable</title>
      <link>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157517#M32962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then you could use above function in chart, see attachment&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 14:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Crosstable/m-p/157517#M32962</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-01-07T14:01:24Z</dc:date>
    </item>
  </channel>
</rss>

