<?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: Format number in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289631#M403435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a screenshot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2017 17:14:21 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-20T17:14:21Z</dc:date>
    <item>
      <title>Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289625#M403429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Need a little help in getting my number format right in my load script.&amp;nbsp; Here is what I have.......but not working.&lt;/P&gt;&lt;P&gt;Thanks in advance.&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: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;trim&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;) &amp;gt; 0), &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;) - &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;), &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;) - &lt;SPAN style="color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;HireDate&lt;/SPAN&gt;)) / 365,'00')) as &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[LOS] &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289625#M403429</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2017-01-20T16:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289626#M403430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thom,&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;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;((&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Len&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;trim&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;) &amp;gt; 0), &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;) - &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;),&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;) - &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;HireDate&lt;/SPAN&gt;)) / 365,'#,##0.00')) as &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[LOS]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Enrique.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289626#M403430</guid>
      <dc:creator>eespiritu</dc:creator>
      <dc:date>2017-01-20T16:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289627#M403431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(If(Len(trim(Acq_Hire_Date) &amp;gt; 0, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastWorked_Date - Acq_Hire_Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastWorked_Date - HireDate)/365),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;'00') as [LOS]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289627#M403431</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-20T16:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289628#M403432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(Len(Trim(&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Acq_Hire_Date))&amp;gt;0, Num(&lt;SPAN&gt;LastWorked_Date&lt;/SPAN&gt; - &lt;SPAN&gt;Acq_Hire_Date&lt;/SPAN&gt;), Num((&lt;SPAN&gt;LastWorked_Date&lt;/SPAN&gt; - &lt;SPAN&gt;HireDate)/365&lt;/SPAN&gt;)) as LOS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;Split to diff expressions and then try &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:58:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289628#M403432</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-01-20T16:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289629#M403433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289629#M403433</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2017-01-20T17:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289630#M403434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;nope&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289630#M403434</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2017-01-20T17:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289631#M403435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a screenshot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289631#M403435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-20T17:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289632#M403436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;((&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #0000ff;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;HireDate&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;SPAN style="color: #3d3d3d;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;LastWorked_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;) - &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Acq_Hire_Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;) / 365,'00')) as &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[LOS]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289632#M403436</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T17:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289633#M403437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it to work.&amp;nbsp; Thanks everyone for your help.&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;((&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;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Acq_Hire_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;gt; 0), &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: #800000; font-size: 8pt;"&gt;LastWorked_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &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: #800000; font-size: 8pt;"&gt;Acq_Hire_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &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: #800000; font-size: 8pt;"&gt;LastWorked_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) - &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: #800000; font-size: 8pt;"&gt;HireDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) / 365),'00') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[LOS]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 17:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289633#M403437</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2017-01-20T17:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Format number in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289634#M403438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, if you got what you wanted, I would suggest closing this thread by marking your own response as the correct answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2017 15:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Format-number-in-load-script/m-p/1289634#M403438</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-21T15:26:05Z</dc:date>
    </item>
  </channel>
</rss>

