<?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 Conditional LOAD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508742#M692686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have 2 types of exel files. One type contents direct tables,&amp;nbsp; another type contents transposed tables.&lt;/P&gt;&lt;P&gt;I can open each one in macro by excel API to check is table direct or transope, then&amp;nbsp; make script by macro and after it load. &lt;/P&gt;&lt;P&gt;But it seems to me this is too difficult for such a simple problem &lt;/P&gt;&lt;P&gt;Is there another solution?&lt;/P&gt;&lt;P&gt;Maybe something like &lt;/P&gt;&lt;P&gt;Load * from [2.xlsx](ooxml, embedded labels, table is Лист1, if( value = 1,&amp;nbsp; filters(Transpose())); ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 14:45:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-22T14:45:50Z</dc:date>
    <item>
      <title>Conditional LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508742#M692686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I have 2 types of exel files. One type contents direct tables,&amp;nbsp; another type contents transposed tables.&lt;/P&gt;&lt;P&gt;I can open each one in macro by excel API to check is table direct or transope, then&amp;nbsp; make script by macro and after it load. &lt;/P&gt;&lt;P&gt;But it seems to me this is too difficult for such a simple problem &lt;/P&gt;&lt;P&gt;Is there another solution?&lt;/P&gt;&lt;P&gt;Maybe something like &lt;/P&gt;&lt;P&gt;Load * from [2.xlsx](ooxml, embedded labels, table is Лист1, if( value = 1,&amp;nbsp; filters(Transpose())); ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 14:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508742#M692686</guid>
      <dc:creator />
      <dc:date>2013-07-22T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508743#M692687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could check a fieldname/fieldvalue before you load the data completely. You need only a unique field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check:&lt;/P&gt;&lt;P&gt;Load @1 as Check From .... where rowno() = 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vCheckLoad = if(peek('Check', 0, 'Check') = 'ANY', 'direct', 'transposed');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if '$(vCheckLoad)' = 'direct' then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load .... first&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load .... second&lt;/P&gt;&lt;P&gt;end if&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, 22 Jul 2013 15:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508743#M692687</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2013-07-22T15:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional LOAD</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508744#M692688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 04:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-LOAD/m-p/508744#M692688</guid>
      <dc:creator />
      <dc:date>2014-03-04T04:37:43Z</dc:date>
    </item>
  </channel>
</rss>

