<?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 Pivoting name-value pairs into columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175654#M43995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a quick and dirty solution.&lt;/P&gt;&lt;P&gt;This could probably be done in a loop as well to automate it.&lt;/P&gt;&lt;P&gt;Maybe someone knows of a function that can do this automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;RAW:&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Key, Field, Value&lt;BR /&gt; 1, Name, Eric&lt;BR /&gt; 1, State, California&lt;BR /&gt; 1, Job, Programmer&lt;BR /&gt; 2, Name, Pete&lt;BR /&gt; 2, State, California&lt;BR /&gt; 2, Job, Manager&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COOKED:&lt;BR /&gt;&lt;BR /&gt;load Key, Value as Name resident RAW where Field = 'Name';&lt;BR /&gt;join&lt;BR /&gt;load Key, Value as State resident RAW where Field = 'State';&lt;BR /&gt;join&lt;BR /&gt;load Key, Value as Job resident RAW where Field = 'Job';&lt;BR /&gt;&lt;BR /&gt;drop table RAW;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Mar 2010 02:09:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-12T02:09:58Z</dc:date>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175649#M43990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys. I've got a data set with 3 columns: ID, Field, and Value. I want to pivot the table so the columns are the values of Field with the corresponding Values in rows. Does this make sense? Let me know if you have any ideas. Thanks!&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 00:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175649#M43990</guid>
      <dc:creator />
      <dc:date>2010-03-11T00:06:07Z</dc:date>
    </item>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175650#M43991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this helps&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/18077.aspx"&gt;http://community.qlik.com/forums/t/18077.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u need to do is select a column by clicking on the header of the column &amp;amp; try dragging it a blue arrow will appear &amp;amp; try putting it horizontally . so the columns will get converted to rows.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/3630.1.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/3630.1.bmp" /&gt;&lt;/A&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/4532.2.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/4532.2.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 05:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175650#M43991</guid>
      <dc:creator>amars</dc:creator>
      <dc:date>2010-03-11T05:57:10Z</dc:date>
    </item>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175651#M43992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I'm not trying to do this in a chart. I want to do it in the script so I actually have columns I can pivot around. So for instance, if my table looks like this:&lt;/P&gt;&lt;P&gt;[ID | Field | Value]&lt;/P&gt;&lt;P&gt;1 | Name | Eric&lt;/P&gt;&lt;P&gt;1 | State | California&lt;/P&gt;&lt;P&gt;1 | Job | Programmer&lt;/P&gt;&lt;P&gt;2 | Name | Mark&lt;/P&gt;&lt;P&gt;2 | State | California&lt;/P&gt;&lt;P&gt;2 | Job | Manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the resulting table to look like this:&lt;/P&gt;&lt;P&gt;[ID | Name | State | Job]&lt;/P&gt;&lt;P&gt;1 | Eric | California | Programmer&lt;/P&gt;&lt;P&gt;2 | Mark | California | Manager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 23:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175651#M43992</guid>
      <dc:creator />
      <dc:date>2010-03-11T23:43:46Z</dc:date>
    </item>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175652#M43993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have a look at the crosstable function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 23:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175652#M43993</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2010-03-11T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175653#M43994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using crosstable, but it doesn't seem to do the right thing. My data is in the form of name value pairs, where one column contains what should be the field name, and the next column contains the value. The crosstable function would do the opposite of what I want, basically if I had a table with regular columns, the crosstable function would turn it into the format that I have now. Is there another way to transform name-value pairs?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 01:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175653#M43994</guid>
      <dc:creator />
      <dc:date>2010-03-12T01:29:42Z</dc:date>
    </item>
    <item>
      <title>Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175654#M43995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a quick and dirty solution.&lt;/P&gt;&lt;P&gt;This could probably be done in a loop as well to automate it.&lt;/P&gt;&lt;P&gt;Maybe someone knows of a function that can do this automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;RAW:&lt;BR /&gt;&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt; Key, Field, Value&lt;BR /&gt; 1, Name, Eric&lt;BR /&gt; 1, State, California&lt;BR /&gt; 1, Job, Programmer&lt;BR /&gt; 2, Name, Pete&lt;BR /&gt; 2, State, California&lt;BR /&gt; 2, Job, Manager&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;COOKED:&lt;BR /&gt;&lt;BR /&gt;load Key, Value as Name resident RAW where Field = 'Name';&lt;BR /&gt;join&lt;BR /&gt;load Key, Value as State resident RAW where Field = 'State';&lt;BR /&gt;join&lt;BR /&gt;load Key, Value as Job resident RAW where Field = 'Job';&lt;BR /&gt;&lt;BR /&gt;drop table RAW;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 02:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175654#M43995</guid>
      <dc:creator />
      <dc:date>2010-03-12T02:09:58Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Pivoting name-value pairs into columns</title>
      <link>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175655#M43996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you test a 'Generic Load'&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 08:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivoting-name-value-pairs-into-columns/m-p/175655#M43996</guid>
      <dc:creator>fredericmante</dc:creator>
      <dc:date>2010-03-12T08:28:20Z</dc:date>
    </item>
  </channel>
</rss>

