<?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: Round() function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399908#M424529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much I see the Ceil() function is what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 19:37:39 GMT</pubDate>
    <dc:creator>Emmanuelle__Bustos</dc:creator>
    <dc:date>2017-09-22T19:37:39Z</dc:date>
    <item>
      <title>Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399903#M424524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I need to use the Round() function in order to round the data whit this logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the data has any decimal values it is rounded to .5 or next integer, if the data has no decimal values it remains as it is (integer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible: ie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.2&amp;nbsp; --&amp;gt; 1.5&lt;/P&gt;&lt;P&gt;1.6 --&amp;gt;&amp;nbsp; 2&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt;&amp;nbsp; 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 17:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399903#M424524</guid>
      <dc:creator>Emmanuelle__Bustos</dc:creator>
      <dc:date>2017-09-22T17:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399904#M424525</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;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Rounding2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177509_Rounding2.PNG" style="height: auto;" /&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;&lt;P&gt;Decimal part&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&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: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 2)), 0, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 2)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Rounded Number&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&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: #0000ff; font-size: 8pt;"&gt;IsNull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 2)), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&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: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 2) &amp;lt;=5, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 1) &amp;amp; '.' &amp;amp; '5'), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Num#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SubField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RoundingNumbers&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '.', 1) +1)))&lt;BR /&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Vijay&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 18:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399904#M424525</guid>
      <dc:creator>vvira1316</dc:creator>
      <dc:date>2017-09-22T18:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399905#M424526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be easier to use Frac function here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Frac(Number) &amp;gt; 0, Ceil(Number, 0.5), Number)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or just this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ceil(Number, 0.5) as Number&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 18:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399905#M424526</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-22T18:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399906#M424527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this out&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 Number,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Frac(Number) &amp;gt; 0, Ceil(Number, 0.5), Number) as Test1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ceil(Number, 0.5) as Test2;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&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/177513_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 18:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399906#M424527</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-22T18:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399907#M424528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your answer but I see that the @Sunny Talwar is a little more practice way and it solve my need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 19:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399907#M424528</guid>
      <dc:creator>Emmanuelle__Bustos</dc:creator>
      <dc:date>2017-09-22T19:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Round() function</title>
      <link>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399908#M424529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much I see the Ceil() function is what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 19:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Round-function/m-p/1399908#M424529</guid>
      <dc:creator>Emmanuelle__Bustos</dc:creator>
      <dc:date>2017-09-22T19:37:39Z</dc:date>
    </item>
  </channel>
</rss>

