<?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 Get Only Two Decimal Values For Output! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315493#M1180806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Hi,&amp;nbsp;&amp;nbsp; Consider I'm using the following expression: &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;=((&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_AMT_PAYABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_CLM_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*100) ... The output is 99.98956896 something&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;How can I limit the expression to display &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;values only till two decimal places (like 99.98).&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Suggestions appreciated. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Shahbaaz.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 07:39:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-01-30T07:39:32Z</dc:date>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315493#M1180806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; Hi,&amp;nbsp;&amp;nbsp; Consider I'm using the following expression: &lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;=((&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_AMT_PAYABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_CLM_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*100) ... The output is 99.98956896 something&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;How can I limit the expression to display &lt;/DIV&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;values only till two decimal places (like 99.98).&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Suggestions appreciated. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN style="font-size: 8pt;"&gt;Shahbaaz.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 07:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315493#M1180806</guid>
      <dc:creator />
      <dc:date>2012-01-30T07:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315494#M1180807</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;Use this Expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num((&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;HCL_AMT_PAYABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;HCL_CLM_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*100,0.00)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Parag Patil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 07:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315494#M1180807</guid>
      <dc:creator />
      <dc:date>2012-01-30T07:47:27Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315495#M1180808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Parag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, but that does not seem to work. It shows "No data to display" irrespective of selections made. &lt;/P&gt;&lt;P&gt;I tried experimenting with the number format, but in vain.&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;Khaled,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 07:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315495#M1180808</guid>
      <dc:creator />
      <dc:date>2012-01-30T07:51:16Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315496#M1180809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Round(&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;HCL_AMT_PAYABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;HCL_CLM_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*100&lt;/SPAN&gt;, 0.01)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 07:58:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315496#M1180809</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-01-30T07:58:19Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315497#M1180810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Parag,&lt;/P&gt;&lt;P&gt;There are good solutions before my message.&lt;/P&gt;&lt;P&gt;But, perhaps, simply, in the properties, Number-Number Format Settings, Fixed to 2 decimals or Format Pattern #,##0.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 08:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315497#M1180810</guid>
      <dc:creator />
      <dc:date>2012-01-30T08:21:18Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315498#M1180811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should still be able to use the number format, but do not forget the single quotes. Try the following:&lt;/P&gt;&lt;P&gt;=Num((sum(HCL_AMT_PAYABLE)/sum(HCL_CLM_AMT))*100,'#,###.##')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 08:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315498#M1180811</guid>
      <dc:creator>pogrebnoymike</dc:creator>
      <dc:date>2012-01-30T08:39:41Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315499#M1180812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/khaledshahbaaz" id="jive-7506616350834367797276" style="background-color: #e0eaf3; font-size: 12px; color: #007fc0; font-weight: bold; font-family: Arial; text-align: center;"&gt;khaledshahbaaz&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1st way----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can go in the number tab in the chart and than go to then go to number setting formatting&lt;/P&gt;&lt;P&gt; set the value as--fix to 2 decimal places.&lt;/P&gt;&lt;P&gt;or go to the expression&lt;/P&gt;&lt;P&gt;2nd way---&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Num((sum(HCL_AMT_PAYABLE)/sum(HCL_CLM_AMT))*100,'#,###.##') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;Num((sum(HCL_AMT_PAYABLE)/sum(HCL_CLM_AMT))*100,'#,##0.00') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;Hope this wil help you&lt;BR /&gt;&lt;/SPAN&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;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #ffffff; font-family: Arial;"&gt;Kamal&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 10:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315499#M1180812</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2012-01-30T10:26:02Z</dc:date>
    </item>
    <item>
      <title>Get Only Two Decimal Values For Output!</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315500#M1180813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fixing the number format from the settings didn't work but yes, this expression worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=((&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_AMT_PAYABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;HCL_CLM_AMT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))*100) ,0.00)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everyone..!&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;-Khaled&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2012 20:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Only-Two-Decimal-Values-For-Output/m-p/315500#M1180813</guid>
      <dc:creator />
      <dc:date>2012-02-16T20:11:22Z</dc:date>
    </item>
  </channel>
</rss>

