<?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 Table transformation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866808#M1017241</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;I figured out how to do simple transformations and rotations in QlikView but now I came across an excel "table" with both vertical and horizontal headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH rowspan="2" style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;X&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH rowspan="2" style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Y&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I need to transform the table in something useful that matches my data model: (never mind the sorting)&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;D&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&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;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&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;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&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;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the two last column headers A,B need to become values in a new column D. And the vertical headers need to become column headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not even sure if QlikView can handle such a transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alyson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 12:01:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T12:01:46Z</dc:date>
    <item>
      <title>Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866808#M1017241</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;I figured out how to do simple transformations and rotations in QlikView but now I came across an excel "table" with both vertical and horizontal headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;" valign="middle"&gt;&lt;STRONG&gt;B&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH rowspan="2" style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;X&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH rowspan="2" style="padding: 2px; text-align: center; color: #ffffff; background-color: #6690bc;"&gt;Y&lt;/TH&gt;&lt;TD style="padding: 2px;"&gt;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px; text-align: left; color: #575757; font-family: arial,helvetica,sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I need to transform the table in something useful that matches my data model: (never mind the sorting)&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;D&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Y&lt;/STRONG&gt;&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;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&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;France&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&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;Ireland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;40&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the two last column headers A,B need to become values in a new column D. And the vertical headers need to become column headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not even sure if QlikView can handle such a transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alyson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866808#M1017241</guid>
      <dc:creator />
      <dc:date>2015-04-07T12:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866809#M1017242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alyson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would do this use a Cross Table load, check out the Qlikview Reference Manual, there's an example similar to yours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866809#M1017242</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-07T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866810#M1017244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think pivot/cross table is the soltuon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load ur data as it's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select chart type as pivot table and try to move ur objects rows as columns ans reversal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866810#M1017244</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-07T12:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866811#M1017245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(D, Data, 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD F1, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Country, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2003" data-containertype="14" data-objectid="159077" data-objecttype="1" href="https://community.qlik.com/thread/159077"&gt;https://community.qlik.com/thread/159077&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Generic LOAD D,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Country,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; F1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Also attaching the application (PFA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866811#M1017245</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-07T12:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866812#M1017246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure why you would want to do this but here is a sample that uses crosstable to turn the "A" and "B" columns into dimension rows and then iterates over the original attribute containing "X" and "Y" to repivot by the original dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Produce the crosstable load&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14284095959608560" jivemacro_uid="_14284095959608560" modifiedtitle="true"&gt;
&lt;P&gt;//The following statement will produce 1 row for each "data column"&lt;/P&gt;
&lt;P&gt;//the attribute columns are defined by the third parameter of the&lt;/P&gt;
&lt;P&gt;//crosstable statement in this case there are two attributes.&lt;/P&gt;
&lt;P&gt;OriginalData:&lt;/P&gt;
&lt;P&gt;CrossTable('NewAttribute','DataValue',2)&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;Attribute1,Country,A,B&lt;/P&gt;
&lt;P&gt;X,France,10,20&lt;/P&gt;
&lt;P&gt;X,Ireland,30,40&lt;/P&gt;
&lt;P&gt;Y,France,50,60&lt;/P&gt;
&lt;P&gt;Y,Ireland,70,80&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iterate over the field&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14284099136937387 jive_text_macro" jivemacro_uid="_14284099136937387" modifiedtitle="true"&gt;
&lt;P&gt;Let vAttrCount = FieldValueCount('Attribute1');&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;For i=1 to vAttrCount&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Let vAttr = FieldValue('Attribute1',$(i));&lt;/P&gt;
&lt;P&gt;&amp;nbsp; //Test to see if the table exists if no then create it else perform a join(Full Outer)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If isnull(TableNumber('Final')) then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Final:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; NewAttribute,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DataValue as [$(vAttr)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Resident OriginalData&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Where Attribute1 = '$(vAttr)';&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Join(Final)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Load&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Country,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; NewAttribute,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; DataValue as [$(vAttr)]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Resident OriginalData&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Where Attribute1 = '$(vAttr)';&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ENDIF&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Next&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//dropping original table to avoid invalid associations&lt;/P&gt;
&lt;P&gt;Drop table OriginalData;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866812#M1017246</guid>
      <dc:creator>chriscammers</dc:creator>
      <dc:date>2015-04-07T12:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Table transformation</title>
      <link>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866813#M1017248</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;Just try by dragging and dropping the first column of your pivot table&amp;nbsp; to the other orientation and the place where you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Priyantha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Table-transformation/m-p/866813#M1017248</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:11:06Z</dc:date>
    </item>
  </channel>
</rss>

