<?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 Converting number to Text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084450#M640004</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 a field called Time which is a numerical field.&amp;nbsp; If the time is 13:45:52 then the value will be 134552.&amp;nbsp; However, if the time is 00:03:24 then the value in the field is 324.&amp;nbsp; I would like it to show 000324 so that I can then use the maketime function to convert it back into a real time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I convert the number 324 into text '000324' in the load script? Or is there another way to convert 324 into a time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 16:07:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-03T16:07:15Z</dc:date>
    <item>
      <title>Converting number to Text</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084450#M640004</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 a field called Time which is a numerical field.&amp;nbsp; If the time is 13:45:52 then the value will be 134552.&amp;nbsp; However, if the time is 00:03:24 then the value in the field is 324.&amp;nbsp; I would like it to show 000324 so that I can then use the maketime function to convert it back into a real time format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I convert the number 324 into text '000324' in the load script? Or is there another way to convert 324 into a time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084450#M640004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number to Text</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084451#M640005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: line-through;"&gt;Num(TimeFieldName, '000000') as TimeFieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Time(Time#(Num(TimeFieldName, '000000'), 'hhmmss')) as TimeFieldNew,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TimeFieldName;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TimeFieldName&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;324&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;134552&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="116850" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/116850_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:09:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084451#M640005</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-03T16:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number to Text</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084452#M640007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;Can you please try using the below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; replace(time,':','') as one_way;&lt;/P&gt;&lt;P&gt;load * inline [&lt;/P&gt;&lt;P&gt;time&lt;/P&gt;&lt;P&gt;13:45:52&lt;/P&gt;&lt;P&gt;00:03:24&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreeman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-to-Text/m-p/1084452#M640007</guid>
      <dc:creator />
      <dc:date>2016-03-03T16:34:05Z</dc:date>
    </item>
  </channel>
</rss>

