<?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() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Class/m-p/1847538#M1215511</link>
    <description>&lt;P&gt;1. what is this 1440&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.why you typed '5','x','1'&lt;/P&gt;&lt;P&gt;what is the meaning of this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Oct 2021 16:30:54 GMT</pubDate>
    <dc:creator>nagasekhar</dc:creator>
    <dc:date>2021-10-15T16:30:54Z</dc:date>
    <item>
      <title>Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Class/m-p/570700#M479609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I am using this function call Class where it will categorize the value into groups&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say if my value output is 0 4 5 6 7 8 8 8 9 10 30&lt;/P&gt;&lt;P&gt;It will categorize to&lt;/P&gt;&lt;P&gt;0-3&amp;nbsp; -- 1&lt;/P&gt;&lt;P&gt;4-6&amp;nbsp; -- 3&lt;/P&gt;&lt;P&gt;7-9&amp;nbsp; -- 5&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using the function class(value,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However my value do contain negative such as -4 -7 -12 0 4 5 6 7 8 8 8 9 10 30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like all the negative to categorize to 0 and the rest will be 1-3 etc etc. how can this be done? i tried using this expression but it group all the negative to 0-3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tranship_Dwell&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; 0,'0',&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tranship_Dwell&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/1440)) ,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(var_Dwell)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 06:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class/m-p/570700#M479609</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-01-27T06:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Class/m-p/570701#M479610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tranship_Dwell&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt; 0,'0',&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Class&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tranship_Dwell&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;/1440)) ,'5','x','1')) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 07:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class/m-p/570701#M479610</guid>
      <dc:creator>n1ef5ng1</dc:creator>
      <dc:date>2014-01-27T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Class()</title>
      <link>https://community.qlik.com/t5/QlikView/Class/m-p/1847538#M1215511</link>
      <description>&lt;P&gt;1. what is this 1440&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.why you typed '5','x','1'&lt;/P&gt;&lt;P&gt;what is the meaning of this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 16:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Class/m-p/1847538#M1215511</guid>
      <dc:creator>nagasekhar</dc:creator>
      <dc:date>2021-10-15T16:30:54Z</dc:date>
    </item>
  </channel>
</rss>

