<?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 Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505543#M189024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give a sample or explain in more details &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 08:18:24 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2013-12-19T08:18:24Z</dc:date>
    <item>
      <title>Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505542#M189023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have noticed something quite strange. I have a customer table and customer phone table. In the customer phone table there is a row for each phone type, home, work and cell. What I require is all the details as a single record per customer. I load the customer details, then left join to the customer phone table using where exists custid and for the cell phone type, the do the same for the other phone types. What i have noticed is that if there is no cell phone record, then the work and home number are not populated. I am currently different load orders.&lt;/P&gt;&lt;P&gt;Not sure what I am missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kamiel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers:&lt;BR /&gt;Load custid...other_fields... from Customers&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD &lt;BR /&gt; dialingcode as [Phone Home Dialling Code],&lt;BR /&gt; phonenum as [Phone Home Number],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnull(dialingcode) =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Home], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where&lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Home';&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD &lt;BR /&gt; dialingcode as [Phone Work Dialling Code],&lt;BR /&gt; phonenum as [Phone Work Number],&lt;BR /&gt; if(isnull(dialingcode) =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Work], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where&lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Work';&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt; dialingcode as [Phone Cell Dialling Code],&lt;BR /&gt; phonenum as [Phone Cell Number],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnull(dialingcode) =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Cell], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where &lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Cell';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505542#M189023</guid>
      <dc:creator>kamielrajaram</dc:creator>
      <dc:date>2013-12-19T08:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505543#M189024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you give a sample or explain in more details &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:18:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505543#M189024</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-12-19T08:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505544#M189025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;Load CustomerID, ...other_fields... from Customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join load CustomerID, PhoneNumber as Home&lt;/P&gt;&lt;P&gt;from CustomerPhoneTable&lt;/P&gt;&lt;P&gt;where PhoneType = 'Home';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join load CustomerID, PhoneNumber as Work&lt;/P&gt;&lt;P&gt;from CustomerPhoneTable&lt;/P&gt;&lt;P&gt;where PhoneType = 'Work';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join load CustomerID, PhoneNumber as Cell&lt;/P&gt;&lt;P&gt;from CustomerPhoneTable&lt;/P&gt;&lt;P&gt;where PhoneType = 'Cell';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change field names and the values in the where clauses to whatever matches your situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505544#M189025</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-19T08:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505545#M189026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the attached file, if it helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or your requirement is somthing different, soplease attach a sample file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505545#M189026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-19T08:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505546#M189027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customers:&lt;BR /&gt;Load custid...other_fields... from Customers&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD &lt;BR /&gt; dialingcode as [Phone Home Dialling Code],&lt;BR /&gt; phonenum as [Phone Home Number],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnulldialingcode =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Home], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where&lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Home';&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD &lt;BR /&gt; dialingcode as [Phone Work Dialling Code],&lt;BR /&gt; phonenum as [Phone Work Number],&lt;BR /&gt; if(isnulldialingcode =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Work], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where&lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Work';&lt;/P&gt;&lt;P&gt;Left Join&lt;BR /&gt;LOAD Distinct&lt;BR /&gt; dialingcode as [Phone Cell Dialling Code],&lt;BR /&gt; phonenum as [Phone Cell Number],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(isnulldialingcode =-1,'',dialingcode ) &amp;amp; if(isnull(phonenum )=-1,'',phonenum ) as [Phone Cell], &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; custid&lt;BR /&gt;From [Phone.qvd] (qvd)&lt;BR /&gt;Where &lt;BR /&gt; current = -1 and &lt;BR /&gt; phonetype= 'Cell';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-Script/m-p/505546#M189027</guid>
      <dc:creator>kamielrajaram</dc:creator>
      <dc:date>2013-12-19T08:38:41Z</dc:date>
    </item>
  </channel>
</rss>

