<?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: Transpose challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060265#M354985</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my suggestion for two approaches that might work for you with a dynamic number of attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-01-23 #1.PNG" class="jive-image image-1" src="/legacyfs/online/112373_2016-01-23 #1.PNG" style="height: 297px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-01-23 #2.PNG" class="jive-image image-2" src="/legacyfs/online/112374_2016-01-23 #2.PNG" style="height: 667px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jan 2016 15:17:45 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2016-01-23T15:17:45Z</dc:date>
    <item>
      <title>Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060258#M354978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I have a big line of inline data which I have to divide it into multiple pieces. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a dummy example of my problem. Imagine I have a table like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 116px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" height="20" width="116"&gt;Customer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;James Bond&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Spy&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Connect&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Silvester Stallone&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Boxer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Connect&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Michael Jackson&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Singer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;Connect&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;&lt;P&gt;…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;There's a bunch of customers, sepparated with the word "Connect", and I'm trying to divide the Customers, with no exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My desired result would be :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID : 1&lt;/P&gt;&lt;P&gt;Customer Name : James Bond&lt;/P&gt;&lt;P&gt;Customer Profession : Spy&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ID : 2&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Customer Name : &lt;SPAN style="font-size: 13.3333px;"&gt;Silvester Stallone&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Customer Profession : Boxer&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody knows how can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 12:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060258#M354978</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2016-01-23T12:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060259#M354979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14535529764615552" jivemacro_uid="_14535529764615552"&gt;
&lt;P&gt;INPUT:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;Customer&lt;/P&gt;
&lt;P&gt;James Bond&lt;/P&gt;
&lt;P&gt;Spy&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Silvester Stallone&lt;/P&gt;
&lt;P&gt;Boxer&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Michael Jackson&lt;/P&gt;
&lt;P&gt;Singer&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD RowNo() as ID, Customer as Name&lt;/P&gt;
&lt;P&gt;Resident INPUT &lt;/P&gt;
&lt;P&gt;WHERE Mod(Recno(),3)=1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;JOIN&lt;/P&gt;
&lt;P&gt;LOAD RowNo() as ID, Customer as Profession&lt;/P&gt;
&lt;P&gt;Resident INPUT &lt;/P&gt;
&lt;P&gt;WHERE Mod(Recno(),3)=2;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 12:43:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060259#M354979</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-23T12:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060260#M354980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/swuehl"&gt;swuehl&lt;/A&gt; , it's nearly what I want, but the point is that the customer can have 2 rows, 3 rows, or even 4 rows, so the point is to separate it by a key word, in this case the rows containing the word "connect".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Marcel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 12:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060260#M354980</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2016-01-23T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060261#M354981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you know which row belongs to which attribute then?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 12:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060261#M354981</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-23T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060262#M354982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's just an example. It's dynamic, that's the difficulty, I have a table with one column where each "customer" can have N properties. The only point is that I know the key row to sepparate it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 12:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060262#M354982</guid>
      <dc:creator>marcel_olmo</dc:creator>
      <dc:date>2016-01-23T12:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060263#M354983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I fully understand how you assign your records to customer attributes like profession then, but maybe you can start with something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14535542105718394" jivemacro_uid="_14535542105718394"&gt;
