<?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: how to implement the sql decimal() and round() in to the qlikview and in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337737#M412491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(ISNULL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt;)=0, Round(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt;), 0 ) AS &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 07:39:23 GMT</pubDate>
    <dc:creator>prma7799</dc:creator>
    <dc:date>2017-06-22T07:39:23Z</dc:date>
    <item>
      <title>how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337734#M412488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;how to implement the sql decimal() and round() in to the qlikview &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example 1:&lt;/P&gt;&lt;P&gt;round()&lt;/P&gt;&lt;P&gt;select round(field1,0) as field1 from table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exapmle 2:&lt;/P&gt;&lt;P&gt;decimal()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select convert(decimal(3,0),&lt;SPAN style="font-size: 13.3333px;"&gt;field1) as field1 &lt;SPAN style="font-size: 13.3333px;"&gt; from table1&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this qlikview script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337734#M412488</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-06-22T07:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337735#M412489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Round you can simply put &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;Round (Amount) as Amount&lt;/P&gt;&lt;P&gt;From ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for Decimal &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;Num(sum(sales),'##.00')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:22:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337735#M412489</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-06-22T07:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337736#M412490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thnaks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achive this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&amp;nbsp; round(isnull(field1,0),0) as field1 from table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337736#M412490</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-06-22T07:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337737#M412491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(ISNULL(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt;)=0, Round(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt;), 0 ) AS &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field1 &lt;/SPAN&gt; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337737#M412491</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-06-22T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337738#M412492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;how to do this&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;CASE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt; &lt;SPAN style="color: blue;"&gt;WHEN &lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;((field1 &lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;IS&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NOT&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NULL)&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;OR&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;(&lt;SPAN style="color: #808080; font-family: 'Courier New'; font-size: 13.3333px;"&gt;field2 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;IS&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NOT&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;NULL))&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;THEN&lt;/SPAN&gt; &lt;SPAN style="color: fuchsia;"&gt;ISNULL&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;(&lt;SPAN style="color: #808080; font-family: 'Courier New'; font-size: 13.3333px;"&gt;field1 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: red;"&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: red;"&gt;', '&lt;/SPAN&gt; &lt;SPAN style="color: gray;"&gt;+&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 2pt; margin-bottom: 2pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: fuchsia;"&gt;ISNULL&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: gray;"&gt;(&lt;SPAN style="color: #808080; font-family: 'Courier New'; font-size: 13.3333px;"&gt;field2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;''&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;ELSE&lt;/SPAN&gt; &lt;SPAN style="color: #808080; font-family: 'Courier New'; font-size: 13.3333px;"&gt;field3&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;END&lt;/SPAN&gt;&lt;SPAN style="color: gray;"&gt;)&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;AS&lt;/SPAN&gt; xxxx&lt;SPAN style="color: gray;"&gt;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 09:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337738#M412492</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-06-22T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to implement the sql decimal() and round() in to the qlikview and</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337739#M412493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&amp;nbsp; like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( ISNULL(Salary) = 0&amp;nbsp; or&amp;nbsp;&amp;nbsp; (ISNULL(Salary) &amp;lt;&amp;gt; 0 )&amp;nbsp; ,&amp;nbsp; ISNULL(Salary) &amp;amp;','&amp;amp;&amp;nbsp; ISNULL(Salary,'')&amp;nbsp; ,&amp;nbsp; (Salary) ) as XXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(wildmatch([Account Name],'*Hong Kong*', 'HK',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(wildmatch([Account Name],'*USA*', 'NY',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(wildmatch([Account Name],'*UK*','LDN',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'OTHER')))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please share some sample app&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;for SQL&amp;nbsp; Case statement we generally use "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;wildmatch" statement &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 09:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-implement-the-sql-decimal-and-round-in-to-the-qlikview/m-p/1337739#M412493</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-06-22T09:43:05Z</dc:date>
    </item>
  </channel>
</rss>

