<?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 Age buckets and nulls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933156#M952719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to create age buckets in my list box. I have a lot of NULL values in my data. So, I tried using the class() function but the NULL (which was at the top of the list box originially) is not shown now. I want to have NULL at the top of my list box too. How can I do it? &lt;/P&gt;&lt;P&gt;Also, my age bucket shows as '15&amp;lt;=x&amp;lt;35'. I feel it will not look good on a chart. How can I change it?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Desperately in need of help. &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;Thanks in advance. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Dec 2015 22:04:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-01T22:04:45Z</dc:date>
    <item>
      <title>Age buckets and nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933156#M952719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to create age buckets in my list box. I have a lot of NULL values in my data. So, I tried using the class() function but the NULL (which was at the top of the list box originially) is not shown now. I want to have NULL at the top of my list box too. How can I do it? &lt;/P&gt;&lt;P&gt;Also, my age bucket shows as '15&amp;lt;=x&amp;lt;35'. I feel it will not look good on a chart. How can I change it?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Desperately in need of help. &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;Thanks in advance. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 22:04:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933156#M952719</guid>
      <dc:creator />
      <dc:date>2015-12-01T22:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Age buckets and nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933157#M952720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If NULL is appearing the list box, then you are talking about a text value 'NULL', right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then maybe something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( Age = 'NULL', Age, Class(Age, 10) )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as calculated dimension, list box expression or in a LOAD Statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;If( Age = 'NULL', Age, Class(Age, 10) ) as AgeBucket,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And how do you want your classes to be formatted?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 22:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933157#M952720</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-01T22:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Age buckets and nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933158#M952721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would prefer to have the classes as '15-25' format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Will having NULLS in the data source affect the visualizations in any way? I had nulls and blank spaces in my original datasource. How should i go about it after I load the data into QlikView? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Dec 2015 23:04:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933158#M952721</guid>
      <dc:creator />
      <dc:date>2015-12-01T23:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Age buckets and nulls</title>
      <link>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933159#M952722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution for real null values could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="107803" alt="QlikCommunity_Thread_193727_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107803_QlikCommunity_Thread_193727_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_193727_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/107809_QlikCommunity_Thread_193727_Pic4.JPG" style="height: 225px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14490163369744748" jivemacro_uid="_14490163369744748"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;=Aggr(If(IsNull(age),Dual('null',-1),Dual(Replace(Class(age,20,'x',5),'&amp;lt;= x &amp;lt;','-'),Floor(age,20,5))),ID)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="107807" alt="QlikCommunity_Thread_193727_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/107807_QlikCommunity_Thread_193727_Pic2.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="107808" alt="QlikCommunity_Thread_193727_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/107808_QlikCommunity_Thread_193727_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 00:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Age-buckets-and-nulls/m-p/933159#M952722</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-12-02T00:30:23Z</dc:date>
    </item>
  </channel>
</rss>

