<?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 Replace with IsNull or '' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361492#M134295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;in that case use below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;trim(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;[Opportunity owner FisrtName]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN&gt;[Opportunity owner &lt;SPAN&gt;FisrtName&lt;/SPAN&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;[Opportunity owner Surname]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN&gt;[Opportunity owner Surname]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 13:24:36 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2012-05-21T13:24:36Z</dc:date>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361489#M134292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently concatenating two fields and adding a space&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;trim([Opportunity owner Firstname]&amp;amp; '&amp;nbsp; ' &amp;amp;[Opportunity owner Surname]) as [Opportunity Owner], &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd also like to if either the Firstname or Surname is '' or Null to null the [Opportunity Owner],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone point me in the right direction please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361489#M134292</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:12:04Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361490#M134293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;[Opportunity owner FisrtName]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;[Opportunity owner &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;FisrtName&lt;/SPAN&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&amp;amp; '&amp;nbsp; ' &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;[Opportunity owner Surname]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;[Opportunity owner Surname]))&lt;/SPAN&gt;&lt;/SPAN&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;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;you can also change &lt;STRONG style="color: #636363; font-family: Arial; font-size: 12px;"&gt;' ' to any thing else like&amp;nbsp; 'NULL'&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&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;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361490#M134293</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-05-21T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361491#M134294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this remove the space i have added in the concatenate?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:22:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361491#M134294</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:22:25Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361492#M134295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;in that case use below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;trim(&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;[Opportunity owner FisrtName]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN&gt;[Opportunity owner &lt;SPAN&gt;FisrtName&lt;/SPAN&gt;])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;if(isnull(&lt;/SPAN&gt;&lt;SPAN style="background-color: #eef4f9;"&gt;[Opportunity owner Surname]),&lt;STRONG&gt;' '&lt;/STRONG&gt;,&lt;SPAN&gt;[Opportunity owner Surname]))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361492#M134295</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2012-05-21T13:24:36Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361493#M134296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code. Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Opportunity owner Firstname]&amp;amp; '&amp;nbsp; ' &amp;amp;[Opportunity owner Surname]='',Null(),Trim([Opportunity owner Firstname]&amp;amp; '&amp;nbsp; ' &amp;amp;[Opportunity owner Surname])) as [Opportunity Owner]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:29:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361493#M134296</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2012-05-21T13:29:53Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361494#M134297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lewis,&lt;/P&gt;&lt;P&gt;try with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if (IsNull([Opportunity owner Firstname]) or trim([Opportunity owner Firstname])='' or IsNull([Opportunity owner Surname]) or trim([Opportunity owner Surname])='' , null(), trim([Opportunity owner Firstname]) &amp;amp; ' ' &amp;amp; trim([Opportunity owner Surname])) as [Opportunity Owner]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361494#M134297</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:34:02Z</dc:date>
    </item>
    <item>
      <title>Replace with IsNull or ''</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361495#M134298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, thats worked perfectly... Thank you all for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-with-IsNull-or/m-p/361495#M134298</guid>
      <dc:creator />
      <dc:date>2012-05-21T14:06:31Z</dc:date>
    </item>
  </channel>
</rss>

