<?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: Class function and Others in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897154#M312173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this will only change the label for every thing after 25&amp;lt;=x&amp;lt;3 to &amp;gt;=30 but is repeated as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92100_Untitled.png" style="height: 344px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;how can I sum the rest under &amp;gt;=30?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2015 11:06:39 GMT</pubDate>
    <dc:creator>ali_hijazi</dc:creator>
    <dc:date>2015-07-07T11:06:39Z</dc:date>
    <item>
      <title>Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897150#M312169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;got a bar char in which I'm classifying number of version by number of patches using the following as dimension&lt;/P&gt;&lt;P&gt;aggr(class(count(Patch_id),5),version_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Count(Version_id) as expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now everything is fine and I'm getting the following result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92093_Untitled.png" style="height: 344px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what I want is show labels until 25&amp;lt;=X&amp;lt;30 then the rest group them under &amp;gt;= 30&lt;/P&gt;&lt;P&gt;is this doable ?&lt;/P&gt;&lt;P&gt;Please advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 10:50:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897150#M312169</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-07-07T10:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897151#M312170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use If in this case. Class will not give you result like this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 10:54:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897151#M312170</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897152#M312171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like&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;aggr( if(class(count(Patch_id),5)&amp;lt;30,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;class(count(Patch_id),5)&lt;/SPAN&gt;,dual('&amp;gt;=30',35) ), version_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 10:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897152#M312171</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-07T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897153#M312172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;=Aggr(IF(COUNT(Patch_id)&amp;gt;=0 and COUNT(Patch_id)&amp;lt;5, Dual('0&amp;lt;=x&amp;lt;5',1),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF(COUNT(Patch_id)&amp;gt;=5 and COUNT(Patch_id)&amp;lt;10, Dual('5&amp;lt;=x&amp;lt;10',2),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF(COUNT(Patch_id)&amp;gt;=10 and COUNT(Patch_id)&amp;lt;15, Dual('10&amp;lt;=x&amp;lt;15',3),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF(COUNT(Patch_id)&amp;gt;=15 and COUNT(Patch_id)&amp;lt;20, Dual('15&amp;lt;=x&amp;lt;20',4),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF(COUNT(Patch_id)&amp;gt;=20 and COUNT(Patch_id)&amp;lt;25, Dual('20&amp;lt;=x&amp;lt;25',5),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;IF(COUNT(Patch_id)&amp;gt;=25 and COUNT(Patch_id)&amp;lt;30, Dual('25&amp;lt;=x&amp;lt;30',6),Dual('&amp;gt;=30',7))))))),version_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897153#M312172</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T11:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897154#M312173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this will only change the label for every thing after 25&amp;lt;=x&amp;lt;3 to &amp;gt;=30 but is repeated as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/92100_Untitled.png" style="height: 344px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;how can I sum the rest under &amp;gt;=30?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897154#M312173</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-07-07T11:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897155#M312174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to work for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897155#M312174</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-07T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897156#M312175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok it is working now&lt;/P&gt;&lt;P&gt;but I didn't understand the Dual('&amp;gt;=30',&lt;STRONG style="text-decoration: underline;"&gt;35&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;the 35 why and how I didn't get it &lt;/P&gt;&lt;P&gt;and what if the bracket size is dynamic not always 5 how can this be transformed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:26:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897156#M312175</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2015-07-07T11:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897157#M312176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt; Dual('&amp;gt;=30',&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline; background-color: #f2f2f2;"&gt;35&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dual holds two values...&lt;/P&gt;&lt;P&gt;First as String and 2nd as Numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in charts you will see &amp;gt;=30 and 35 is used in sorting the bars so you will get &amp;gt;=30 bar always as a last bar in bar chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 11:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897157#M312176</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-07T11:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Class function and Others</title>
      <link>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897158#M312177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to have dynamic bucket size and cutoff, just replace the magic numbers with variables and set the variables accordingly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr( if(class(sum(Fixes),vRange)&amp;lt;vCutOff,class(sum(Fixes),vRange),dual('&amp;gt;='&amp;amp;vCutOff,vCutOff) ), Version)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have accurate results, take care that vCutOff is a multiple of vRange.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2015 14:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class-function-and-Others/m-p/897158#M312177</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-07T14:56:52Z</dc:date>
    </item>
  </channel>
</rss>

