<?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: Função Class() apresentando em decimal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811231#M667122</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;thanks, you're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this thread, if there are no further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 11:25:51 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-11-12T11:25:51Z</dc:date>
    <item>
      <title>Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811226#M667115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boa tarde gente&lt;/P&gt;&lt;P&gt;eu preciso fazer essa função no Qlikview, e trazer da forma abaixo,porém não tem essas funções la.&lt;/P&gt;&lt;P&gt;Alguem consegue me ajudar como trazer de forma similar.&lt;/P&gt;&lt;P&gt;Por exemplo, ao escolher a faixa 30, ele deve apresentar de R$ 0,00 - R$ 29,99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e no qlikview só consigo mostrar dessa forma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/70978_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ou no máximo assim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/70979_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811226#M667115</guid>
      <dc:creator>qlik_</dc:creator>
      <dc:date>2014-11-11T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811227#M667116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Para um relatório em PHP consigo calcular desta forma e apresentar assim&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;FLOOR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt;VLR_BASE_CALCULO&lt;SPAN style="color: gray;"&gt;)/&lt;/SPAN&gt;@FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;*&lt;/SPAN&gt; @FAIXA &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt; VLR_FAIXA_INI&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: blue;"&gt;CASE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt; &lt;SPAN style="color: blue;"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: fuchsia;"&gt;FLOOR&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;VLR_BASE_CALCULO&lt;SPAN style="color: gray;"&gt;)/&lt;/SPAN&gt;@FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;*&lt;/SPAN&gt; @FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: fuchsia;"&gt;CEILING&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;/SPAN&gt;VLR_BASE_CALCULO&lt;SPAN style="color: gray;"&gt;)/&lt;/SPAN&gt;@FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;*&lt;/SPAN&gt; @FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: blue;"&gt;THEN&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;CEILING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt;VLR_BASE_CALCULO&lt;SPAN style="color: gray;"&gt;)/&lt;/SPAN&gt;@FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;*&lt;/SPAN&gt; @FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;+&lt;/SPAN&gt; @FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;-&lt;/SPAN&gt; 0.01&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: blue;"&gt;ELSE&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;CEILING&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;ABS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt;VLR_BASE_CALCULO&lt;SPAN style="color: gray;"&gt;)/&lt;/SPAN&gt;@FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;*&lt;/SPAN&gt; @FAIXA&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;-&lt;/SPAN&gt; 0.01&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New'; color: blue;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt; &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt; VLR_FAIXA_FIM&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P align="left" style="text-align: left;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Courier New';"&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/70980_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 15:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811227#M667116</guid>
      <dc:creator>qlik_</dc:creator>
      <dc:date>2014-11-11T15:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811228#M667117</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;"&gt;Boa tarde carla,&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;one solution for this question could be:&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Dual(Num(SubField(Class(value,30),' &amp;lt;= x &amp;lt; ',1),'R$ #.##0,00')&amp;amp;' - '&amp;amp;Num(SubField(Class(value,30),' &amp;lt;= x &amp;lt; ',2)-0.01,'R$ #.##0,00'),Class(value,30))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71007_QlikCommunity_Thread_141673_Pic1.JPG.jpg" /&gt;&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic4.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71008_QlikCommunity_Thread_141673_Pic4.JPG.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Due to the creation of dual values, you even don't have to care about sorting expressions:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71015_QlikCommunity_Thread_141673_Pic2.JPG.jpg" style="width: 620px; height: 260px;" /&gt;&lt;/SPAN&gt;&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic3.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71016_QlikCommunity_Thread_141673_Pic3.JPG.jpg" style="width: 620px; height: 360px;" /&gt;&lt;/SPAN&gt;&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;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14157393515148612" jivemacro_uid="_14157393515148612"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dual(Num(SubField(Class(value,30),' &amp;lt;= x &amp;lt; ',1),'R$ #.##0,00')&amp;amp;' - '&amp;amp;Num(SubField(Class(value,30),' &amp;lt;= x &amp;lt; ',2)-0.01,'R$ #.##0,00'),Class(value,30)) as class;&lt;/P&gt;
&lt;P&gt;LOAD Round(Rand()*1100,0.01) as value&lt;/P&gt;
&lt;P&gt;AutoGenerate 200;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 20:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811228#M667117</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-11T20:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811229#M667118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or using dynamic front end expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic5.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71021_QlikCommunity_Thread_141673_Pic5.JPG.jpg" style="width: 620px; height: 329px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_141673_Pic6.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/71022_QlikCommunity_Thread_141673_Pic6.JPG.jpg" style="width: 620px; height: 171px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 21:10:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811229#M667118</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-11T21:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811230#M667120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much&lt;/P&gt;&lt;P&gt;perfect solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811230#M667120</guid>
      <dc:creator>qlik_</dc:creator>
      <dc:date>2014-11-12T11:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Função Class() apresentando em decimal</title>
      <link>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811231#M667122</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;thanks, you're welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this thread, if there are no further questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 11:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Fun%C3%A7%C3%A3o-Class-apresentando-em-decimal/m-p/811231#M667122</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-12T11:25:51Z</dc:date>
    </item>
  </channel>
</rss>

