<?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: Drop Fields from an Excel List / Column in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Drop-Fields-from-an-Excel-List-Column/m-p/2159993#M94077</link>
    <description>&lt;P&gt;Some code for you:&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;FieldsToRemove:
LOAD
    Name
FROM [lib://Data/fields_to_remove.xlsx]
(ooxml, embedded labels, table is Testing);



for i=0 to NoOfRows('FieldsToRemove')-1
  let vFieldName=Peek('Name',$(i), 'FieldsToRemove');
  drop field "$(vFieldName)";
next i;
drop table FieldsToRemove;&lt;/LI-CODE&gt;
&lt;P&gt;Change path and sheet name accordingly to your needs!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 10 Jan 2024 12:04:20 GMT</pubDate>
    <dc:creator>Adam_Romanowski</dc:creator>
    <dc:date>2024-01-10T12:04:20Z</dc:date>
    <item>
      <title>Drop Fields from an Excel List / Column</title>
      <link>https://community.qlik.com/t5/App-Development/Drop-Fields-from-an-Excel-List-Column/m-p/2159965#M94068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I need to drop quite some fields from my datamodel and I have listed around 60 fieldnames in an Excel list (colum name: "Name".&lt;/P&gt;
&lt;P&gt;Is it possible to drop all these fields in a simple statement using the Excel list?&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 11:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Drop-Fields-from-an-Excel-List-Column/m-p/2159965#M94068</guid>
      <dc:creator>chriys1337</dc:creator>
      <dc:date>2024-01-10T11:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Drop Fields from an Excel List / Column</title>
      <link>https://community.qlik.com/t5/App-Development/Drop-Fields-from-an-Excel-List-Column/m-p/2159993#M94077</link>
      <description>&lt;P&gt;Some code for you:&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;FieldsToRemove:
LOAD
    Name
FROM [lib://Data/fields_to_remove.xlsx]
(ooxml, embedded labels, table is Testing);



for i=0 to NoOfRows('FieldsToRemove')-1
  let vFieldName=Peek('Name',$(i), 'FieldsToRemove');
  drop field "$(vFieldName)";
next i;
drop table FieldsToRemove;&lt;/LI-CODE&gt;
&lt;P&gt;Change path and sheet name accordingly to your needs!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Jan 2024 12:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Drop-Fields-from-an-Excel-List-Column/m-p/2159993#M94077</guid>
      <dc:creator>Adam_Romanowski</dc:creator>
      <dc:date>2024-01-10T12:04:20Z</dc:date>
    </item>
  </channel>
</rss>

