<?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: Prob in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876121#M1016060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this after your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SalesPersonId, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Region), 'unknown', Region) as Region,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Salespersonname), 'unknown', Salespersonname) as Salespersonname,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Desk), 'unknown', Desk) as Desk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Apr 2015 11:17:30 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-04-08T11:17:30Z</dc:date>
    <item>
      <title>Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876116#M1016049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I have script as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load SalesPersonId;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD SalesPersonId,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Salespersonname&lt;/P&gt;&lt;P&gt;LeftJoin&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD SalesPersonId,&lt;/P&gt;&lt;P&gt;Desk;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want those people that dont have region and desk it should come as 'Unknown' for both. How to acheive this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 10:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876116#M1016049</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-08T10:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876117#M1016052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load SalesPersonId;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD SalesPersonId,&lt;/P&gt;&lt;P&gt;Region,&lt;/P&gt;&lt;P&gt;Salespersonname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LeftJoin&lt;/P&gt;&lt;P&gt;LOAD SalesPersonId,&lt;/P&gt;&lt;P&gt;Desk;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final_Table:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;"Unknown" as Flag,&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;where Isnull(Region) and Isnull(Desk);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;"known" as Flag,&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;where not Isnull(Region) and not Isnull(Desk);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 10:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876117#M1016052</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-04-08T10:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876118#M1016055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey ,&lt;/P&gt;&lt;P&gt;Why u have used unknown and known as flag?&lt;/P&gt;&lt;P&gt;I want if salespersonid matching den values of region and desk should be&lt;/P&gt;&lt;P&gt;displayed if region and desk values not there den it should ahow unknown&lt;/P&gt;&lt;P&gt;only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876118#M1016055</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-04-08T11:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876119#M1016057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Table1:&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Load&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;SPAN style="color: #800000;"&gt;SalesPersonId&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; [159247.xlsx]&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet1);&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Join&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; Table2:&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SalesPersonId&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;if&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;)=0,'Unknown',&lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Region&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #800000;"&gt;Salespersonname&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; [159247.xlsx]&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet2);&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Join&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; Table3:&lt;BR /&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;SalesPersonId&lt;/SPAN&gt;,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Desk&lt;/SPAN&gt;)=0,'Unknown', &lt;SPAN style="color: #800000;"&gt;Desk&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Desk&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt; [159247.xlsx]&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;ooxml&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; Sheet3); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Andy&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876119#M1016057</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-04-08T11:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876120#M1016059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check the attachment. It might be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876120#M1016059</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2015-04-08T11:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876121#M1016060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add this after your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Table2:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NoConcatenate load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; SalesPersonId, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Region), 'unknown', Region) as Region,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Salespersonname), 'unknown', Salespersonname) as Salespersonname,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(IsNull(Desk), 'unknown', Desk) as Desk&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Table1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Table1;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 11:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-Script/m-p/876121#M1016060</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-04-08T11:17:30Z</dc:date>
    </item>
  </channel>
</rss>

