<?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 Offset in Class() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022930#M938764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me to find out how Offset works in Class() Function??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Class(10,5,'X',&lt;STRONG&gt;3&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this 3 will be used in calculation while calculating expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 11:36:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-01T11:36:20Z</dc:date>
    <item>
      <title>Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022930#M938764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlikers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me to find out how Offset works in Class() Function??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Class(10,5,'X',&lt;STRONG&gt;3&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this 3 will be used in calculation while calculating expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022930#M938764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T11:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022931#M938765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;class( var,10,'x',5 )&lt;/SPAN&gt; with &lt;SPAN class="Italic"&gt;var&lt;/SPAN&gt; = 23 returns &lt;SPAN class="Italic"&gt;'15&amp;lt;=x&amp;lt;25&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022931#M938765</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-02-01T11:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022932#M938766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balraj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In class function 0 is normally the default starting point of the classification. By setting an offset you can change the default starting point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022932#M938766</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2016-02-01T11:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022933#M938767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already know this, I am asking how &lt;STRONG&gt;offset 5&lt;/STRONG&gt; is getting calculated here&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022933#M938767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T11:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022934#M938768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems to determine where you class starts from. Look at this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Age,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X', 3) as Class1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X') as Class2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Ceil(Rand()* 99) as Age&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1000;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="113169" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113169_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022934#M938768</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-01T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022935#M938769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jyothish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats fine.&amp;nbsp; But I tried lot with Class() calculation, here are some example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Class(30,4,'X',9) gives 29&amp;lt;=X&amp;lt;33&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 13.3333px;"&gt;Class(30,4,'X',8) gives 28&amp;lt;=X&amp;lt;32&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Class(30,4,'X') gives 28&amp;lt;=X&amp;lt;32&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How this offset values are being used here, like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;30-9+4&amp;nbsp;&amp;nbsp; or 30+9-4 like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022935#M938769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022936#M938770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny, thanks for sharing this...My concern is how this offset value change the min and max value&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022936#M938770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T11:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022937#M938771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the min and max value? of the underlying field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:53:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022937#M938771</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-01T11:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022938#M938772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mean to say,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For age 1, with offset how it is giving &lt;STRONG&gt;-2&amp;lt;=x&amp;lt;3 &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022938#M938772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T12:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022939#M938774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From Sunny's example&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Class(Age, 5, 'X') as Class2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;First Class starts from 0 to 5 as no offset is given... 1st class is 0&amp;lt;=X&amp;lt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for below example&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Class(Age, 5, 'X', 3) as Class1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Offset is 3..and Class range is 5... Here with offset the 1st Class with end with the offset value i.e. 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So the range would be &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SOMENUMBER &amp;lt;= X &amp;lt; 3 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;but you have Class Range is 5 so 3-5 = -2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Range is -2&amp;lt;=X&amp;lt;3&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:09:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022939#M938774</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-02-01T12:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022940#M938776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I guess that your range either needs to start with offset value or end with it. I tried this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Age,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X') as Class,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X', 1) as Class1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X', 2) as Class2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X', 3) as Class3,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Class(Age, 5, 'X', 4) as Class4;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Ceil(Rand()* 99) as Age&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1000;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113178_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1 the range start at 1, but for 2, 3, 4, it ends at the offset value. So it would depend how your underlying field data is If there were values like -1, then I would have assumed that for range 1 also it would have started like &lt;STRONG&gt;-4&amp;lt;=X&amp;lt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022940#M938776</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-01T12:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022941#M938778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as You have given the offset '&lt;STRONG&gt;3&lt;/STRONG&gt;' (Bucket will start from 3 if values are between 3 to &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; else for Age 1 which is not falling in 3 so. 1-3 =-2. hence -2 to 3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022941#M938778</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-02-01T12:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022942#M938780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, how QV decide where to start with offset value and where to end with offset value&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:25:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022942#M938780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-01T12:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022943#M938783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Class(Age, 5, 'X', 1) as Class1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;it is indeed start with -4 &amp;lt;=X &amp;lt; 1 but because you don't have 0 age, it's now showing...!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Use,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD Floor(Rand()* 99) as Age&lt;/P&gt;&lt;P&gt;Instead of Ceil(Rand()* 99) as Age&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022943#M938783</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-02-01T12:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022944#M938785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Offset&lt;/STRONG&gt; moves the limits of &lt;STRONG&gt;interval&lt;/STRONG&gt;. In Class(10,5,'X'), 5 is interval lenght and the intervals becomes like: 0-5, 5-10, 10-15, 15-20... When you put addition offset like: Class(10,5,'X' ,&lt;STRONG&gt;3&lt;/STRONG&gt;), the interval starts from&lt;STRONG&gt; 0+3 to 5+3 ....&lt;/STRONG&gt; i.e. 3-8, 8-13, 13-18...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022944#M938785</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-02-01T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022945#M938787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the lowest observation is 1 there is no point doing -4&amp;lt;=X&amp;lt;1 as nothing will be included in it. So it starts from 1&amp;lt;=X&amp;lt;6. But for other options such as offset 3, it would include 1 within -2&amp;lt;=X&amp;lt;3 so it starts from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022945#M938787</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-01T12:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022946#M938789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If no offset, the first range with Start with 0&lt;/P&gt;&lt;P&gt;If offset, the first range will end with that offset integer...&lt;/P&gt;&lt;P&gt;SIMPLE !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022946#M938789</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-02-01T12:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Offset in Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022947#M938790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Balraj!&lt;/P&gt;&lt;P&gt;Consider your example as&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Class(var,5,'X',3)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we see that the &lt;STRONG&gt;offset&lt;/STRONG&gt; value is &lt;STRONG&gt;3&lt;/STRONG&gt;. So among all the class interval values (depending on var), 3 has to be the either limits (lower &amp;amp; upper) of two of the class intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have &lt;STRONG&gt;interval range&lt;/STRONG&gt; of &lt;STRONG&gt;5. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With these data, you get the base class interval values i.e. a set of {-2,1,0,1,2} when &lt;STRONG&gt;upper&lt;/STRONG&gt; limit is 3. =&amp;gt; i.e. &lt;STRONG&gt;-2 &amp;lt;= x &amp;lt; 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and {3,4,5,6,7} when &lt;STRONG&gt;lower&lt;/STRONG&gt; limit is 3. =&amp;gt; &lt;STRONG&gt;3 &amp;lt;= x &amp;lt; 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Now that you have got the base range, you can get other class intervals on similar line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If var=1, o/p will be &lt;STRONG&gt;2 &amp;lt;= x &amp;lt; 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If var=7, o/p will be &lt;STRONG&gt;3 &amp;lt;= x &amp;lt; 7&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If var=8, o/p will be &lt;STRONG&gt;8&amp;lt;= x &amp;lt; 13&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and yes, in your example var=10. so it falls in the range of &lt;STRONG&gt;8&amp;lt;= x &amp;lt; 13&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 12:47:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Offset-in-Class/m-p/1022947#M938790</guid>
      <dc:creator>ahbzshk07</dc:creator>
      <dc:date>2016-02-01T12:47:33Z</dc:date>
    </item>
  </channel>
</rss>

