<?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: To drop specific fields in a table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935936#M646221</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;how can we manipulate(refer to) with fields generated in the dynamic table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Dec 2015 01:20:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-17T01:20:34Z</dc:date>
    <item>
      <title>To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935910#M646186</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 am having a table with field names as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[name] [invoice month] [invoice date] [invoice line] [category] [sub category] &lt;SPAN style="font-size: 13.3333px;"&gt; [invoice quantity]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to drop the fields that are starting with &lt;STRONG&gt;'invoice*' ???&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Actually i have more fields that i should drop them individually. &lt;/P&gt;&lt;P&gt;Any particular format to drop the fields??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935910#M646186</guid>
      <dc:creator />
      <dc:date>2015-12-15T17:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935911#M646187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&amp;nbsp; &lt;STRONG&gt; drop field fieldname;&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp; to drop the field completely&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;drop field fieldname from tablename&lt;/STRONG&gt; ;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to drop the field from just the named table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can list multiple fields in a list&amp;nbsp; &lt;STRONG&gt; drop field fieldA, fieldB, fieldC ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but be aware if any of the fields in the list is missing, then none of the fields are dropped. In this case I prefer to have 3 separate drop statements, that way if a field in missing, the others still will be dropped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not matter if you type&amp;nbsp;&amp;nbsp; drop field&amp;nbsp;&amp;nbsp;&amp;nbsp; or&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; drop fields&amp;nbsp; &lt;/STRONG&gt; they both work the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935911#M646187</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-12-15T17:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935912#M646188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think * will work. You can drop them individually like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Fields &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[invoice month], [invoice date], [invoice line], &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;[invoice quantity] From TableName;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Dec 2015 17:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935912#M646188</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-15T17:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935913#M646189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot write all the field names. I want do like wildmatch(Invoice*). I have so many fields that needs to be dropped. &lt;/P&gt;&lt;P&gt;Is there any way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 09:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935913#M646189</guid>
      <dc:creator />
      <dc:date>2015-12-16T09:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935914#M646192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot write all the fields because there are so many that needs to be dropped. Is there any other way to drop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 09:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935914#M646192</guid>
      <dc:creator />
      <dc:date>2015-12-16T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935915#M646193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The drop fields statement does not support wildcards, so you will need to list the individual fields&lt;/P&gt;&lt;P&gt;Can you exclude the fields from the initial load statements so they do not get loaded into your data model in the first place?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935915#M646193</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-12-16T10:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935916#M646196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try&lt;/P&gt;&lt;P&gt;load only those field which you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935916#M646196</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-12-16T10:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935917#M646198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To drop fields using wild card you can refer the below&lt;/P&gt;&lt;P&gt;qliktips.com/2009/10/removing-fields-with-wildcard.html&lt;/P&gt;&lt;P&gt;qlikviewaddict.com/2014/06/dropping-tables-using-wildcard.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explained with examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sivasankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935917#M646198</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-12-16T10:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935918#M646201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14502631132285787" jivemacro_uid="_14502631132285787"&gt;
