<?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: CrossTable Scripting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589409#M685034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="375"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" width="39"&gt;Customer&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="39"&gt;Brand&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="39"&gt;Country&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="56"&gt;Jan &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="57"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="61"&gt;Mar &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="84"&gt;Apr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;133&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;120&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;140&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;98&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;133&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;165&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider that you have table like above and you need to get table as below, we need to use crosstable functionality in QlikView Script...&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="236"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="61"&gt;Customer&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="39"&gt;Brand&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="56"&gt;Country&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="44"&gt;Month&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="36"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;165&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;CrossTable(Month, Sales, 3)&lt;/P&gt;&lt;P&gt;LOAD Customer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brand, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr&lt;/P&gt;&lt;P&gt;FROM TableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 3 is for First Three Dimensions which are&amp;nbsp; Customer, Brand and Country&lt;/P&gt;&lt;P&gt;If we have only two Dimensions from above three we need to use 2 instead of 3. &lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Feb 2014 17:59:47 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-02-14T17:59:47Z</dc:date>
    <item>
      <title>CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589405#M685024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Buenos dias &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Por favor su ayuda, al momento de elaborar el script me sale un error de referencia en los campos (mas de 2) que utilizo como referencia cruzada.&amp;nbsp; O la sentencia esta bn desarrollada&lt;/P&gt;&lt;P&gt;Ejemplo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//D3LP&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;Crosstable (v1, v2, ...) LOAD&amp;nbsp; &lt;/P&gt;&lt;P&gt;enero, &lt;/P&gt;&lt;P&gt;febrero, &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;datos.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;Developer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 17:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589405#M685024</guid>
      <dc:creator />
      <dc:date>2014-02-14T17:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589406#M685026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you load your full script...&lt;/P&gt;&lt;P&gt;Crosstable should be like below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrossTable(Month,Sales, 2)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ..&lt;/P&gt;&lt;P&gt;From TableName;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 17:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589406#M685026</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-14T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589407#M685029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Directory;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Crosstable (v1, v2) LOAD &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Dummy' as Dummy&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;enero,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;febrero,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;...&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;datos.qvd&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(qvd);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Drop Field Dummy;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 17:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589407#M685029</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-14T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589408#M685032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No entiendo esta parte &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;cruzado (Mes, Ventas, 2).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;En el primer valor de Mes, se tiene el valor de los campos de dimension ?? si son mas dos que se hace (Yo tengo 4). El valor de ventas es el nombre de la referencia de la tabla Cruzada ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;Saludos,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;David&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #c9d7f1;"&gt;Developer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 17:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589408#M685032</guid>
      <dc:creator />
      <dc:date>2014-02-14T17:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589409#M685034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="375"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl69" height="17" width="39"&gt;Customer&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="39"&gt;Brand&lt;/TD&gt;&lt;TD class="xl69" style="border-left: none;" width="39"&gt;Country&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="56"&gt;Jan &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="57"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="61"&gt;Mar &lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-left: none;" width="84"&gt;Apr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;133&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;120&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;140&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;98&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;133&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;600&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;300&lt;/TD&gt;&lt;TD align="right" class="xl68" style="border-top: none; border-left: none;"&gt;165&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider that you have table like above and you need to get table as below, we need to use crosstable functionality in QlikView Script...&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="236"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="61"&gt;Customer&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="39"&gt;Brand&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="56"&gt;Country&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="44"&gt;Month&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="36"&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none; border-left: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Feb&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;98&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;133&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Mar&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;AA&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;A&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Germany&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;BB&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;B&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;CC&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;C&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;160&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;DD&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;D&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;France&lt;/TD&gt;&lt;TD class="xl70"&gt;Apr&lt;/TD&gt;&lt;TD class="xl69" style="border-top: none;"&gt;165&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;CrossTable(Month, Sales, 3)&lt;/P&gt;&lt;P&gt;LOAD Customer, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Brand, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr&lt;/P&gt;&lt;P&gt;FROM TableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here 3 is for First Three Dimensions which are&amp;nbsp; Customer, Brand and Country&lt;/P&gt;&lt;P&gt;If we have only two Dimensions from above three we need to use 2 instead of 3. &lt;/P&gt;&lt;P&gt;Hope this help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 17:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589409#M685034</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-14T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589410#M685036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hola,&lt;/P&gt;&lt;P&gt;Solo para agregar a lo que ya han dicho,&lt;/P&gt;&lt;P&gt;la sintaxis de Crosstable toma 3 parámetros:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;El nombre de los 2 campos nuevos que van a ser creados (En tu caso son mes y ventas)&lt;/LI&gt;&lt;LI&gt;El tercer parámetro indica el número de columnas empezando de izquierda a derecha que no van a ser cruzadas o transpuestas. Por eso al momento de hacer la carga de datos, debes acomodar primero los campos que no quieres que se crucen y después los que si.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;En tu ejemplo, las columnas con los nombres de los meses deben colocarse hasta el final y en &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;tu caso necesitas un campo dummy, tal como lo puso Gysbert,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;saludos&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 19:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589410#M685036</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-02-14T19:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589411#M685038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Muchas gracias a los dos. Todas las dudas quedaron aclaradas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos&lt;/P&gt;&lt;P&gt;David León&lt;/P&gt;&lt;P&gt;Developer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Feb 2014 20:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589411#M685038</guid>
      <dc:creator />
      <dc:date>2014-02-14T20:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: CrossTable Scripting</title>
      <link>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589412#M685040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear David,&lt;/P&gt;&lt;P&gt;If you question resolved, please close this thread by choosing correct or helpful answer.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Feb 2014 03:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CrossTable-Scripting/m-p/589412#M685040</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-15T03:43:07Z</dc:date>
    </item>
  </channel>
</rss>

