<?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 Buckets using Class function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690692#M1066235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created some buckets (0-10, 10-20, 20-30...) using class function for the data that I have. The problem is that most of the data has value '0' so the first bar is really long as compared to other bars. Is there a way to have to data match to the first bar only if the value is greater than 0? I tried using offset 1 and also tried using if function in the expression to calculate the counts only if value is greater than 0 but somehow it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Sep 2014 00:27:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-13T00:27:31Z</dc:date>
    <item>
      <title>Buckets using Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690692#M1066235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created some buckets (0-10, 10-20, 20-30...) using class function for the data that I have. The problem is that most of the data has value '0' so the first bar is really long as compared to other bars. Is there a way to have to data match to the first bar only if the value is greater than 0? I tried using offset 1 and also tried using if function in the expression to calculate the counts only if value is greater than 0 but somehow it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 00:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690692#M1066235</guid>
      <dc:creator />
      <dc:date>2014-09-13T00:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Buckets using Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690693#M1066236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your class function is this:&amp;nbsp;&amp;nbsp; class(&amp;nbsp; Value,10)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then change it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( Value &amp;gt; 0 , class(Value,10))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is done on the dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 00:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690693#M1066236</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-13T00:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Buckets using Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690694#M1066237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, it was that simple. I used 'if' function everywhere else but here &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Sep 2014 02:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Buckets-using-Class-function/m-p/690694#M1066237</guid>
      <dc:creator />
      <dc:date>2014-09-13T02:11:50Z</dc:date>
    </item>
  </channel>
</rss>

