<?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: If Field is Null return other field value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224548#M853617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both your examples work well, only change I had to make was the second Product_DESCR needed replaced with Product_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(Product_DESCR)&amp;lt;1,Prodct_Code,Product_Name) as data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(isnull(Product_DESCR),Product_Code,Product_Name as data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cheers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Feb 2017 12:00:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-20T12:00:50Z</dc:date>
    <item>
      <title>If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224545#M853614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to bring in data from a table with the below fields in my edit script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product_Code&lt;/P&gt;&lt;P&gt;Product_Name&lt;/P&gt;&lt;P&gt;Product_DESCR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only really need the &lt;STRONG&gt;Product_Code&lt;/STRONG&gt; and &lt;STRONG&gt;Product_DESCR,&lt;/STRONG&gt; however not every Product Code has a Product DESCR.&amp;nbsp; In the case where there is no product DESCR is there a way to write the script that if the Product DESCR is blank (No Value at all) that the script will return the Product Name as the Product_DESCR?&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, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224545#M853614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224546#M853615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(isnull(Product_DESCR),Code,Product_DESCR) as data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:03:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224546#M853615</guid>
      <dc:creator />
      <dc:date>2017-02-20T10:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224547#M853616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As above, the only change I would make is not to use the isnull function which is a bit sketchy at times!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(Product_DESCR)&amp;lt;1,Code,Product_DESCR) as data&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224547#M853616</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-02-20T10:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224548#M853617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both your examples work well, only change I had to make was the second Product_DESCR needed replaced with Product_NAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(len(Product_DESCR)&amp;lt;1,Prodct_Code,Product_Name) as data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(isnull(Product_DESCR),Product_Code,Product_Name as data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Cheers.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 12:00:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224548#M853617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-20T12:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224549#M853619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more,&lt;/P&gt;&lt;P&gt;am not getting what are you asking here &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 04:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224549#M853619</guid>
      <dc:creator />
      <dc:date>2017-02-21T04:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224550#M853621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create t&lt;SPAN style="font-size: 10pt;"&gt;iers of this. Example Below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If [&lt;STRONG&gt;Field A&lt;/STRONG&gt;] is null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use [&lt;STRONG&gt;Field B&lt;/STRONG&gt;],&lt;/P&gt;&lt;P&gt;If [&lt;STRONG&gt;Field B&lt;/STRONG&gt;] is null,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use [&lt;STRONG&gt;Field C&lt;/STRONG&gt;]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax would be helpful! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 18:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1224550#M853621</guid>
      <dc:creator>roccosdg</dc:creator>
      <dc:date>2018-11-06T18:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1582366#M853623</link>
      <description>&lt;P&gt;&lt;SPAN&gt;if(len(A)&amp;gt;0,A,if(len(B)&amp;gt;0,B,if(len(C)&amp;gt;0,C,'DEFAULT'))) as data&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 17:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1582366#M853623</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2019-05-20T17:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1670270#M853625</link>
      <description>&lt;P&gt;What if don't defined the 3 part in if condition while using in load statement ..&lt;/P&gt;&lt;P&gt;Ex: if (isnull(item), qty)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;whether&amp;nbsp; will return the item for not null values&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 03:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1670270#M853625</guid>
      <dc:creator>Saravanan_AKS</dc:creator>
      <dc:date>2020-01-29T03:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: If Field is Null return other field value</title>
      <link>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1858337#M1215991</link>
      <description>&lt;P&gt;What if I have multiple parameters to pass in? How will I write that?&lt;/P&gt;
&lt;P&gt;In this scenerio, only Product_Code and Product_Descr are passed in. Can I pass more than two parameters?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 17:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Field-is-Null-return-other-field-value/m-p/1858337#M1215991</guid>
      <dc:creator>Midastouch365</dc:creator>
      <dc:date>2021-11-11T17:36:35Z</dc:date>
    </item>
  </channel>
</rss>

