<?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: Convert decimal numbers to time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143080#M889900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Very Much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked very well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Sep 2016 05:13:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-06T05:13:18Z</dc:date>
    <item>
      <title>Convert decimal numbers to time</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143077#M889897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 tables in excell, A and B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A represents the number of hours in B in decimals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database just have the A column, so I cannot work with the datas of B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The totals are in the green charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, how can I have the '25:20:00' result with '21,6'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, I only have the 21,6 in qlikview, that has to be transformed into 25:20:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136455_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143077#M889897</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert decimal numbers to time</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143078#M889898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Interval&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Interval#&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Time_Nr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'#.#0'),'h.mm'),'hh:mm:ss') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Time_HHMM&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Time_Nr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,'#.#0') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Time_Nr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[&lt;BR /&gt; Time_Nr&lt;BR /&gt; 1.3&lt;BR /&gt; 0.1&lt;BR /&gt; 0.4&lt;BR /&gt; 3&lt;BR /&gt; 0.2&lt;BR /&gt; 0.5&lt;BR /&gt; 0.5&lt;BR /&gt; 0.1&lt;BR /&gt; 1.2&lt;BR /&gt; 0.2&lt;BR /&gt; 1.2&lt;BR /&gt; 3.5&lt;BR /&gt; 3&lt;BR /&gt; 0.2&lt;BR /&gt; 0.2&lt;BR /&gt; 0.1&lt;BR /&gt; 0.5&lt;BR /&gt; 0.2&lt;BR /&gt; 0.3&lt;BR /&gt; 1.1&lt;BR /&gt; 0.1&lt;BR /&gt; 2.1&lt;BR /&gt; 0.5&lt;BR /&gt; 1.1&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136487_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&amp;nbsp; check your decimal separator as well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 19:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143078#M889898</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-09-05T19:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Convert decimal numbers to time</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143079#M889899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is a way to just convert the single value 21,6 to 25:20:00, without knowing the detailed records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understood, you do have access to the detailed records, right? Then first convert every single record to a time value, then aggregate the values, for example like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time(Time#(A&amp;amp;'0','h,mm')) as B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;"1,3"&lt;/P&gt;&lt;P&gt;"1,1"&lt;/P&gt;&lt;P&gt;"0,2"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then just use&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;A&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Time(Sum(B))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;03:00:00 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;0,2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;00:20:00&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1,1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01:10:00&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1,3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;01:30:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 19:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143079#M889899</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-05T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Convert decimal numbers to time</title>
      <link>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143080#M889900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Very Much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It worked very well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 05:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Convert-decimal-numbers-to-time/m-p/1143080#M889900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T05:13:18Z</dc:date>
    </item>
  </channel>
</rss>

