<?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 LOAD STMTS in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974587#M969843</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 have a question for mapping load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In mapping load you are supposed to use only 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use X table as mapping load only 2 columns are used.. but the actual X table contains more than 10 columns. how do I load the X table later after mapping load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use it as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapping load&lt;/P&gt;&lt;P&gt;X,&lt;/P&gt;&lt;P&gt;y&lt;/P&gt;&lt;P&gt;SQL Select * from X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;Apply map condition .....(...&lt;/P&gt;&lt;P&gt;SQL ..select condition/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After once above mapping is done. Can i call the orginal X table. How does the apply map behave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;X,&lt;/P&gt;&lt;P&gt;Y&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,,&lt;/P&gt;&lt;P&gt;SQL select * from X;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 21:39:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-17T21:39:56Z</dc:date>
    <item>
      <title>LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974587#M969843</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 have a question for mapping load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In mapping load you are supposed to use only 2 columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i use X table as mapping load only 2 columns are used.. but the actual X table contains more than 10 columns. how do I load the X table later after mapping load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use it as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mapping load&lt;/P&gt;&lt;P&gt;X,&lt;/P&gt;&lt;P&gt;y&lt;/P&gt;&lt;P&gt;SQL Select * from X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;map:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;b&lt;/P&gt;&lt;P&gt;Apply map condition .....(...&lt;/P&gt;&lt;P&gt;SQL ..select condition/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After once above mapping is done. Can i call the orginal X table. How does the apply map behave.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;X,&lt;/P&gt;&lt;P&gt;Y&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,,&lt;/P&gt;&lt;P&gt;SQL select * from X;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 21:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974587#M969843</guid>
      <dc:creator />
      <dc:date>2015-09-17T21:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974588#M969844</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;MapTable:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;mapping load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field2;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL Select * from X;&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;Table1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;a,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;b,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;c,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;ApplyMap&lt;/STRONG&gt;('MapTable', ..............);.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL ..select condition;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;After once above mapping is done. Can i call the orginal X table. How does the apply map behave.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can load another time (many times) the X table. The mapping table is only used in the ApplyMap (bold) not in the below statement, because there isn't an ApplyMap.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the "mapping load" you must use 2 fields.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In the normal (no mapping) load you can use as many fields you want. &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field1,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field2,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;field3,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;...... ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL select * from X;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 21:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974588#M969844</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-17T21:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974589#M969845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , So how could I do an apply map with different column names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex : can I do as below to make an alias and further apply map&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MapTable:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;mapping load&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;name as a,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;address;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SQL Select * from X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Table1:&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Load&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;a,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;b,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;c,&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;ApplyMap&lt;/STRONG&gt;('MapTable',a ..............);.&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SQL ..select condition;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 06:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974589#M969845</guid>
      <dc:creator />
      <dc:date>2015-09-18T06:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974590#M969846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create one mapping table per field using resident loads from table X:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X:&lt;/P&gt;&lt;P&gt;SELECT * FROM X.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map1:&lt;/P&gt;&lt;P&gt;Mapping Load key, value1 Resident X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Map2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Mapping Load key, value2 Resident X;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;And then apply each map in the main load:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Map1', key) As Value1,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Map2', key) As Value2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 06:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974590#M969846</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-18T06:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974591#M969847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case it may be better to perform a join, as long as the key value is unique in table X and you don't need default values for the 'missing' values after the join.&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;Test both options to determine the best performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 06:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974591#M969847</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-18T06:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD STMTS</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974592#M969848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonanthan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My scenario looks like this I need to RELATE 3 tables. but it is going to loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;MAPPING LOAD DISTINCT&lt;/P&gt;&lt;P&gt;Prod Id,&lt;/P&gt;&lt;P&gt;Cust Id&lt;/P&gt;&lt;P&gt;from CustItem Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Id,&lt;/P&gt;&lt;P&gt;few columns....&lt;/P&gt;&lt;P&gt;ApplyMap('Table1', Id) as Cust Id&amp;nbsp; ---- So here I want to map Id and ProdId together&lt;/P&gt;&lt;P&gt;from Product Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to take the output of apply map -- I,e Cust Id to join as automatically based on column as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Id as Cust Id&lt;/P&gt;&lt;P&gt;few columns&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;from Customer Table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 07:24:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-STMTS/m-p/974592#M969848</guid>
      <dc:creator />
      <dc:date>2015-09-18T07:24:40Z</dc:date>
    </item>
  </channel>
</rss>

