<?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 concatenate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199018#M58121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the sample application. Works fine with both script and expression. By default (when nothing is selected) "Null-Null" is displayed, since the expression is made of different fields.&lt;/P&gt;&lt;P&gt;I always use Len() &amp;gt; 0 rather than IsNull() since the "null" values depend on the database, driver, computer... Len() always returns proper results.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Feb 2011 21:10:43 GMT</pubDate>
    <dc:creator>Miguel_Angel_Baeyens</dc:creator>
    <dc:date>2011-02-03T21:10:43Z</dc:date>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199011#M58114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am concatenating 2 fields using an expression in an multiselect list box , the fields might be having some nulls , how do i avoid the nulls , the expression does not appear in presentation tab to select avoid null option , how do i avoid null for an expression?&lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;=(field1 &amp;amp;'-'&amp;amp; field2)&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 02:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199011#M58114</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-03T02:30:25Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199012#M58115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can use expression to conver null like if(isnull(field1,'-',field1) &amp;amp; '-' &amp;amp; if(isnull(field2,'-',field2)&lt;/P&gt;&lt;P&gt;this is the solution as per my understanding ,please le me know it is right or not. Expalin ur ssue in more details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 03:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199012#M58115</guid>
      <dc:creator>maneshkhottcpl</dc:creator>
      <dc:date>2011-02-03T03:42:41Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199013#M58116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get an error with the above expression may be ) is missing i tried adding that , still did not work , i requirement is pretty simple, i just want to concatenate 2 fields with ''-" a hyphen in the middle and avaoid null in both the feilds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 18:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199013#M58116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-03T18:32:15Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199014#M58117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not clear whether you are doing that in the script. If this is the case, then something like the following should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Table:LOAD If(Len(Field1) &amp;gt; 0, Field1, 'Null') &amp;amp; '-' &amp;amp; If(Len(Field2) &amp;gt; 0, Field2, 'Null') AS CompositeFieldFROM data.source&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Instead of the "Null" set any value should a field is empty so you can easily check it later.&lt;/P&gt;&lt;P&gt;This will work as expression, although it will affect severely in the document performance.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 19:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199014#M58117</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-03T19:30:47Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199015#M58118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way to have this as a expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 19:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199015#M58118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-03T19:51:35Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199016#M58119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get value Null-Null in my list box if i use above as an expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 20:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199016#M58119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-03T20:18:30Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199017#M58120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;=If(Not IsNull(field1) and Not IsNull(field2),field1&amp;amp;' - '&amp;amp; field2)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 20:37:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199017#M58120</guid>
      <dc:creator />
      <dc:date>2011-02-03T20:37:25Z</dc:date>
    </item>
    <item>
      <title>concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/concatenate/m-p/199018#M58121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is the sample application. Works fine with both script and expression. By default (when nothing is selected) "Null-Null" is displayed, since the expression is made of different fields.&lt;/P&gt;&lt;P&gt;I always use Len() &amp;gt; 0 rather than IsNull() since the "null" values depend on the database, driver, computer... Len() always returns proper results.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 21:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/concatenate/m-p/199018#M58121</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-02-03T21:10:43Z</dc:date>
    </item>
  </channel>
</rss>

