<?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 Load 'from_field' feature in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155366#M31654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have the sintax backwards&lt;/P&gt;&lt;P&gt;in the first load, you can read only fields from the second load, so in your case if VALUE_DER_TEST not exist in the&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;TEST123.CSV file, this will not work.&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;&lt;BR /&gt;PD. vc e brasileiro?&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 23:24:23 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2009-11-17T23:24:23Z</dc:date>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155362#M31650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;I'm confused about the newest Load 'from_field' on version 9.&lt;/P&gt;&lt;P&gt;Would someone else publish a mini QVW where we can see it in action, mostly explaining the concept ou reason underneath this new feature ?&lt;/P&gt;&lt;P&gt;On the other hand, many, many times I have a situation where I need to re-use a previously loaded field on a table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;USO:&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; LEFT(@1,1) AS CAMPUS_TC&lt;BR /&gt; ,LEFT(@1,5) AS NOME_TC&lt;BR /&gt; &lt;B&gt;,MID(@1,7,10) AS DATA_TC&lt;/B&gt;&lt;BR /&gt; ,MID(@1,18,8) AS HORA_TC&lt;BR /&gt; ,MID(@1,18,2) AS HH_HORA_TC&lt;BR /&gt; ,MID(@1,27,30) AS OPCAO_KEY&lt;BR /&gt; ,MID(@1,27,30) AS OPCAO_TC&lt;BR /&gt; ,MID(@1,27,30) &amp;amp; ' ' &amp;amp; LOOKUP('DESCRICAO','OPCAO_DESC',MID(@1,27,30),'DESCRICOES') AS DESCRICAO_TC&lt;BR /&gt; ,RECNO() AS RECNO_TC&lt;BR /&gt; ,IF&lt;B&gt;(MID(@1,7,10)&lt;/B&gt; &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,35,6),NULL()) AS CARTAO_DER_TC&lt;BR /&gt; ,IF(MID(@1,7,10) &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,42,1),NULL()) AS GRUPO_KEY&lt;BR /&gt; ,IF(MID(@1,7,10) &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,42,1) &amp;amp; '/' &amp;amp; MID(@1,35,6) ,NULL()) AS GRUPOCAR_DER_TC&lt;BR /&gt;RESIDENT TEST WHERE NOT EXISTS(OPCAO_IGNORAR,MID(@1,27,30));&lt;BR /&gt;[/CODE]&lt;BR /&gt;Take a look at the expression &lt;B&gt;MID(@1,7,10)&lt;/B&gt; , It's repeated several times on the load statement.&lt;BR /&gt;I just wanna be able to re-use a previously loaded field on the SAME load statement. On the example I wanna re-use DATA_TC again later on the script, without having to re-aply the expression to have the field content again.&lt;BR /&gt;That's it !&lt;BR /&gt;Thanks for your help !&lt;BR /&gt; &amp;lt;/body&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155362#M31650</guid>
      <dc:creator />
      <dc:date>2009-11-17T22:51:40Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155363#M31651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adriano,&lt;/P&gt;&lt;P&gt;It seems that from_field may help you with that re-use of fields. "from_field" is used when the field and the table were in a previously loaded file. Take into account, and please correct me if I'm wrong, that once you have loaded and not dropped a table into memory, you can use their field names as often s you want, which means, i.e.: that if you now make a new tab, and you want to let's say concatenate DATA_TC with a new field, it would be as easy as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;,NEW_FIELD &amp;amp; "$$" &amp;amp; DATA_TC AS MODIFIED_DATA_TC&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I will upload in a few minutes one simple example of from_field clause.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155363#M31651</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-11-17T23:00:50Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155364#M31652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, if you want to "reuse" a calc field, put a load previous to the main load, something like this&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;USO:&lt;BR /&gt; Load&lt;BR /&gt; *,&lt;BR /&gt; IF(DATA_TC &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,35,6),NULL()) AS CARTAO_DER_TC&lt;BR /&gt;;&lt;BR /&gt; LOAD&lt;BR /&gt; LEFT(@1,1) AS CAMPUS_TC ,&lt;BR /&gt;LEFT(@1,5) AS NOME_TC ,&lt;BR /&gt;MID(@1,7,10) AS DATA_TC ,&lt;BR /&gt;MID(@1,18,8) AS HORA_TC ,&lt;BR /&gt;MID(@1,18,2) AS HH_HORA_TC ,&lt;BR /&gt;MID(@1,27,30) AS OPCAO_KEY ,&lt;BR /&gt;MID(@1,27,30) AS OPCAO_TC ,&lt;BR /&gt;MID(@1,27,30) &amp;amp; ' ' &amp;amp; LOOKUP('DESCRICAO','OPCAO_DESC',MID(@1,27,30),'DESCRICOES') AS DESCRICAO_TC ,&lt;BR /&gt;RECNO() AS RECNO_TC ,&lt;BR /&gt;//IF(MID(@1,7,10) &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,35,6),NULL()) AS CARTAO_DER_TC //this will be calculated in the previous load,&lt;BR /&gt;IF(MID(@1,7,10) &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,42,1),NULL()) AS GRUPO_KEY ,&lt;BR /&gt;IF(MID(@1,7,10) &amp;gt; MAKEDATE(2008,11,18) AND MID(@1,27,07)='TC06699',MID(@1,42,1) &amp;amp; '/' &amp;amp; MID(@1,35,6) ,NULL()) AS GRUPOCAR_DER_TC&lt;BR /&gt; RESIDENT TEST WHERE NOT EXISTS(OPCAO_IGNORAR,MID(@1,27,30));&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RGDS and good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155364#M31652</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-11-17T23:06:16Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155365#M31653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;But, I want to re-use 'CARTAO_DER_TC' on the second part of the LOAD statement.&lt;/P&gt;&lt;P&gt;Guess I can not do that.&lt;/P&gt;&lt;P&gt;Check this simple example . I want to 're-use' the VALUE_DER_TEST field :&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;TEST:&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt; ,IF(VALUE_TEST&amp;gt;100,'GORDO','MAGRO') AS VALUE_DER_TEST&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt; ,IF(VALUE_DER_TEST='GORDO','GRANDE','PEQUENO') AS TAMANHO_DER_TEST&lt;BR /&gt;FROM C:\TEST\QV\TEST123.CSV (ANSI, TXT, DELIMITER IS ';', EMBEDDED LABELS, NO QUOTES);&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It is not accepted...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155365#M31653</guid>
      <dc:creator />
      <dc:date>2009-11-17T23:18:10Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155366#M31654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have the sintax backwards&lt;/P&gt;&lt;P&gt;in the first load, you can read only fields from the second load, so in your case if VALUE_DER_TEST not exist in the&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;TEST123.CSV file, this will not work.&lt;BR /&gt;&lt;BR /&gt;rgds,&lt;BR /&gt;&lt;BR /&gt;PD. vc e brasileiro?&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155366#M31654</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-11-17T23:24:23Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155367#M31655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;TestTable:&lt;BR /&gt;Directory;&lt;BR /&gt;LOAD units,&lt;BR /&gt; tens,&lt;BR /&gt; hundreds&lt;BR /&gt;FROM&lt;BR /&gt;table.csv&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', no quotes);&lt;BR /&gt;&lt;BR /&gt;LetterTable:&lt;BR /&gt;Directory;&lt;BR /&gt;LOAD [upper],&lt;BR /&gt; [lower] &amp;amp; [upper] AS Combination&lt;B&gt;//using a previously loaded field&lt;/B&gt;&lt;BR /&gt;FROM&lt;BR /&gt;table2.csv&lt;BR /&gt;&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', no quotes);&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;On the other hand, I would recommend you to use inline or resident tables for those purposes.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155367#M31655</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2009-11-17T23:38:28Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155368#M31656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK !&lt;/P&gt;&lt;P&gt;Now I understood !&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;PD:&lt;/P&gt;&lt;P&gt;Sim , sou brasileiro. Nascido em São Paulo mas atualmente moro e trabalho no interior do estado, em Piracicaba&lt;/P&gt;&lt;P&gt;(http://maps.google.com.br/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=piracicaba&amp;amp;sll=-14.179186,-50.449219&amp;amp;sspn=112.084709,158.027344&amp;amp;ie=UTF8&amp;amp;hq=&amp;amp;hnear=Piracicaba+-+SP&amp;amp;z=11)&lt;/P&gt;&lt;P&gt;Trabalho na UNIMEP (Universidade Metodista de Piracicaba).&lt;/P&gt;&lt;P&gt;E vc ? Fala Português ? É de onde ?&lt;/P&gt;&lt;P&gt;Muito grato pela ajuda, embora o tópico original não tenha ainda sido respondido !&lt;/P&gt;&lt;P&gt;Abraço !&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:39:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155368#M31656</guid>
      <dc:creator />
      <dc:date>2009-11-17T23:39:44Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155369#M31657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Beleza!, eu sou do Chile, e eu falo um pouco portugues.&lt;/P&gt;&lt;P&gt;Abraço&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155369#M31657</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2009-11-17T23:46:20Z</dc:date>
    </item>
    <item>
      <title>Load 'from_field' feature</title>
      <link>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155370#M31658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah sim, muito bom !&lt;/P&gt;&lt;P&gt;Um pouco que sei do Chile:&lt;/P&gt;&lt;P&gt;- Bastante desenvolvido&lt;/P&gt;&lt;P&gt;- Grande produtor de cobre&lt;/P&gt;&lt;P&gt;- No sul do país teve colonização alemâ&lt;/P&gt;&lt;P&gt;- Cidades têm estilo europeu&lt;/P&gt;&lt;P&gt;- Baixíssimo índice de criiminalidade&lt;/P&gt;&lt;P&gt;- Fez a privatização do seu sistema de Previdência&lt;/P&gt;&lt;P&gt;- Tem uma mulher como presidente !&lt;/P&gt;&lt;P&gt;- Tem crescido bastante, economia bem desenvolvida&lt;/P&gt;&lt;P&gt;- Clima frio, claro ! rs&lt;/P&gt;&lt;P&gt;É isso !&lt;/P&gt;&lt;P&gt;Grande abraço !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 00:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-from-field-feature/m-p/155370#M31658</guid>
      <dc:creator />
      <dc:date>2009-11-18T00:02:45Z</dc:date>
    </item>
  </channel>
</rss>

