<?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: Classifying nulls in a field based on another field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073212#M637471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works fine for your qvw &amp;amp; xls as far as I can see - see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am is understanding something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Apr 2016 13:15:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-07T13:15:30Z</dc:date>
    <item>
      <title>Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073207#M637466</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;Please any help will be appreciated.&lt;/P&gt;&lt;P&gt;I am trying to Classify nulls in a field based on another field with below script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '1','2', '3'),'VP', &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '4', '5'),'Dir', &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '6','7'),'Mgrs',&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '8', '9','10'),'Prof',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EMP_TYP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Reg','Temp ') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'UNDEFINED','Undefined Emp',&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;EMP_TYP&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'CW') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Rank&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'UNDEFINED','Undefined CWs','UNDEFINED')))))) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[RANK DESC]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; EmployeeData; &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;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Unsuccessful, because its taking all nulls count for each classification, instead of count for each classification.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Neetha&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073207#M637466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T09:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073208#M637467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neetha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain with example. Like what you want and what you are getting. Sample file will be a good help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073208#M637467</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-04-07T09:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073209#M637468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you put some sample data here so that it will be easy for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as your condition you should get "undefined" if all conditions are false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073209#M637468</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-04-07T09:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073210#M637469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you display what you are getting right now and what is expected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073210#M637469</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-07T09:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073211#M637470</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;Please see sample data and application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above script is working fine for sample data, but not for the real data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected result for real data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Undefined Emp]&amp;nbsp; count : 6&lt;/P&gt;&lt;P&gt;[Undefined CWs]&amp;nbsp; count : 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actual result for real data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Undefined Emp]&amp;nbsp; count : 12&lt;/P&gt;&lt;P&gt;[Undefined CWs]&amp;nbsp; count : 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sample data it is working and for real data its not working.&lt;/P&gt;&lt;P&gt;why could that be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073211#M637470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073212#M637471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works fine for your qvw &amp;amp; xls as far as I can see - see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am is understanding something.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073212#M637471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073213#M637472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;/SPAN&gt;&lt;SPAN class="j-ui-elem j-dotted-star"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It works fine for my qvw &amp;amp; xls.&lt;/P&gt;&lt;P&gt;but the same logic for real data it's not working.&lt;/P&gt;&lt;P&gt;sample data is replicated exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073213#M637472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073214#M637473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without being able to see the issue it is impossible to guess what is happening.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073214#M637473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073215#M637474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't post real data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for trying to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073215#M637474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073216#M637475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neetha ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there blank values also in the real data????&lt;/P&gt;&lt;P&gt;if so, first handle it as follows:&lt;/P&gt;&lt;P&gt;if(len(trim(&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;Rank))=0,'Undefined',&lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;Rank&lt;/SPAN&gt;&lt;/SPAN&gt;) as RANK and&lt;/P&gt;&lt;P&gt;same for &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;EMP_TYP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this in your &lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[RANK DESC] for nested if conditions....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:51:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073216#M637475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-07T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Classifying nulls in a field based on another field</title>
      <link>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073217#M637476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add a field in load like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recno() as no_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Classifying-nulls-in-a-field-based-on-another-field/m-p/1073217#M637476</guid>
      <dc:creator>florentina_doga</dc:creator>
      <dc:date>2016-04-07T13:51:46Z</dc:date>
    </item>
  </channel>
</rss>

