<?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: Nested IF in Load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418202#M816927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny --Thank u very much..Got it Perfect.. Actually i tried like below..&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;&amp;nbsp; If(A = ' ', 'No Value', If(B = 'Inactive', 'Inactive', 'Active')) as Value&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;I was not getting it.. Can u plz tell me why? so that i can understand better..&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;Regards&lt;/P&gt;&lt;P&gt;Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 12:48:53 GMT</pubDate>
    <dc:creator>bharani8</dc:creator>
    <dc:date>2017-08-31T12:48:53Z</dc:date>
    <item>
      <title>Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418199#M816924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts - I have 2 columns A &amp;amp; B. I need to add an calculated field (Nested IF) in the load statement itself..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If value in column A is blank... i need the output as "No Value" else it has to go to the 2nd condition and check ... If value in Column B is Inactive.. it should give us inactive .. for values other than inactive.. it should give as Active. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly find the attached excel.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need this to be in the load statement itself.&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-in-Load-statement/m-p/1418199#M816924</guid>
      <dc:creator>bharani8</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418200#M816925</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;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD RowNo() as RowNum,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(Trim(A)) = 0, 'No Value', If(B = 'Inactive', 'Inactive', 'Active')) as Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[..\..\Downloads\load.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/175237_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418200#M816925</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T12:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418201#M816926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Bharani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use below expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(IsNull(A), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'No Value', if(B='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Inactive',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'Inactive','&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Active'))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards &lt;/P&gt;&lt;P&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418201#M816926</guid>
      <dc:creator>ankur_abhishek</dc:creator>
      <dc:date>2017-08-31T12:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418202#M816927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny --Thank u very much..Got it Perfect.. Actually i tried like below..&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;&amp;nbsp; If(A = ' ', 'No Value', If(B = 'Inactive', 'Inactive', 'Active')) as Value&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;I was not getting it.. Can u plz tell me why? so that i can understand better..&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;Regards&lt;/P&gt;&lt;P&gt;Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418202#M816927</guid>
      <dc:creator>bharani8</dc:creator>
      <dc:date>2017-08-31T12:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418203#M816928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bharani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the below expression you are basically searching for space (' ') in column A instead of Null values .&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; If(A = ' ', 'No Value', If(B = 'Inactive', 'Inactive', 'Active')) as Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null values, space (' '), 0 are different, you need to handle it separately.&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;/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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks and Regards&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Ankur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 12:57:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418203#M816928</guid>
      <dc:creator>ankur_abhishek</dc:creator>
      <dc:date>2017-08-31T12:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418204#M816929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking for space is not right because you mentioned that it is null... so Len(Trim(A)) checks if the the Len of Trimmed A is 0 or not... When it is 0, it means A is either null or made up of blank spaces&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418204#M816929</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T13:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418205#M816930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Abhi!! That was a clear Explaination!! &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, 31 Aug 2017 13:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418205#M816930</guid>
      <dc:creator>bharani8</dc:creator>
      <dc:date>2017-08-31T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Nested IF in Load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418206#M816931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;Got it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 13:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Nested-IF-in-Load-statement/m-p/1418206#M816931</guid>
      <dc:creator>bharani8</dc:creator>
      <dc:date>2017-08-31T13:07:46Z</dc:date>
    </item>
  </channel>
</rss>