&lt;P&gt;INPUT:&lt;/P&gt;
&lt;P&gt;LOAD Customer, RecNo, Autonumber(Recno(), RecNo) as FieldNo&lt;/P&gt;
&lt;P&gt;WHERE Customer &amp;lt;&amp;gt; 'Connect';&lt;/P&gt;
&lt;P&gt;LOAD Customer, Rangesum(Alt(Peek(RecNo), 1), -(previous(Customer)='Connect')) as RecNo;&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;Customer&lt;/P&gt;
&lt;P&gt;James Bond&lt;/P&gt;
&lt;P&gt;Spy&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Silvester Stallone&lt;/P&gt;
&lt;P&gt;Boxer&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Michael Jackson&lt;/P&gt;
&lt;P&gt;Singer&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD RecNo, Customer as Name&lt;/P&gt;
&lt;P&gt;Resident INPUT &lt;/P&gt;
&lt;P&gt;WHERE FieldNo=1;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;JOIN&lt;/P&gt;
&lt;P&gt;LOAD RecNo, Customer as Profession&lt;/P&gt;
&lt;P&gt;Resident INPUT &lt;/P&gt;
&lt;P&gt;WHERE FieldNo=2;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 13:03:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060263#M354983</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-23T13:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060264#M354984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;I've added an extra field for Nationality but omitted a value for for Sly Stallone. This should work for an arbitrary number of fields as long as the the fields are input in the same order for all records. This means that nulls might need to be inserted if a field is empty but the next one in the same record is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;If(RecNo()=1,1,&lt;/P&gt;&lt;P&gt;if(Customer = 'Connect',Peek(CustID)+1,Peek(CustID))) as CustID,&lt;/P&gt;&lt;P&gt;If(RecNo()=1,1,&lt;/P&gt;&lt;P&gt;if(Customer = 'Connect',0,Peek(FieldID)+1)) as FieldID,&lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; James Bond&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Spy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; British&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Silvester Stallone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boxer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Michael Jackson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; American&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;Load * Resident Data Where FieldID &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Data;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic Load&lt;/P&gt;&lt;P&gt;* Resident NewData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop Table NewData;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generic load gives you a data model like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Generic.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112369_Generic.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And this is a simple tablebox&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;CustID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;James Bond&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Spy&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;British&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Silvester Stallone&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Boxer&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Michael Jackson&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Singer&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;American&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A mapping table in the load can rename the fields if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 14:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060264#M354984</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-01-23T14:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060265#M354985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my suggestion for two approaches that might work for you with a dynamic number of attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-01-23 #1.PNG" class="jive-image image-1" src="/legacyfs/online/112373_2016-01-23 #1.PNG" style="height: 297px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2016-01-23 #2.PNG" class="jive-image image-2" src="/legacyfs/online/112374_2016-01-23 #2.PNG" style="height: 667px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jan 2016 15:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060265#M354985</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-01-23T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060266#M354986</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;another solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_201174_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/112492_QlikCommunity_Thread_201174_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14537640603447087 jive_text_macro" jivemacro_uid="_14537640603447087"&gt;
&lt;P&gt;mapProperties:&lt;/P&gt;
&lt;P&gt;Mapping&lt;/P&gt;
&lt;P&gt;LOAD AutoNumber(Property), * Inline [&lt;/P&gt;
&lt;P&gt;Property&lt;/P&gt;
&lt;P&gt;Name&lt;/P&gt;
&lt;P&gt;Profession&lt;/P&gt;
&lt;P&gt;Favorite Beverage&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabTemp:&lt;/P&gt;
&lt;P&gt;LOAD CustomID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('mapProperties',AutoNumber(If(Customer&amp;lt;&amp;gt;'Connect',RecNo()),CustomID)) as Property,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer;&lt;/P&gt;
&lt;P&gt;LOAD *, Alt(Peek(CustomID),1)-(Customer='Connect') as CustomID&lt;/P&gt;
&lt;P&gt;Inline [&lt;/P&gt;
&lt;P&gt;Customer&lt;/P&gt;
&lt;P&gt;James Bond&lt;/P&gt;
&lt;P&gt;Spy&lt;/P&gt;
&lt;P&gt;"Vodka Martini (shaken, not stirred)"&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Rocky Balboa&lt;/P&gt;
&lt;P&gt;Boxer&lt;/P&gt;
&lt;P&gt;Egg Shake&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Michael Jackson&lt;/P&gt;
&lt;P&gt;Singer&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;John Doe&lt;/P&gt;
&lt;P&gt;Connect&lt;/P&gt;
&lt;P&gt;Jane Doe&lt;/P&gt;
&lt;P&gt;unknown&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCustomers:&lt;/P&gt;
&lt;P&gt;Generic LOAD * Resident tabTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTemp;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 23:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060266#M354986</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-01-25T23:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060267#M354987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have a veritable "Forum Who's Who" answering this question! You probably don't need yet another answer, but here's my contribution. (I suppose it could choke on a very large amount of data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Raw:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD *, RecNo()as RecId INLINE [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Customer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; James Bond&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Spy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; British&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Silvester Stallone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boxer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Michael Jackson&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Singer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; American&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Customer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; SubField(aCustomer,'|',1 ) as Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; ,SubField(aCustomer,'|',2 ) as Profession&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; ,SubField(aCustomer,'|',3 ) as Nationality&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;WHERE len(aCustomer)&amp;gt;0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; SubField(Alldata, 'Connect|') as aCustomer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; concat(Customer, '|', RecId) &amp;amp; '|' as Alldata&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Raw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 01:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-challenge/m-p/1060267#M354987</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-01-26T01:03:33Z</dc:date>
    </item>
  </channel>
</rss>

