<?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: add column while loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280790#M710617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for and lets me have all the (not any more) identical rows&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I tried to apply this to a crosstable in two ways and both don't work;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Crosstable( Vraagnummer, Antwoorden ) LOAD Date(Datum) as Datum, 'ANTW'&amp;amp;RecNo() as AntwoordID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (several columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM...... table location etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Crosstable( Vraagnummer, Antwoorden,&amp;nbsp; 'ANTW'&amp;amp;RecNo() as AntwoordID ) LOAD Date(Datum) as Datum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (several columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM...... table location etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make a table with a column 'AntwoordID', 'Datum', 'Vraagnummer' and a (crosstable)column 'Antwoorden'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jun 2011 12:28:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-11T12:28:35Z</dc:date>
    <item>
      <title>add column while loading</title>
      <link>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280788#M710612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started working with Qlikview and do have a simple table (three columns) to load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if there is a way to do this, but that's why I ask for you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table I use has rows which are identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I need to be able to have all rows (including identical rows) and want to link this table to another table (with the same amounth of rows offcourse).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I thought to add a column with an ID. There is going to be added once in a while a few thousands of rows so I don't want to do this by hand and don't want to have to lookup which ID's are used and which aren't. Thus I prefer to add a column with an automaticaly generated ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the solution I am looking for looks very much like this: &lt;A _jive_internal="true" href="https://community.qlik.com/message/63485#63485"&gt;http://community.qlik.com/message/63485#63485&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope someone can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 19:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280788#M710612</guid>
      <dc:creator />
      <dc:date>2011-06-10T19:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: add column while loading</title>
      <link>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280789#M710614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;How about using &lt;STRONG&gt;RecNo() &lt;/STRONG&gt; function in the load script and alias the column name. Please find the explanation below...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;RecNo( )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Returns an integer for the number of the currently read row of the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;input table. The first record is number 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: trebuchet ms,geneva;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: trebuchet ms,geneva;"&gt;DV&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2011 20:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280789#M710614</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-10T20:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: add column while loading</title>
      <link>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280790#M710617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks DV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I was looking for and lets me have all the (not any more) identical rows&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I tried to apply this to a crosstable in two ways and both don't work;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Crosstable( Vraagnummer, Antwoorden ) LOAD Date(Datum) as Datum, 'ANTW'&amp;amp;RecNo() as AntwoordID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (several columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM...... table location etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Crosstable( Vraagnummer, Antwoorden,&amp;nbsp; 'ANTW'&amp;amp;RecNo() as AntwoordID ) LOAD Date(Datum) as Datum,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (several columns)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM...... table location etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I make a table with a column 'AntwoordID', 'Datum', 'Vraagnummer' and a (crosstable)column 'Antwoorden'?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2011 12:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280790#M710617</guid>
      <dc:creator />
      <dc:date>2011-06-11T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: add column while loading</title>
      <link>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280791#M710618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome mate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would recommend you to use the resident load or preceeding load.&lt;/P&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;Cheers - DV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2011 17:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/add-column-while-loading/m-p/280791#M710618</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-06-11T17:48:12Z</dc:date>
    </item>
  </channel>
</rss>

