<?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: Combine 4 numbers, problems with 'NULL' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961843#M649572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0 and len(trim(WG3))&amp;gt;0 and len(trim(WG4))&amp;gt;0,WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3&amp;amp;'-'&amp;amp;WG4) as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gave the below result, null row missed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96523_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2015 10:47:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-20T10:47:31Z</dc:date>
    <item>
      <title>Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961838#M649567</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 to combine 4 Numbers in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WG1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WG2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WG3&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WG4&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;WGR&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1-1-2-5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2-3-6-6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1-7- -&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to tell QlikView to combine the fields like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WG1 &amp;amp; '-' &amp;amp; WG2 &amp;amp; '-' &amp;amp; WG3 &amp;amp; '-' WG4'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is, in this case I recieved a Result like in the last line of the table.&lt;/P&gt;&lt;P&gt;Then I tried some combinations with if, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wg1&amp;gt;0,wg1,)&amp;amp;if(wg2&amp;gt;0,'-'&amp;amp;wg2,)&amp;amp;if(wg3&amp;gt;0,'-'&amp;amp;wg3,)&amp;amp;if(wg4&amp;gt;0,'-'&amp;amp;wg4,) as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the result is also not correct in every line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking if there is a possibility to setup the 'Else' in the 'If' condition to NULL like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(wg1&amp;gt;0,wg1,&lt;STRONG&gt;Null&lt;/STRONG&gt;)&amp;amp;if(wg2&amp;gt;0,'-'&amp;amp;wg2,&lt;STRONG&gt;Null&lt;/STRONG&gt;)&amp;amp;if(wg3&amp;gt;0,'-'&amp;amp;wg3,&lt;STRONG&gt;Null&lt;/STRONG&gt;)&amp;amp;if(wg4&amp;gt;0,'-'&amp;amp;wg4,&lt;STRONG&gt;Null&lt;/STRONG&gt;) as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course in this way it do not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be so nice if anybody can help me with that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 09:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961838#M649567</guid>
      <dc:creator />
      <dc:date>2015-08-20T09:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961839#M649568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(WG1))&amp;gt;0,WG1,'') &amp;amp;'-'&amp;amp;&lt;/P&gt;&lt;P&gt;if(len(trim(WG2))&amp;gt;0,WG2,'') &amp;amp;'-'&amp;amp;&lt;/P&gt;&lt;P&gt;if(len(trim(WG3))&amp;gt;0,WG3,'') &amp;amp;'-'&amp;amp;&lt;/P&gt;&lt;P&gt;if(len(trim(WG4))&amp;gt;0,WG4,'')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 09:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961839#M649568</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-20T09:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961840#M649569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3&amp;amp;'-'&amp;amp;WG4 as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take this WGR Field ...I hope this result only you want&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961840#M649569</guid>
      <dc:creator />
      <dc:date>2015-08-20T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961841#M649570</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;I think there is also the Problem that QV will create the &lt;STRONG&gt;'-'&lt;/STRONG&gt; even if forexample WG1 do not exist. The result is something like that ' - 3 -2 -'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I just want to have necessary &lt;STRONG&gt;'-'.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961841#M649570</guid>
      <dc:creator />
      <dc:date>2015-08-20T10:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961842#M649571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0 and len(trim(WG3))&amp;gt;0 and len(trim(WG4))&amp;gt;0,WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3&amp;amp;'-'&amp;amp;WG4) as WGR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961842#M649571</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-20T10:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961843#M649572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0 and len(trim(WG3))&amp;gt;0 and len(trim(WG4))&amp;gt;0,WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3&amp;amp;'-'&amp;amp;WG4) as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gave the below result, null row missed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96523_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961843#M649572</guid>
      <dc:creator />
      <dc:date>2015-08-20T10:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961844#M649573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0 and len(trim(WG3))&amp;gt;0 and len(trim(WG4))&amp;gt;0,WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3&amp;amp;'-'&amp;amp;WG4,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0 and len(trim(WG3))&amp;gt;0, WG1&amp;amp;'-'&amp;amp;WG2&amp;amp;'-'&amp;amp;WG3,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(WG1))&amp;gt;0 and len(trim(WG2))&amp;gt;0, WG1&amp;amp;'-'&amp;amp;WG2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(len(trim(WG1))&amp;gt;0, WG1)))) as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will Give below result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96548_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961844#M649573</guid>
      <dc:creator />
      <dc:date>2015-08-20T10:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961845#M649574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try (in a table box)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled2.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96546_Untitled2.jpg" style="height: 424px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961845#M649574</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-20T10:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961846#M649575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this is what you need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961846#M649575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-20T11:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961847#M649576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Idea, but this case helps just in a hirachie case... what happens if, wg1 exist wg2 exist wg4 exist but wg3 is NULL... I think then this do not work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961847#M649576</guid>
      <dc:creator />
      <dc:date>2015-08-20T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961848#M649577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the result you are expecting from the last row of your example data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961848#M649577</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-20T11:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961849#M649578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Problem is, that it is possible that the completeness of the data is mixed like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-08-20_13h35_07.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96484_2015-08-20_13h35_07.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961849#M649578</guid>
      <dc:creator />
      <dc:date>2015-08-20T11:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961850#M649579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;load WG1,WG2,WG3,WG4,replace(trim(WG1&amp;amp;' '&amp;amp;WG2&amp;amp;' '&amp;amp;WG3&amp;amp;' '&amp;amp;WG4),' ','-')&amp;nbsp; as WGR&lt;/P&gt;&lt;P&gt;inline [&lt;/P&gt;&lt;P&gt;WG1,WG2,WG3,WG4&amp;nbsp; &lt;/P&gt;&lt;P&gt;1,1,2,5&amp;nbsp; &lt;/P&gt;&lt;P&gt;2,3,6,6&amp;nbsp; &lt;/P&gt;&lt;P&gt;1,7,,,&lt;/P&gt;&lt;P&gt;,,,, &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961850#M649579</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-08-20T11:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961851#M649580</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;Try this;&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;Replace(rtrim(ltrim(if(len(trim(WG1))&amp;gt;0,WG1) &amp;amp;' '&amp;amp; if(len(trim(WG2))&amp;gt;0,WG2) &amp;amp;' '&amp;amp; if(len(trim(WG3))&amp;gt;0,WG3) &amp;amp;' '&amp;amp; if(len(trim(WG4))&amp;gt;0,WG4))), ' ', '-') AS Fieldname&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;I have not tested it, but I think it should work. And, it might not be the best way to do it, but still, it should work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 11:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961851#M649580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-20T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961852#M649582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works for this data&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96554_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;But, it gives extra -- when the starting values are null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96555_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;O/P:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/96556_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good work Sasi sir&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961852#M649582</guid>
      <dc:creator />
      <dc:date>2015-08-20T12:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961853#M649583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(With help of sasi code)&lt;/P&gt;&lt;P&gt;Hi try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(replace(trim(WG1&amp;amp;' '&amp;amp;WG2&amp;amp;' '&amp;amp;WG3&amp;amp;' '&amp;amp;WG4),' ','-'),'--','-')&amp;nbsp; as WGR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96560_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961853#M649583</guid>
      <dc:creator />
      <dc:date>2015-08-20T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 4 numbers, problems with 'NULL'</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961854#M649586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipp,&lt;/P&gt;&lt;P&gt;it may helps you:&lt;/P&gt;&lt;P&gt;SAMPLE:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A, B, C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 2, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, , 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; , 3, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 6, 7&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RES:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;A&amp;amp;'_'&amp;amp;B&amp;amp;'_'&amp;amp;C AS ABC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(LEN(A)&amp;gt;0 AND LEN(B)&amp;gt;0 AND LEN(C)&amp;gt;0,A&amp;amp;'_'&amp;amp;B&amp;amp;'_'&amp;amp;C,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(LEN(A)&amp;gt;0 AND LEN(B)&amp;gt;0 AND LEN(C)=0,A&amp;amp;'_'&amp;amp;B,&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF(LEN(A)&amp;gt;0 AND LEN(B)=0 AND LEN(C)&amp;gt;0 ,A&amp;amp;'_'&amp;amp;C,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(LEN(A)=0 AND LEN(B)&amp;gt;0 AND LEN(C)&amp;gt;0,B&amp;amp;'_'&amp;amp;C ))))AS ABC2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resident SAMPLE;&lt;/P&gt;&lt;P&gt;DROP Table SAMPLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 12:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-4-numbers-problems-with-NULL/m-p/961854#M649586</guid>
      <dc:creator>d_koti24</dc:creator>
      <dc:date>2015-08-20T12:08:39Z</dc:date>
    </item>
  </channel>
</rss>

