<?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: Problem with Num function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555803#M207527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this removing the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,'.',','&lt;/SPAN&gt;&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;"&gt;Num(InVoiceBudget_Amt_TY,'#,##0.0#;-#,##0.0#')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jan 2014 10:55:25 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-01-06T10:55:25Z</dc:date>
    <item>
      <title>Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555802#M207526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;Facing an issue with the number formatting, when I used the Num function on&amp;nbsp; a negative value as Num(InVoiceBudget_Amt_TY,'#,##0.0#;-#,##0.0#','.',',')&amp;nbsp; it gives a positive value as 11088128.1 which is actually -6421321.059525 at back end&lt;/P&gt;&lt;P&gt;If anybody has faced this issue earlier, could you share the details of possible solution?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:51:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555802#M207526</guid>
      <dc:creator />
      <dc:date>2014-01-06T10:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555803#M207527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this removing the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,'.',','&lt;/SPAN&gt;&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;"&gt;Num(InVoiceBudget_Amt_TY,'#,##0.0#;-#,##0.0#')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555803#M207527</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-01-06T10:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555804#M207528</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;= num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(-6421321.059525 ,'#,##0.0')&lt;BR /&gt;&lt;BR /&gt; It will return -6,421,321.1,&amp;nbsp; No matter the number is positive or negative... Use InVoiceBudget_Amt_TY instead of &lt;SPAN style="font-size: 8pt;"&gt;-6421321.059525&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Selvakuamr&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 11:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555804#M207528</guid>
      <dc:creator />
      <dc:date>2014-01-06T11:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555805#M207529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alan,&lt;/P&gt;&lt;P&gt;Thanks for your time and reply, I see removing the decimal and thousand separator is not an option for me, because my local environment has '.' as decimal separator and ',' as thousand separator, where as the QA and Prod environments uses them other way around, as the servers located in Europe. &lt;/P&gt;&lt;P&gt;I have tried over coming this by setting the system variables, but unfortunately that doesn't seems to serve the purpose, or may be I am missing some thing while setting the system variables, I used the below statements for setting the system variables &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='¥#,##0.00;¥-#,##0.00';&lt;/P&gt;&lt;P&gt;SET NumberFormat='#,##0.0#;-#,##0.0#';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my whole problem is about using the consistent decimal and thousand separators throughout the environments, I thought I could force it by using Num function, since setting the system variables didn't serve the purpose.&lt;/P&gt;&lt;P&gt;Does this strike any possible solution for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my sincere thanks for your time...&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 02:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555805#M207529</guid>
      <dc:creator />
      <dc:date>2014-01-07T02:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555806#M207530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked&amp;nbsp; your formula only and I got the correct result,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(-6421321.059525 ,'#,##0.0#;-#,##0.0####','.',',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the sample app showing error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555806#M207530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-07T04:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555807#M207531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want as same as your field then use text function i.e&lt;/P&gt;&lt;P&gt;text()&lt;/P&gt;&lt;P&gt;or you can use num function also like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Num(if(len(InVoiceBudget_Amt_TY)&amp;gt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;InVoiceBudget_Amt_TY&lt;/SPAN&gt;),'#,##0.0#;-#,##0.0#')&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;hope it helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555807#M207531</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-01-07T04:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Num function</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555808#M207532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your valuable suggestions friends,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;I found the problem is at data source - Ms Access selection query level itself, from the Access SQL the data returned is already formatted before it reaches the QV Load statement according to the regional settings, resolved this by resetting the Region &amp;amp; Language settings.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Best Regards,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 04:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Num-function/m-p/555808#M207532</guid>
      <dc:creator />
      <dc:date>2014-02-04T04:06:54Z</dc:date>
    </item>
  </channel>
</rss>

