<?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 Nested IF statement help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071094#M929249</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'm trying to do a nested if condition. I want to say if......phone1 is null or phone1 is 'no number' then provide me with the phone4 else phone1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim(phone1 )) &amp;gt;0 or phone1 = 'no number', phone4, phone1) as Phone_Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide assistance,&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>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071094#M929249</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'm trying to do a nested if condition. I want to say if......phone1 is null or phone1 is 'no number' then provide me with the phone4 else phone1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(Len(Trim(phone1 )) &amp;gt;0 or phone1 = 'no number', phone4, phone1) as Phone_Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide assistance,&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/Nested-IF-statement-help/m-p/1071094#M929249</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071095#M929250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If(Len(Trim(phone1 )) &lt;STRONG&gt;=&lt;/STRONG&gt;0 or phone1 = 'no number', phone4, phone1) as Phone_Number&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071095#M929250</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-14T19:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071096#M929251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. Whats the difference between using = compared to &amp;gt; both would eliminate the null wouldn't it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 19:57:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071096#M929251</guid>
      <dc:creator />
      <dc:date>2016-03-14T19:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071097#M929252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&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;&lt;STRONG&gt;If(Len(Trim(phone1)) = 0 or phone1 = 'no number', phone4, phone1) as Phone_Number.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071097#M929252</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-14T20:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071098#M929253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;alt(phone1, phone4) as &lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Phone_Number&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor409"&gt;&lt;/A&gt;&lt;A name="alt"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;alt(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;case1[ , case2 , case3 , ...] , else&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;alt&lt;/SPAN&gt; function returns the first of the parameters that has a valid number representation. If no such match is found, the last parameter will be returned. Any number of parameters can be used. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071098#M929253</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2016-03-14T20:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071099#M929254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If phone1 is an empty string, a string with only spaces or NULL, Len(Trim(phone1)) will return zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that's what you want to test for, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071099#M929254</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-14T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF statement help</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071100#M929255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Len(Trim(phone1)) = 0 or phone1 = 'no number', phone4, phone1) as Phone_Number.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So when it returns no number even after this function it means both phone1 and phone4 have no number (contains no number on file) for the specific selection in the list box right?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks guys,&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-statement-help/m-p/1071100#M929255</guid>
      <dc:creator />
      <dc:date>2016-03-14T20:10:10Z</dc:date>
    </item>
  </channel>
</rss>

