<?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: Relabelling Class Function Groups in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768845#M1041046</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can wrap the result in a replace() function to get what you want . Replace '&amp;lt;=x &amp;lt;' with something better like to&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;replace( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Class(Age,10,Age) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; , '&amp;lt;= x &amp;lt;' , 'to')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72653_Capture.PNG.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 14:50:36 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-12-03T14:50:36Z</dc:date>
    <item>
      <title>Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768843#M1041043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping someone can help. I've used the class function to group ages to produce a bar chart. However, the labels on the X axis are not very clear as to what they refer (e.g. 20 &amp;lt;= 21 &amp;lt; rather than 20 to 29.). The calculated dimension looks like this - =Class(Age,10,Age). I've seen where some have added text boxes to cover up the labels, but is there a way of actually customising the labels?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768843#M1041043</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-03T14:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768844#M1041045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Matt,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use replace() function for replacing '&amp;lt;= x &amp;lt;' with 'to'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Replace(Class(Age,10),'&amp;lt;= x &amp;lt;', 'to')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768844#M1041045</guid>
      <dc:creator>kiranmanoharrode</dc:creator>
      <dc:date>2014-12-03T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768845#M1041046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can wrap the result in a replace() function to get what you want . Replace '&amp;lt;=x &amp;lt;' with something better like to&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;replace( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Class(Age,10,Age) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; , '&amp;lt;= x &amp;lt;' , 'to')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72653_Capture.PNG.png" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768845#M1041046</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768846#M1041047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the Replace function, in the format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(Class(....), '&amp;lt;= x &amp;lt;', ' to ') - this should replace the standard text a class bin width uses with your "to".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768846#M1041047</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2014-12-03T14:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768847#M1041048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi have a look at the attach example &lt;/P&gt;&lt;P&gt;simple replace function will do the trick &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768847#M1041048</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-12-03T14:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768848#M1041049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Kiran (and everyone else too). Works a treat! The only thing I've noticed though is that age groupings overlap e.g. 20 to 30 (which doesn't feature anyone aged 30), 30 to 40 (which does feature those aged 30 but no one aged 40). Is there anyway to tweak this so there is no overlap e.g 20 to 29, 30 to 39?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768848#M1041049</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-03T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768849#M1041050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played around a bit more. Here is a full customization that seems to work. I'm doing a '-1' at the end of the 2nd value to reduce it by one notch. Does it help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt; left( Class( Sales, 1000), findoneof( Class( Sales, 1000),' ',1)) &lt;/P&gt;&lt;P&gt; &amp;amp; ' to ' &amp;amp; &lt;/P&gt;&lt;P&gt;( Num(mid( Class( Sales, 1000), findoneof( Class( Sales, 1000),' ',4)))-1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768849#M1041050</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T15:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768850#M1041051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect Jonathan! Works a treat &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; Many thanks everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768850#M1041051</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-03T15:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768851#M1041052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes ! sorry i posted the example from my own data you are correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;everything else is right.&amp;nbsp; the first space denotes the end of the first number, the 4th space denotes the start of the 2nd number...thats the key for the findoneof() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;number &amp;lt;= x &amp;lt; 2ndnumber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:20:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768851#M1041052</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T15:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768852#M1041053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, one slight fly in the ointment. Whilst it has sorted the groupings, it now features an empty first grouping of &amp;lt;blank&amp;gt; to &amp;lt;blank&amp;gt; with no values. I'm assuming its trying to group 0-9. Is there an easy way of hiding this empty grouping?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768852#M1041053</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-03T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768853#M1041054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post a screenshot before and after please ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768853#M1041054</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T15:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768854#M1041055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 15:38:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768854#M1041055</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-03T15:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768855#M1041056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i suppose you could wrap it in a&amp;nbsp; If(&amp;nbsp; not Isnull()&amp;nbsp;&amp;nbsp; )&amp;nbsp; condition to only render if its a legitimate grouping.&amp;nbsp; I'm not sure where that group comes from though if the regular class() didn't yield such a bucket. If i were to guess, there may be&amp;nbsp; NULLs in the data model that show up with this methodology (but not with class() )&amp;nbsp; and we now have to manually suppress them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;if( not isnull(left( Class( Age, 10), findoneof( Class( Age, 10),' ',1)) ), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left( Class(Age, 10), findoneof( Class( Age, 10),' ',1))&lt;/P&gt;&lt;P&gt; &amp;amp; ' to ' &amp;amp; &lt;/P&gt;&lt;P&gt;( Num(mid( Class( Age, 10), findoneof( Class( Age, 10),' ',4)))-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to 'suppress nulls' on the dimension tab properties too. not sure becuase i don't get this result with my test data to test against.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 16:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768855#M1041056</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-03T16:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Relabelling Class Function Groups</title>
      <link>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768856#M1041057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan. It works! Much appreciated for all the support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Matt Phillip&lt;/P&gt;&lt;P&gt;Academic Administration Officer (Strategic Planning)&lt;/P&gt;&lt;P&gt;Planning Office&lt;/P&gt;&lt;P&gt;Abertay University&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The University of Abertay Dundee is a charity registered in Scotland, No: SC016040&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2014 08:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relabelling-Class-Function-Groups/m-p/768856#M1041057</guid>
      <dc:creator>mattphillip</dc:creator>
      <dc:date>2014-12-04T08:32:50Z</dc:date>
    </item>
  </channel>
</rss>

