<?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: exclude null value and others in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48992#M8126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible to set a flag. Question is another table than the value 'gemiddelde' . So for gemiddelde there is no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 14:08:57 GMT</pubDate>
    <dc:creator>curiousfellow</dc:creator>
    <dc:date>2018-05-17T14:08:57Z</dc:date>
    <item>
      <title>exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48988#M8122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to rank some values with set analysis. I have to exclude some dimensions and the null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my expression is &lt;/P&gt;&lt;P&gt;rank(sum({&amp;lt;year ={$(=highestyear)},category={'main'},%key_question -= {'question13',&lt;SPAN style="font-size: 13.3333px;"&gt;'question3'&lt;/SPAN&gt;, '&lt;SPAN style="font-size: 13.3333px;"&gt;'question25&lt;/SPAN&gt;'}&amp;gt;}gemiddelde))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now have to add somewhere that a %key_question with a null value has to be excluded too, but so far i cannot find the correct syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension with a null value now is included in the ranking while it should not.&lt;/P&gt;&lt;P&gt;I tried something like : &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;rank(sum({&amp;lt;year ={$(=highestyear)},category={'main'},%key_question -= {'question13',&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;'question3'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;, '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;question25&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;','""'}&amp;gt;}gemiddelde))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I am a little desperate because if have a deadline &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; so your help will be very appreciated&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:44:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48988#M8122</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-05-17T13:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48989#M8123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it truly null or is it blank space?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48989#M8123</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T13:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48990#M8124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked the value with if(isnull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%key_question),'empty','not empty') and i get 'empty' as a result.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 13:53:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48990#M8124</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-05-17T13:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48991#M8125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a flag in the script&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(isnull(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;%key_question),'empty','not empty') as Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and then this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;rank(sum({&amp;lt;year ={$(=highestyear)},category={'main'},%key_question -= {'question13',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'question3'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'question25&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;'}, Flag = {'not empty'}&amp;gt;}gemiddelde))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48991#M8125</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-17T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48992#M8126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible to set a flag. Question is another table than the value 'gemiddelde' . So for gemiddelde there is no result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48992#M8126</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-05-17T14:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48993#M8127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well .. what about adding &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%key_question=p(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%key_question&lt;/SPAN&gt;)-&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{'question13',&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'question3'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;, '&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;question25&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'}&lt;/SPAN&gt;&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;or let's suppose you have question_id dimension&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;you may add smthing like the following&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;question_id={"=$=(not(IsNull(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;%key_question&lt;/SPAN&gt;))=0)"}&amp;nbsp;&amp;nbsp; ...choose question_id where given condition is met&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 14:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48993#M8127</guid>
      <dc:creator>bc-thebruuu</dc:creator>
      <dc:date>2018-05-17T14:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48994#M8128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still did not find the right solution.&lt;/P&gt;&lt;P&gt;I add a simplified qvw to show my problem. When I only enable the ranking expression then ranking is correct. When I enable other expression, the null value is ranked to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example, the result of dep1 should be ranked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 14:05:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48994#M8128</guid>
      <dc:creator>curiousfellow</dc:creator>
      <dc:date>2018-05-22T14:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: exclude null value and others in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48995#M8129</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;=Rank(Sum({&amp;lt;department = {'dep1'}, has_score_dep_1={'yes'}&amp;gt;} scorelocal*-1) + Sum({1} 0))&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/203067_Capture.PNG" style="height: 283px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 14:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/exclude-null-value-and-others-in-set-analysis/m-p/48995#M8129</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-22T14:26:14Z</dc:date>
    </item>
  </channel>
</rss>

