<?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: Doubt with Class function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956668#M979167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just do this:&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;&lt;STRONG&gt;=IF(DIAS_PLAZO &amp;lt;= 30, '&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt;= x &amp;lt;= 30',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 60, '&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;30 &amp;lt; x &amp;lt;= 60&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 90, '6&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt; x &amp;lt;= 90&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 120, '9&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt; x &amp;lt;= 120&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;', &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt; 'x =&amp;lt; 120'))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 17:19:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-08-19T17:19:41Z</dc:date>
    <item>
      <title>Doubt with Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956667#M979166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(DIAS_PLAZO&amp;gt;=120, 'x =&amp;lt; 120', CLASS(DIAS_PLAZO, 30))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working ok, but i get this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="137.77777767181396" style="width: 168.777777671814px; height: 82.777777671814px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="164"&gt;0 &amp;lt;= x &amp;lt; 30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;30 &amp;lt;= x &amp;lt; 60&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 164px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;60 &amp;lt;= x &amp;lt; 90&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;90 &amp;lt;= x &amp;lt; 120&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i wanna see this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 0 &amp;lt;= x &amp;lt;= 30&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 30 &amp;lt; x &amp;lt;= 60&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 60 &amp;lt; x &amp;lt;= 90&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; 90 &amp;lt; x &amp;lt;= 120&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Is this possible?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&lt;SPAN style="color: #1f497d;"&gt;Regards,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 17:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956667#M979166</guid>
      <dc:creator />
      <dc:date>2015-08-19T17:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956668#M979167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just do this:&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;&lt;STRONG&gt;=IF(DIAS_PLAZO &amp;lt;= 30, '&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt;= x &amp;lt;= 30',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 60, '&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;30 &amp;lt; x &amp;lt;= 60&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 90, '6&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt; x &amp;lt;= 90&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;',&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #1f497d; font-size: 12.8000001907349px; font-family: arial, sans-serif;"&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF(DIAS_PLAZO &amp;lt;= 120, '9&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;0 &amp;lt; x &amp;lt;= 120&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: arial, sans-serif; font-size: 12.8000001907349px;"&gt;', &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;STRONG&gt; 'x =&amp;lt; 120'))))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 17:19:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956668#M979167</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-08-19T17:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956669#M979168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can easily replace the class() function with rounding functions ceil() and floor() , thus controlling which limit to exclude and include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; if(ID&amp;gt;120, dual('x &amp;gt; 120',121) , dual(floor(ID, 30) &amp;amp; ' &amp;lt; x &amp;lt;= '&amp;amp; ceil(ID, 30), ceil(ID,30) ) )&lt;/STRONG&gt; as Class;&lt;/P&gt;&lt;P&gt;LOAD recno() as ID&lt;/P&gt;&lt;P&gt;AutoGenerate 121;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 17:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956669#M979168</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-19T17:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt with Class function</title>
      <link>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956670#M979169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this equivalent values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 &amp;lt;= x &amp;lt; 31&lt;/P&gt;&lt;P&gt;31 &amp;lt;= x &amp;lt; 61&lt;/P&gt;&lt;P&gt;61 &amp;lt;= x &amp;lt; 91&lt;/P&gt;&lt;P&gt;91 &amp;lt;= x &amp;lt; 121&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; class(RowNo(),30,'x',1) as c&lt;/P&gt;&lt;P&gt;AutoGenerate 120;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 18:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doubt-with-Class-function/m-p/956670#M979169</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-08-19T18:08:50Z</dc:date>
    </item>
  </channel>
</rss>

