<?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: Converting number (already hrs) to time format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884419#M308415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;interval(((sum(if(LabelField1='sec',valueField1)))/3600) / &lt;STRONG&gt;24&lt;/STRONG&gt;, 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or expression without interval, format as interval in number tab&lt;/P&gt;&lt;P&gt;((sum(if(LabelField1='sec',valueField1)))/3600) / 24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 19:17:21 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-06-12T19:17:21Z</dc:date>
    <item>
      <title>Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884415#M308411</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 a calculation where I sum up numbers (in s) to hours (by dividing by 3600)&amp;nbsp; so something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #ff8000; text-decoration: underline;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(LabelField1='sec',valueField1)))/3600&lt;STRONG style=": ; color: #ff8000; text-decoration: underline;"&gt;) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #ff8000; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt;Which returns a number like 51.473&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;The customer wants to see this now in the format hh;mm;ss though.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;When changing the presentation to Time i get 11:21:36&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Also, since I already calculate it in hrs that change would be wrong anyway.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Does anybody know how to convert the 51.473 (hrs) to hh;mm;ss time format?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 18:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884415#M308411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-12T18:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884416#M308412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;51.473 / 24&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.3333330154419px;"&gt;then use interval to format &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.3333330154419px;"&gt;&lt;BR /&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.3333330154419px;"&gt;interval (51473/24, 'hh:mm:ss')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 18:12:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884416#M308412</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-12T18:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884417#M308413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so you mean change the formular to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #ff8000; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; text-decoration: underline;"&gt;Interval&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(LabelField1='sec',valueField1)))/3600,'hh:mm:ss'&lt;STRONG style="color: #ff8000; text-decoration: underline;"&gt;)&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; text-decoration: underline;"&gt;?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;because this is not changing anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 18:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884417#M308413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-12T18:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884418#M308414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #ff8000; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff; text-decoration: underline;"&gt;Interval&lt;/SPAN&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(LabelField1='sec',valueField1)))/(3600*24),'hh:mm:ss'&lt;STRONG style="color: #ff8000; text-decoration: underline;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: #ff8000; text-decoration: underline;"&gt;This will change your time to number of days (before decimal part) and after decimal part will be time part.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 18:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884418#M308414</guid>
      <dc:creator />
      <dc:date>2015-06-12T18:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884419#M308415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;interval(((sum(if(LabelField1='sec',valueField1)))/3600) / &lt;STRONG&gt;24&lt;/STRONG&gt;, 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or expression without interval, format as interval in number tab&lt;/P&gt;&lt;P&gt;((sum(if(LabelField1='sec',valueField1)))/3600) / 24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 19:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884419#M308415</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-12T19:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884420#M308416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interval(Interval#(Sum({$&amp;lt;LabelField1={'sec'}&amp;gt;} valueField1) ,'s'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 19:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884420#M308416</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-12T19:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884421#M308417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Massimo... I used the second option.. Was easier &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 20:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884421#M308417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-12T20:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Converting number (already hrs) to time format</title>
      <link>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884422#M308418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one performance comparison between the initial Sum(If()) expression and a set expression version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic7.JPG" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/89329_QlikCommunity_Thread_168174_Pic7.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/89328_QlikCommunity_Thread_168174_Pic6.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set expression:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/89324_QlikCommunity_Thread_168174_Pic2.JPG" style="height: 238px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/89325_QlikCommunity_Thread_168174_Pic3.JPG" style="height: 366px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If())&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic5.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/89326_QlikCommunity_Thread_168174_Pic5.JPG" style="height: 359px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_168174_Pic4.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/89327_QlikCommunity_Thread_168174_Pic4.JPG" style="height: 237px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 21:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Converting-number-already-hrs-to-time-format/m-p/884422#M308418</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-12T21:14:29Z</dc:date>
    </item>
  </channel>
</rss>

