<?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: LOAD * and modify a certain field at the same time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342634#M702791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace the star * with the remaining field names and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 12:51:02 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2012-08-07T12:51:02Z</dc:date>
    <item>
      <title>LOAD * and modify a certain field at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342633#M702790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a neat way to LOAD * from a resident table and at the same time modify a certain field (without having to rename it)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_1344340487026860" jivemacro_uid="_1344340487026860"&gt;LOAD *, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(peek(InvoiceNo) = InvoiceNo, 'cancelled', InvoiceNo) as &lt;STRONG style="color: #008000;"&gt;InvoiceNo&lt;/STRONG&gt;&lt;BR /&gt;resident Invoices order by InvoiceNo asc, date desc)&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My attempt gives an error "Field names must be unique within table" ... which is obvious, as the field &lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;'InvoiceNo' &lt;/STRONG&gt;&lt;/SPAN&gt;already exists in the resident table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your ideas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342633#M702790</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2012-08-07T12:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD * and modify a certain field at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342634#M702791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace the star * with the remaining field names and it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342634#M702791</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T12:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD * and modify a certain field at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342635#M702792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestion!&lt;/P&gt;&lt;P&gt;There are about 30 remaining fields - and in terms of keeping my script lean and "easy-care" I would prefer the star * ... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 12:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342635#M702792</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2012-08-07T12:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD * and modify a certain field at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342636#M702793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well then inner join it with itself or use a different field name, drop the original and rename the different to the original. Otherwise,.. I dont know! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 13:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342636#M702793</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-07T13:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD * and modify a certain field at the same time</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342637#M702794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's how I handle it at the moment.&lt;/P&gt;&lt;P&gt;I was just asking myself if there was a shorter/neater solution. Thanks anyway!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 13:31:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-and-modify-a-certain-field-at-the-same-time/m-p/342637#M702794</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2012-08-08T13:31:23Z</dc:date>
    </item>
  </channel>
</rss>

