<?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 if field exists in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99329#M604886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Total Units not in pallet"&amp;nbsp; is supposed to be created by the previous load but when the script run end the table structure contain it even that I'm getting the error this is the reason that I suspect that the error caused by loading order&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2018 08:45:20 GMT</pubDate>
    <dc:creator>seWork</dc:creator>
    <dc:date>2018-07-04T08:45:20Z</dc:date>
    <item>
      <title>Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99316#M604873</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 need to calc some data in the script but I don't know in advance if the fields will exist in the resident table that I'm loading from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the script for the calc that I need to run&amp;nbsp; is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Left join(&lt;SPAN style="font-size: 13.3333px;"&gt;Order_line)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Requierd_Qty/Quantity_Units_In_Pallet as [Total Pallets],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(Requierd_Qty/Quantity_Units_In_Pallet) as [Total Pallets - Full],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Requierd_Qty-(floor(Requierd_Qty/Quantity_Units_In_Pallet)*Quantity_Units_In_Pallet))&amp;nbsp; as [Total Units not in pallet]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //including layers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident Order_line&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Left join&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Order_line)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Requierd_Qty/Quantity_Units_In_Layer as [Total Layers],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in pallet]/Quantity_Units_In_Layer as [Total Layers not in Pallet],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in pallet]/Quantity_Units_In_Layer) as [Total Layers not in Pallet - Full],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in pallet]-(floor([Total Units not in pallet]/Quantity_Units_In_Layer)*Quantity_Units_In_Layer) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Total Units not in Layer]&lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;//including Boxes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident Order_line&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Left join&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Order_line)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;ID,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Requierd_Qty/Quantity_Units_In_Box as [Total Boxes],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Layer]/Quantity_Units_In_Box as [Total Boxes not in Layer],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in Layer]/Quantity_Units_In_Box) as [Total Boxes not in Layer - Full],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Layer]-(floor([Total Units not in Layer]/Quantity_Units_In_Box)*Quantity_Units_In_Box) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Total Units not in Box]&lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;//including Inners&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Resident Order_line&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Left join&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Order_line)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt; ID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Requierd_Qty/Quantity_Units_In_Inner as [Total Inners],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Box]/Quantity_Units_In_Inner as [Total Inners not in Box],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in Box]/Quantity_Units_In_Inner) as [Total Inners not in Box - Full],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Box]-(floor([Total Units not in Box]/Quantity_Units_In_Inner)*Quantity_Units_In_Inner) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as [Total Units not in Inner]&lt;/SPAN&gt;&lt;SPAN style="color: #339966;"&gt;&lt;SPAN style="color: #ff0000;"&gt;/&lt;/SPAN&gt;/including Units&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Resident Order_line&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that the following fields might not exist in the order line table&lt;/P&gt;&lt;P&gt;(One/Or more):&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Quantity_Units_In_Pallet,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Quantity_Units_In_Layer,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Quantity_Units_In_Box,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Quantity_Units_In_Inner &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Due to this issue, I'm trying to find a solution for a condition that will check if the field exists and if so&amp;nbsp; will run the relevant script/scripts otherwise will skip to the next part &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 06:02:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99316#M604873</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-02T06:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99317#M604874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;load first row of your table&lt;/P&gt;&lt;P&gt;the use fieldnumber() function to determine which&amp;nbsp; fields exists&lt;/P&gt;&lt;P&gt;store the names in variables&lt;/P&gt;&lt;P&gt;and use $() in your load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 06:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99317#M604874</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-02T06:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99318#M604875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to load the first row of which table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each script part in the script above contain different calcs how it will work? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99318#M604875</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-02T07:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99319#M604876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible logic like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1: load metadata of qvd. i.e. loading qvd as xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You will get list of columns in qvd.&lt;/P&gt;&lt;P&gt;then use if else create flag for field exists or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then use that flag in you final script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99319#M604876</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-07-02T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99320#M604877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;after loading your resident table&lt;/P&gt;&lt;P&gt;add something like&lt;/P&gt;&lt;P&gt;vField1=fieldnumber('&lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Quantity_Units_In_Pallet','&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;Order_line);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;if vField1&amp;lt;&amp;gt;0, it means field exists&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;do that for each field&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 13.3333px;"&gt;and you will be able to build the correct left join according to the result&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 07:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99320#M604877</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-02T07:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99321#M604878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not understand how to run it so I tried different script but for some reason, I'm getting errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vTableq = NoOfFields('Item_Master_Data');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for quan = 2 to vTableq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let fnameq = FieldName(quan,'Item_Master_Data');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if left((fnameq),14)='Quantity_Units' THEN&lt;/P&gt;&lt;P&gt;inner join(Order_line) //add item data for calculation&lt;/P&gt;&lt;P&gt;Load distinct SKU,&lt;/P&gt;&lt;P&gt;$(fnameq)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Resident Item_Master_Data;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF fnameq='Quantity_Units_In_Pallet' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left join(Order_line) &lt;/P&gt;&lt;P&gt;Load ID, Requierd_Qty/Quantity_Units_In_Pallet as [Total Pallets],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor(Requierd_Qty/Quantity_Units_In_Pallet) as [Total Pallets - Full],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Requierd_Qty-(floor(Requierd_Qty/Quantity_Units_In_Pallet)*Quantity_Units_In_Pallet))&amp;nbsp; as [Total Units not in pallet]//including layers &lt;/P&gt;&lt;P&gt;Resident Order_line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSEIF fnameq='Quantity_Units_In_Layer' then&lt;/P&gt;&lt;P&gt;Left join&lt;/P&gt;&lt;P&gt;Load ID, Requierd_Qty/Quantity_Units_In_Layer as [Total Layers],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in pallet]/Quantity_Units_In_Layer as [Total Layers not in Pallet],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in pallet]/Quantity_Units_In_Layer) as [Total Layers not in Pallet - Full],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in pallet]-(floor([Total Units not in pallet]/Quantity_Units_In_Layer)*Quantity_Units_In_Layer) as [Total Units not in Layer]//including Boxes &lt;/P&gt;&lt;P&gt;Resident Order_line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left join &lt;/P&gt;&lt;P&gt;Load ID, Requierd_Qty/Quantity_Units_In_Box as [Total Boxes],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Layer]/Quantity_Units_In_Box as [Total Boxes not in Layer],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in Layer]/Quantity_Units_In_Box) as [Total Boxes not in Layer - Full],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Layer]-(floor([Total Units not in Layer]/Quantity_Units_In_Box)*Quantity_Units_In_Box) as [Total Units not in Box]//including Inners&lt;/P&gt;&lt;P&gt;Resident Order_line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSEIF fnameq='Quantity_Units_In_Inner' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Left join&lt;/P&gt;&lt;P&gt;Load ID, Requierd_Qty/Quantity_Units_In_Inner as [Total Inners],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Box]/Quantity_Units_In_Inner as [Total Inners not in Box],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; floor([Total Units not in Box]/Quantity_Units_In_Inner) as [Total Inners not in Box - Full],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total Units not in Box]-(floor([Total Units not in Box]/Quantity_Units_In_Inner)*Quantity_Units_In_Inner) as [Total Units not in Inner]//including Units&lt;/P&gt;&lt;P&gt;Resident Order_line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next quan;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vTableq2 = NoOfFields('Order_line');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for quan2 = 2 to vTableq2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let fnamequn = FieldName(quan2,'Order_line');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If left((fnamequn),14)='Quantity_Units' THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop Field fnamequn from Order_line;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next quan2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 07:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99321#M604878</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99322#M604879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;at first sight, that seems correct&lt;/P&gt;&lt;P&gt;which errors do you get ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 07:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99322#M604879</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99323#M604880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm getting an error for&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt;"&gt;Field not found &lt;/SPAN&gt;error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Field 'Total Units not in pallet' not found"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field not found error&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Field 'Total Units not in Layer' not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and for some reason, the script does not drop the&amp;nbsp; "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Quantity_Units_In_Layer " field &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99323#M604880</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T08:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99324#M604881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as your field names contains spaces, don't forget to enclose them in []&lt;/P&gt;&lt;P&gt;in you drop field, use&lt;/P&gt;&lt;P&gt;drop field $(fnamequn)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99324#M604881</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T08:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99325#M604882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I enclosed the fields with [] but still getting the error I think that the reason for the error is the order of the loading&lt;/P&gt;&lt;P&gt;so I'm getting the "T&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;otal Units not in pallet' not found"&lt;/SPAN&gt; error for the loading of the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fnameq='Quantity_Units_In_Layer' then" part and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(there is a way to force the script to load the data by the same order that it's been loaded originally?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attached the "Script execution" log below&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(The duplicates loading lines are for data &lt;/SPAN&gt;autogeneration&lt;SPAN style="font-size: 10pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarding the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;drop field $(fnamequn) I tried it also but the same result it's surprising because the script success to drop the rest of the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity_Units*" fields&lt;/SPAN&gt; &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: 13px;"&gt;&lt;BR /&gt;&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Script execution log below&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INLFED &amp;lt;&amp;lt; d224e179-8f3a-41df-ba59-0a7075c3c7bc 4 Lines fetched&lt;/P&gt;&lt;P&gt;INLFED &amp;lt;&amp;lt; 9f58ef1b-ed9e-46a7-a072-109f09e19fc3 1 Lines fetched&lt;/P&gt;&lt;P&gt;INLFED-1 &amp;lt;&amp;lt; aa4f5c88-933c-486b-85b9-fb951433f598 4 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data &amp;lt;&amp;lt; Item_Master_Data (row-based qvd optimized) 222 Lines fetched&lt;/P&gt;&lt;P&gt;avgitemtable &amp;lt;&amp;lt; Item_Master_Data 222 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Items_growing_1 &amp;lt;&amp;lt; Item_Master_Data 21 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory &amp;lt;&amp;lt; Inventory 8,725 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 8,725 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 222 Lines fetched&lt;/P&gt;&lt;P&gt;avgnvtable &amp;lt;&amp;lt; Inventory 8,725 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 20 Lines fetched&lt;/P&gt;&lt;P&gt;avgnvtable 20 Lines fetched&lt;/P&gt;&lt;P&gt;Temp_Inv_Dates_1 &amp;lt;&amp;lt; Inventory 190 Lines fetched&lt;/P&gt;&lt;P&gt;Temp_Inv_Dates_2 &amp;lt;&amp;lt; Temp_Inv_Dates_1 20 Lines fetched&lt;/P&gt;&lt;P&gt;Temp_Inv_Dates_3 &amp;lt;&amp;lt; Temp_Inv_Dates_2 20 Lines fetched&lt;/P&gt;&lt;P&gt;InventoryTemp_Gen &amp;lt;&amp;lt; Item_Master_Data 0 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 8,725 Lines fetched&lt;/P&gt;&lt;P&gt;Inventory 190 Lines fetched&lt;/P&gt;&lt;P&gt;OrderHeader &amp;lt;&amp;lt; OrderHeader (row-based qvd optimized) 7,160 Lines fetched&lt;/P&gt;&lt;P&gt;Order_line &amp;lt;&amp;lt; Order_line 119,844 Lines fetched&lt;/P&gt;&lt;P&gt;Item_Master_Data 222 Lines fetched&lt;/P&gt;&lt;P&gt;Field 'Total Units not in Layer' not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item_Master_Data 222 Lines fetched&lt;/P&gt;&lt;P&gt;Field 'Total Units not in pallet' not found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item_Master_Data 222 Lines fetched&lt;/P&gt;&lt;P&gt;Order_line 119,429 Lines fetched&lt;/P&gt;&lt;P&gt;Customers &amp;lt;&amp;lt; Customers (row-based qvd optimized) 70 Lines fetched&lt;/P&gt;&lt;P&gt;Prcnt &amp;lt;&amp;lt; 6ff95755-7d52-4a05-81a0-e191185a6a18 20 Lines fetched&lt;/P&gt;&lt;P&gt;HoursTable &amp;lt;&amp;lt; 30f1ad67-cb09-4c13-b14c-9b4d813f5076 24 Lines fetched&lt;/P&gt;&lt;P&gt;$Syn 1 = Quantity_Units_In_Layer+SKU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99325#M604882</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99326#M604883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Total Units not in pallet is created by the previous load . Did it execute ?&lt;/P&gt;&lt;P&gt;for you field not dropped, as it is created in the load where you have the error, it has been crated, so it can't be deleted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99326#M604883</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T08:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99327#M604884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I edited the previous post and added the "&lt;SPAN style="font-size: 13.3333px;"&gt;Script execution log"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;regarding the drop &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I left join does fields with resident table for the calculation &lt;/P&gt;&lt;P&gt;there are 5 "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity_Units*" fields the in both cases i'm using a loop(For locating them in the resident table and left join them to the destination table and for locating them in the destination table and dropping them from it)&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: 13px;"&gt;the only field that been left joined successfully but doesn't be dropped is the " &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity_Units_In_Layer " field&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:38:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99327#M604884</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T08:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99328#M604885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in document properties, check generate log file&lt;/P&gt;&lt;P&gt;and so you can really view the different steps executed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:44:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99328#M604885</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T08:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99329#M604886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Total Units not in pallet"&amp;nbsp; is supposed to be created by the previous load but when the script run end the table structure contain it even that I'm getting the error this is the reason that I suspect that the error caused by loading order&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99329#M604886</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T08:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99330#M604887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you generate the log and sees whatt's in it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99330#M604887</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T08:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99331#M604888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as I suspected as a result of the "else if" the "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity_Units_In_Layer" part been loaded before the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quantity_Units_In_Pallet&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think that I will try to separate them with different loops &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;unless you will recommend for other solution &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 08:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99331#M604888</guid>
      <dc:creator>seWork</dc:creator>
      <dc:date>2018-07-04T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Load if field exists</title>
      <link>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99332#M604889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you may try something like&lt;/P&gt;&lt;P&gt;for each field in 'fielld1','field2', ..... fieldn&lt;/P&gt;&lt;P&gt;if fieldno(field,tablenanme)&amp;gt;0 then&lt;/P&gt;&lt;P&gt;switch field&lt;/P&gt;&lt;P&gt;case field1&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;case field2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you are sure the field are processed in the desired order as specified in the value list&lt;/P&gt;&lt;P&gt;(be careful, i didn't take care or real syntax in my example)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2018 09:02:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-if-field-exists/m-p/99332#M604889</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-07-04T09:02:48Z</dc:date>
    </item>
  </channel>
</rss>

