<?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: Load number as string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311453#M1184359</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;This is the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time(Time#(Num(trahoi,'00.00'),'hh.mm'),'hh:mm TT') as trahoi1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 15:34:23 GMT</pubDate>
    <dc:creator>julruiz123</dc:creator>
    <dc:date>2011-11-11T15:34:23Z</dc:date>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311442#M1184344</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;I have the next situation, in a database is stored the time as follow &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9.01&lt;/P&gt;&lt;P&gt;6.45&lt;/P&gt;&lt;P&gt;7.10&lt;/P&gt;&lt;P&gt;8.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need replace point by colon, but the string change as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7:1&lt;/P&gt;&lt;P&gt;8:1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How i can prevent the zero runs out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 14:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311442#M1184344</guid>
      <dc:creator>julruiz123</dc:creator>
      <dc:date>2011-11-10T14:28:38Z</dc:date>
    </item>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311443#M1184345</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;Use Replace command like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Len(Replace( YourTimeField, ' . ', ' : ' ) ) = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 14:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311443#M1184345</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2011-11-10T14:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311444#M1184346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest parsing your time in as Time format, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;Time(Time#(YOURTIMEFIELDSTRING,'hh.mm'),'hh:mm') as TimeField,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: corrected time format output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 14:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311444#M1184346</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-10T14:42:45Z</dc:date>
    </item>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311445#M1184348</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;It doesn't work the two alternatives.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The strange thing is tha i try with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text(TimeField) but the result is the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7:1&lt;/P&gt;&lt;P&gt;8:1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 15:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311445#M1184348</guid>
      <dc:creator>julruiz123</dc:creator>
      <dc:date>2011-11-10T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311446#M1184350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the string change only after you applied Replace() function or if you just read it in from data base?&lt;/P&gt;&lt;P&gt;Could you check if you get a string or a numerical returned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use something like&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;num(TimeField,'00.00') as TimeField&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should get two decimal places. if you the use my above suggestion, you should get what you want. But maybe I just don't get what's going on. Could you post a small sample?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 15:32:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311446#M1184350</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-11-10T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311447#M1184352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might not be the correct way, but in the object that you have this field in go to the Number tab, set it Fixed to 2 decimals, and then change the Decimal separator to :&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 16:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311447#M1184352</guid>
      <dc:creator />
      <dc:date>2011-11-10T16:15:21Z</dc:date>
    </item>
    <item>
      <title>Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311448#M1184354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide a sample of your script when you get the unexpected value, so that we can make a better judgement of what you need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 22:02:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311448#M1184354</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-11-10T22:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311449#M1184355</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;This is the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to modify the field trahoi the zero runs out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 01:21:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311449#M1184355</guid>
      <dc:creator>julruiz123</dc:creator>
      <dc:date>2011-11-11T01:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311450#M1184356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try unfromatting your loaded fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Settings &amp;gt; Document Properties &amp;gt; Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Select the field of your choice, in this case &lt;STRONG&gt;trahoi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Klick the &lt;STRONG&gt;Default from Input&lt;/STRONG&gt; button and you will see that the format now changed to the value stored in the QVD, which is a two decimal numeric value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. I you want QlikView to always load the source format, you should also uncheck the &lt;STRONG&gt;Survive Reload&lt;/STRONG&gt; checkbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please notice that you can override the document's setting on a object level, in the object properties' number tab. In case your document settings look ok while your object presents the value incorrectly you should check the object level settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using QV10 SR3 there is no problem with setting the replacement already in the load script. Are you using an other version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Replace(col, '.', ':') as colon&lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;col&lt;/P&gt;&lt;P&gt;9.01&lt;/P&gt;&lt;P&gt;6.45&lt;/P&gt;&lt;P&gt;7.10&lt;/P&gt;&lt;P&gt;8.10&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 08:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311450#M1184356</guid>
      <dc:creator>ToniKautto</dc:creator>
      <dc:date>2011-11-11T08:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311451#M1184357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the attached file &lt;/P&gt;&lt;P&gt;hope this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any thing else then let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 08:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311451#M1184357</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-11-11T08:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311452#M1184358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the script that i tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A01:&lt;/P&gt;&lt;P&gt;LOAD tradoc, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trahoi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Time#(trahoi,'hh.mm'),'hh:mm TT') as trahoi1&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;INMTRA_EXT_Copia.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this is the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="img.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/8571_img.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 15:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311452#M1184358</guid>
      <dc:creator>julruiz123</dc:creator>
      <dc:date>2011-11-11T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Load number as string</title>
      <link>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311453#M1184359</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;This is the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time(Time#(Num(trahoi,'00.00'),'hh.mm'),'hh:mm TT') as trahoi1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 15:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-number-as-string/m-p/311453#M1184359</guid>
      <dc:creator>julruiz123</dc:creator>
      <dc:date>2011-11-11T15:34:23Z</dc:date>
    </item>
  </channel>
</rss>

