<?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: Displaying empty buckets in class function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693082#M250704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using Class function to create a Range, you can use If to generate range manually (either in script or as a Calculated Dimension).....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) This is not a good solution as there could be many lines for the range but as per your requirements and limitation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of QlikView class function, this is the only solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also, keep in mind that using IF will affect application performance but it will depend on the size of the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) There are only 99 If possible in QlikView, so it's difficult to generate more than 100 Range...&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;Happy Qliking&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Sep 2014 07:39:47 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-09-14T07:39:47Z</dc:date>
    <item>
      <title>Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693081#M250703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/367775"&gt;Displaying empty buckets in class function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above links to the same question raised about a year ago. The reply given then was that class function cannot be used to display empty buckets.&lt;/P&gt;&lt;P&gt;This seriously limits the use of class function in data visualisation, as a histogram drawn using the class function will not correctly show the data distribution.&lt;/P&gt;&lt;P&gt;If the distribution is bimodal with a huge gap in between, this would not be visible at all.&lt;/P&gt;&lt;P&gt;Has this issue since been addressed? is there a viable alternative to bin the data for drawing a histogram, which does not leave out the empty classes?&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;Gopinath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 03:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693081#M250703</guid>
      <dc:creator />
      <dc:date>2014-09-14T03:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693082#M250704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using Class function to create a Range, you can use If to generate range manually (either in script or as a Calculated Dimension).....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) This is not a good solution as there could be many lines for the range but as per your requirements and limitation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of QlikView class function, this is the only solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also, keep in mind that using IF will affect application performance but it will depend on the size of the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) There are only 99 If possible in QlikView, so it's difficult to generate more than 100 Range...&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;Happy Qliking&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 07:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693082#M250704</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-14T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693083#M250705</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 possible solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/131460"&gt;How to display missing ranges in bin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-599151-65697/QlikCommunity_Thread_131460_Pic1.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="QlikCommunity_Thread_131460_Pic1.JPG.jpg" class="jive-image jiveImage" height="125" src="https://community.qlik.com/legacyfs/online/66684_QlikCommunity_Thread_131460_Pic1.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="353" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-599151-65698/QlikCommunity_Thread_131460_Pic2.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="QlikCommunity_Thread_131460_Pic2.JPG.jpg" class="jive-image jiveImage" height="175" src="https://community.qlik.com/legacyfs/online/66685_QlikCommunity_Thread_131460_Pic2.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="655" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-599151-65699/QlikCommunity_Thread_131460_Pic3.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;&lt;IMG alt="QlikCommunity_Thread_131460_Pic3.JPG.jpg" class="jive-image jiveImage" height="224" src="https://community.qlik.com/legacyfs/online/66686_QlikCommunity_Thread_131460_Pic3.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="654" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-599151-65700/QlikCommunity_Thread_131460_Pic4.JPG.jpg" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7; text-decoration: underline;"&gt;&lt;IMG alt="QlikCommunity_Thread_131460_Pic4.JPG.jpg" class="jive-image jiveImage" height="323" src="https://community.qlik.com/legacyfs/online/66687_QlikCommunity_Thread_131460_Pic4.JPG.jpg" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="666" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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>Sun, 14 Sep 2014 13:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693083#M250705</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-14T13:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693084#M250706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Marco&lt;/P&gt;&lt;P&gt;Works like a charm.&lt;/P&gt;&lt;P&gt;Tried it out with a dataset comprising over 6 million rows.&lt;/P&gt;&lt;P&gt;Only a marginal performance difference from the base class function.&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;Gopinath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 04:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693084#M250706</guid>
      <dc:creator />
      <dc:date>2014-09-15T04:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693085#M250707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice to hear.&lt;/P&gt;&lt;P&gt;Please close this thread if there are no further questions.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 05:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693085#M250707</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-09-15T05:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying empty buckets in class function</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693086#M250708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Would appreciate further assistance on the use of ValueLoop.&lt;/P&gt;&lt;P&gt;While the above example works fine when binning a data element directly, can the same syntax work on bins created by applying class function on aggregate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the syntax that I tried.&lt;/P&gt;&lt;P&gt;sum(&amp;nbsp; aggr(count(RecID), Data) &amp;gt;=ValueLoop(0,8,2) AND aggr(count(RecID), Data) &amp;lt; ValueLoop(0,8,2)+2)&lt;/P&gt;&lt;P&gt;It gave the correct result for the first bin, but zero for the rest. I understand that AGGR function returns a series of values. Can these be individually accessed in a formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many a times, I need to do stratification/binning after using AGGR function, and am faced with the problem of need to display empty bins.&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;Gopinatn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 03:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-empty-buckets-in-class-function/m-p/693086#M250708</guid>
      <dc:creator />
      <dc:date>2014-09-16T03:13:13Z</dc:date>
    </item>
  </channel>
</rss>

