<?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 Similar to Class function but returning the number (Count) of elements in the range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Similar-to-Class-function-but-returning-the-number-Count-of/m-p/293342#M581625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st step -&lt;/P&gt;&lt;P&gt;Create a dimension in your script with&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subfield(Class(Expression1,10),' ', 1) as yournewdim&lt;/P&gt;&lt;P&gt;, [another fields]&lt;/P&gt;&lt;P&gt;Resident your_Data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2st step -&lt;/P&gt;&lt;P&gt;Use this yournewdim&amp;nbsp; inside your app and use count(yournewdim) as your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2011 13:26:59 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2011-12-12T13:26:59Z</dc:date>
    <item>
      <title>Similar to Class function but returning the number (Count) of elements in the range</title>
      <link>https://community.qlik.com/t5/QlikView/Similar-to-Class-function-but-returning-the-number-Count-of/m-p/293341#M581624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have the field SingleAverage with the values as shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SingleAverage &lt;/P&gt;&lt;P&gt;70&lt;/P&gt;&lt;P&gt;71&lt;/P&gt;&lt;P&gt;72&lt;/P&gt;&lt;P&gt;73&lt;/P&gt;&lt;P&gt;74&lt;/P&gt;&lt;P&gt;74.5&lt;/P&gt;&lt;P&gt;75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a variable vStep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a chart DIMENSION that shows the number of values between steps (including upper limit). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In example, if vStep is 2, the DIMENSION should has &lt;/P&gt;&lt;P&gt;2 (70,71),&lt;/P&gt;&lt;P&gt;2 (72, 73)&lt;/P&gt;&lt;P&gt;3 (74, 74.5, 75)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty similar to Class(SingleAverage, vStep, 'x'), but returning the count of values instead of a string describing the ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aldo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 09:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Similar-to-Class-function-but-returning-the-number-Count-of/m-p/293341#M581624</guid>
      <dc:creator />
      <dc:date>2011-12-12T09:10:19Z</dc:date>
    </item>
    <item>
      <title>Similar to Class function but returning the number (Count) of elements in the range</title>
      <link>https://community.qlik.com/t5/QlikView/Similar-to-Class-function-but-returning-the-number-Count-of/m-p/293342#M581625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st step -&lt;/P&gt;&lt;P&gt;Create a dimension in your script with&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;subfield(Class(Expression1,10),' ', 1) as yournewdim&lt;/P&gt;&lt;P&gt;, [another fields]&lt;/P&gt;&lt;P&gt;Resident your_Data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2st step -&lt;/P&gt;&lt;P&gt;Use this yournewdim&amp;nbsp; inside your app and use count(yournewdim) as your expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2011 13:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Similar-to-Class-function-but-returning-the-number-Count-of/m-p/293342#M581625</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2011-12-12T13:26:59Z</dc:date>
    </item>
  </channel>
</rss>

