<?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: Problem with Select / Load - Column names transformed to column values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Select-Load-Column-names-transformed-to-column/m-p/597899#M678703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the CROSSTABLE LOAD prefix, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CROSSTABLE (Column, Value, 2 ) LOAD *; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;select Country, Month, Column1, Column2, ColumnN&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from mytable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 May 2014 18:46:04 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-05-05T18:46:04Z</dc:date>
    <item>
      <title>Problem with Select / Load - Column names transformed to column values</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Select-Load-Column-names-transformed-to-column/m-p/597898#M678702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if anybody could tell me if there is any way to solve the following problem. I have an SQL which looks like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select Country, Month, Column1, Column2, ColumnN &lt;/P&gt;&lt;P&gt;from mytable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like the result of this SQL to be "transformed" to fill a QlikView table which has the following format :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Country&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;Column_Name&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if the SQL produced the following result :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Germany, Jan2014, 10, 20, 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this would be placed in the QlikView table as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record 1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Germany&lt;/P&gt;&lt;P&gt;Jan2014&lt;/P&gt;&lt;P&gt;Column1&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Germany&lt;/P&gt;&lt;P&gt;Jan2014&lt;/P&gt;&lt;P&gt;Column2&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record 3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Germany,&lt;/P&gt;&lt;P&gt;Jan2014&lt;/P&gt;&lt;P&gt;ColumnN&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would be very gratefully for any ideas / suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 18:35:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Select-Load-Column-names-transformed-to-column/m-p/597898#M678702</guid>
      <dc:creator />
      <dc:date>2014-05-05T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Select / Load - Column names transformed to column values</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Select-Load-Column-names-transformed-to-column/m-p/597899#M678703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the CROSSTABLE LOAD prefix, something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CROSSTABLE (Column, Value, 2 ) LOAD *; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;select Country, Month, Column1, Column2, ColumnN&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;from mytable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 18:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Select-Load-Column-names-transformed-to-column/m-p/597899#M678703</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-05-05T18:46:04Z</dc:date>
    </item>
  </channel>
</rss>

