<?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: Get dynamical column in excel export in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068003#M937952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible to check if a field is available from inside of a load-statement. You will always need to have additionally steps to check from outside for example with a filelist-loop, like here: &lt;A href="https://community.qlik.com/message/925566"&gt;Re: Import files one at a time, check for fields, and overwrite existing files&lt;/A&gt; or you need a forced concatenation like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourTable:&lt;/P&gt;&lt;P&gt;Load '' as ID autogenerate 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate(YourTable)&lt;/P&gt;&lt;P&gt;Load * From YourCSV.csv;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Feb 2016 07:41:05 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-02-08T07:41:05Z</dc:date>
    <item>
      <title>Get dynamical column in excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068000#M937949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In&amp;nbsp; CSV one colum is unavailable in some times,&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;is it possible to add if condition in script to load data of that colum when it's available in CSV . i use below syntax but doesn't work&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;if(len([ID])=0,' ',[ID]) as [ID],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 07:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068000#M937949</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2016-02-08T07:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get dynamical column in excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068001#M937950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to use the statement..&lt;/P&gt;&lt;P&gt;Load * from source.csv;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 07:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068001#M937950</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-08T07:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get dynamical column in excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068002#M937951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, i want to have column names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 07:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068002#M937951</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2016-02-08T07:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get dynamical column in excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068003#M937952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not possible to check if a field is available from inside of a load-statement. You will always need to have additionally steps to check from outside for example with a filelist-loop, like here: &lt;A href="https://community.qlik.com/message/925566"&gt;Re: Import files one at a time, check for fields, and overwrite existing files&lt;/A&gt; or you need a forced concatenation like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YourTable:&lt;/P&gt;&lt;P&gt;Load '' as ID autogenerate 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; concatenate(YourTable)&lt;/P&gt;&lt;P&gt;Load * From YourCSV.csv;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 07:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068003#M937952</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-02-08T07:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get dynamical column in excel export</title>
      <link>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068004#M937953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="xml" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14549183500516942 jive_text_macro" jivemacro_uid="_14549183500516942" modifiedtitle="true"&gt;
&lt;P&gt;Temp:&lt;/P&gt;
&lt;P&gt;Noconcatenate First 1 LOAD *&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Test.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;If FieldNumber('Field3','Temp') &amp;gt; 0 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vField = 'Field3';&lt;/P&gt;
&lt;P&gt;Else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vField = Chr(39)&amp;amp;Chr(39);&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;
&lt;P&gt;Drop Table Temp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Field1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Field2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; $(vField) as F3&lt;/P&gt;
&lt;P&gt;from Test.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;


&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 08:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-dynamical-column-in-excel-export/m-p/1068004#M937953</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-02-08T08:00:00Z</dc:date>
    </item>
  </channel>
</rss>