&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;name, invoice month, invoice date, invoice line, category, sub category, invoice quantity&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;a,b,c,d,e,f,g&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DropFieldsTemp:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;CrossTable(Fields, Value)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD 1 as Temp,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DropFields:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LOAD Concat(Fields, ']|[') as ConcatDropList,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Count(Fields) as CountDropList&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Resident DropFieldsTemp&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Where WildMatch(Fields, 'Invoice *');&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DROP Table DropFieldsTemp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LET vDropCount = Peek('CountDropList');&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LET vDropConcat = Chr(39) &amp;amp; '[' &amp;amp; Peek('ConcatDropList') &amp;amp; ']' &amp;amp; Chr(39);&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;For i = 1 to $(vDropCount)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LET vField = SubField($(vDropConcat), '|', $(i)); &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; DROP Field $(vField) from Table;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DROP Table DropFields;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935918#M646201</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-16T10:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935919#M646204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = NoOfTables()-1 to 0 step -1&lt;/P&gt;&lt;P&gt;Let vTblName = TableName($(i));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Upper(left('$(vTblName)', 7)) = 'INVOICE' then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vDropTable = '[$(vTblName)]';&lt;/P&gt;&lt;P&gt;Drop Table $(vDropTable);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935919#M646204</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-16T10:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935920#M646205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think he wants to drop fields within a table and not the tables. I think what you are proposing is to dynamically drop tables. This is great solution, but might now work for Prashanth.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935920#M646205</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-12-16T10:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935921#M646206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;try like below&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Data:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD * Inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;InvoiceNo, InvoiceDate,InvoiceLine, Data,Name,Location&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,2,3,4 ];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for i=1 to NoOfFields('Data')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vName = FieldName($(i),'Data');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FieldNames:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD '$(vName)' as FieldName AutoGenerate(1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DeleteField:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD FieldName as FieldsTobeDeleted&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident FieldNames&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;where wildmatch(Lower(FieldName),'invoice*');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for i=1 to FieldValueCount('FieldsTobeDeleted')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vDeleteField = FieldValue('FieldsTobeDeleted',$(i));&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Field '$(vDeleteField)' From Data;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;next&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Tables FieldNames,DeleteField;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935921#M646206</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-16T10:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935922#M646207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops!&lt;/P&gt;&lt;P&gt;thanks Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 10:51:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935922#M646207</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-16T10:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935923#M646208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i = 0 to NoOfTables()-1&lt;/P&gt;&lt;P&gt;Let vTblName = TableName($(i));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For k = NoOfFields('$(vTblName)') to 1 step -1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vFieldName = FieldName($(k), '$(vTblName)');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if Upper(left('$(vFieldName)', 7)) = 'INVOICE' then&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vDropField = '[$(vFieldName)]';&lt;/P&gt;&lt;P&gt;&amp;nbsp; Drop Field $(vFieldName);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; NEXT k&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935923#M646208</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-16T11:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935924#M646209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working for fields with invoice.&lt;/P&gt;&lt;P&gt;Now I want to drop the fields other than &lt;STRONG&gt;Invoice&lt;/STRONG&gt;. I have tried with &amp;lt;&amp;gt; Invoice, but it throwing an error&amp;nbsp; as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;Did not find the field " " from the DROP FIELD statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935924#M646209</guid>
      <dc:creator />
      <dc:date>2015-12-16T11:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935925#M646210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working and now how can I drop the fields other than '&lt;STRONG&gt;Invoice&lt;/STRONG&gt;' ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935925#M646210</guid>
      <dc:creator />
      <dc:date>2015-12-16T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935926#M646211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&amp;nbsp; &lt;/P&gt;&lt;P&gt;LOAD * Inline [&amp;nbsp; &lt;/P&gt;&lt;P&gt;name, invoice month, invoice date, invoice line, category, sub category, invoice quantity&amp;nbsp; &lt;/P&gt;&lt;P&gt;a,b,c,d,e,f,g&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vFields = ;&lt;/P&gt;&lt;P&gt;For i = 0 to NoOfFields('Table')&lt;/P&gt;&lt;P&gt; If(not WildMatch(FieldName($(i), 'Table'), '*invoice*')) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; vFields = '['&amp;amp;FieldName($(i), 'Table') &amp;amp; '],' &amp;amp;'$(vFields)';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ENDIF;&lt;/P&gt;&lt;P&gt;NEXT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vFieldName = Mid(vFields, 1, Len(vFields)-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;LOAD $(vFieldName) Resident Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table Table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 11:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935926#M646211</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2015-12-16T11:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935927#M646212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To drop specific field, drop field fieldname;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;from Qlik help&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;drop field&lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;[ &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;s&lt;/SPAN&gt; ] fieldname [ , fieldname2 ...] [&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;from&lt;/SPAN&gt; tablename1 [ , tablename2 ...]]&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Both &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;drop field&lt;/SPAN&gt; and &lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;drop fields&lt;/SPAN&gt; are allowed forms with no difference in effect. &lt;/EM&gt;&lt;BR /&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;If no table is specified, the field will be dropped from all tables where it occurs.&lt;/EM&gt;&lt;/P&gt;&lt;P class="example" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Examples:&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;drop field A;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;drop fields A,B;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;drop field A from X;&lt;/EM&gt;&lt;/P&gt;&lt;P class="Code" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;drop fields A,B from X,Y;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935927#M646212</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2015-12-16T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935928#M646213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashanth,&lt;/P&gt;&lt;P&gt;Change the line&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f2f2f2;"&gt; if Upper(left('$(vFieldName)', 7)) = 'INVOICE' then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 1.5em; background-color: #f2f2f2;"&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 12px; background-color: #f2f2f2; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; if Upper(left('$(vFieldName)', 7)) &amp;lt;&amp;gt; 'INVOICE' then&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935928#M646213</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-12-16T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: To drop specific fields in a table?</title>
      <link>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935929#M646214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not in multiple tables,&lt;/P&gt;&lt;P&gt;I tried but its not dropping and throwing an error as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 15px; font-family: 'Courier New'; color: #595959; background-color: rgba(255, 38, 38, 0.2);"&gt;Did not find the field " " from the DROP FIELD statement&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 15px; font-family: 'Courier New'; color: #595959; background-color: rgba(255, 38, 38, 0.2);"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2015 14:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/To-drop-specific-fields-in-a-table/m-p/935929#M646214</guid>
      <dc:creator />
      <dc:date>2015-12-16T14:16:50Z</dc:date>
    </item>
  </channel>
</rss>

