<?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 temp table rows to columns in qlikview script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555313#M743857</link>
    <description>&lt;PRE&gt;123:
LOAD * INLINE [
    Empname, Organisation, flag
    ABC, Sumo, 1
    ABC, Tata, 2
    XYZ, Sofeti, 1
    XYZ, Tata, 2
];


124:
Load Empname,Organisation as Organisation1  Resident 123 where flag=1;

125:
Load Empname,Organisation as Organisation2 Resident 123 where flag=2;

126:
Load Distinct Empname Resident 123;

Left Join(126)
Load * Resident 124;


Left Join(126)
Load * Resident 125;&lt;BR /&gt;&lt;BR /&gt;Drop Table 123,124,125;&lt;/PRE&gt;&lt;P&gt;Try the above code&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 11:10:42 GMT</pubDate>
    <dc:creator>techvarun</dc:creator>
    <dc:date>2019-03-12T11:10:42Z</dc:date>
    <item>
      <title>Transpose temp table rows to columns in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555200#M743854</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;I am really new to Qlikview and trying to work out how I can transpose rows into columns.&lt;BR /&gt;&lt;BR /&gt;My data looks like this&lt;BR /&gt;&lt;BR /&gt;Empname Organisation flag&lt;BR /&gt;ABC Sumo 1&lt;BR /&gt;ABC Tata 2&lt;BR /&gt;XYZ Sofeti 1&lt;BR /&gt;XYZ Tata 2&lt;BR /&gt;&lt;BR /&gt;And I want my result to look like&lt;BR /&gt;&lt;BR /&gt;Empname Organisation1 Organisation2&lt;BR /&gt;ABC Sumo Tata&lt;BR /&gt;XYZ Sofeti Tata&lt;BR /&gt;&lt;BR /&gt;I am not concerned about the flag column. This data is already in qlikview which is in a temptable. So I cannot use cross load. Please, any help is much appreciate.</description>
      <pubDate>Sat, 16 Nov 2024 21:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555200#M743854</guid>
      <dc:creator>praveenman54</dc:creator>
      <dc:date>2024-11-16T21:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose temp table rows to columns in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555207#M743855</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;if the data is already in qv, can't use binary ?&lt;/P&gt;&lt;P&gt;in that case, you load the data in a new .qvw, in which you could use cross load&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555207#M743855</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2019-03-12T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose temp table rows to columns in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555268#M743856</link>
      <description>I suggest using Pivot or Straight tables.&lt;BR /&gt;Add Dimension Empname.&lt;BR /&gt;Add Expression Concat(Organization, ', ').</description>
      <pubDate>Tue, 12 Mar 2019 10:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555268#M743856</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-03-12T10:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose temp table rows to columns in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555313#M743857</link>
      <description>&lt;PRE&gt;123:
LOAD * INLINE [
    Empname, Organisation, flag
    ABC, Sumo, 1
    ABC, Tata, 2
    XYZ, Sofeti, 1
    XYZ, Tata, 2
];


124:
Load Empname,Organisation as Organisation1  Resident 123 where flag=1;

125:
Load Empname,Organisation as Organisation2 Resident 123 where flag=2;

126:
Load Distinct Empname Resident 123;

Left Join(126)
Load * Resident 124;


Left Join(126)
Load * Resident 125;&lt;BR /&gt;&lt;BR /&gt;Drop Table 123,124,125;&lt;/PRE&gt;&lt;P&gt;Try the above code&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 11:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555313#M743857</guid>
      <dc:creator>techvarun</dc:creator>
      <dc:date>2019-03-12T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose temp table rows to columns in qlikview script</title>
      <link>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555840#M743858</link>
      <description>Thanks Varun. It worked for me.</description>
      <pubDate>Wed, 13 Mar 2019 09:37:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Transpose-temp-table-rows-to-columns-in-qlikview-script/m-p/1555840#M743858</guid>
      <dc:creator>praveenman54</dc:creator>
      <dc:date>2019-03-13T09:37:26Z</dc:date>
    </item>
  </channel>
</rss>

