<?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: Store value as Num in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583247#M683475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;QlikView supports a maximum of 14 digits in your number. If it is longer than that,&amp;nbsp; it will be interpreted a a text.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;First, you can use evaluate() to convert your original text into a integer.Then, you can use NUM to format it appropriately&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try Below &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;num( EVALUATE(YourFieldName),'#0') AS YourFieldName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 07:11:13 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-02-28T07:11:13Z</dc:date>
    <item>
      <title>Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583246#M683474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have account no as below, how to make the account no '979987980000000' become a number, all the account no aligned to the right?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Num.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54000_Num.PNG.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583246#M683474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583247#M683475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;QlikView supports a maximum of 14 digits in your number. If it is longer than that,&amp;nbsp; it will be interpreted a a text.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;First, you can use evaluate() to convert your original text into a integer.Then, you can use NUM to format it appropriately&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Try Below &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;num( EVALUATE(YourFieldName),'#0') AS YourFieldName&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583247#M683475</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-28T07:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583248#M683476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Evaluate(AccountNo) as N,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583248#M683476</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-02-28T07:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583249#M683477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But if it is an account number, it would be better to treat it as a unique key instead of as a number. I would instead &lt;EM&gt;remove&lt;/EM&gt; the numeric interpretation by wrapping it in the Text() function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text(AccountNo) as AccountNo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583249#M683477</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-28T07:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583250#M683478</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 Num(), otherwise you can align all the values to the right by changing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties -&amp;gt; Presentation -&amp;gt; Alignment -&amp;gt; Text and Numbers to Right&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>Fri, 28 Feb 2014 07:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583250#M683478</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-28T07:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583251#M683479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-avatarid="-1" data-userid="130679" data-username="SurynnChin" href="https://community.qlik.com/people/SurynnChin" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7;"&gt;SurynnChin&lt;/A&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its easy on presentation tab make alignment as right .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i got your solution &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 07:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583251#M683479</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-02-28T07:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583252#M683480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you elaborate more? Is there any advantage to store the account number as a text instead of num?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 11:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583252#M683480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583253#M683481</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;since NumFormat has capacity to display 14 digit number. more than 14 digit number show in text.&lt;/P&gt;&lt;P&gt;for this use it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Evaluate(AccountNo) as AccountNo_new&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:05:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583253#M683481</guid>
      <dc:creator />
      <dc:date>2014-02-28T12:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583254#M683482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I assume that AccountNo is an ID that you will use only as a key or selection field, and that you will &lt;EM style="text-decoration: underline;"&gt;never&lt;/EM&gt; make any arithmetic calculations with it. If so, there are no longer any major advantages with having it as a number. (Except that a number takes less space in RAM than a string.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further, you have an account number that cannot be represented exactly as a number. You can use Evaluate() to assign a numeric value to it, but you will lose information. For instance, the following two account numbers will be assigned &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;the same&lt;/EM&gt;&lt;/SPAN&gt; numeric value:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;979987980000000&lt;/SPAN&gt;000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;979987980000000&lt;/SPAN&gt;001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the advantage with storing it as text, is that you &lt;EM&gt;don't lose any information&lt;/EM&gt;: The two account numbers above will still be two separate account numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583254#M683482</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-28T12:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583255#M683483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use text(AccountNo) as AccountNo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583255#M683483</guid>
      <dc:creator>ashwanin</dc:creator>
      <dc:date>2014-02-28T12:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Store value as Num</title>
      <link>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583256#M683484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your explanation.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I never knew that i will lose information if i store it as a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-value-as-Num/m-p/583256#M683484</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T12:46:53Z</dc:date>
    </item>
  </channel>
</rss>

