<?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: Output total hours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12060#M790301</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;For me is working fine. Maybe Date formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share an example of your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 12:14:52 GMT</pubDate>
    <dc:creator>fvelascog72</dc:creator>
    <dc:date>2018-01-29T12:14:52Z</dc:date>
    <item>
      <title>Output total hours</title>
      <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12059#M790300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; num(Interval(Timestamp(Timestamp#(Closed, 'DD/MM/YYYY hh:mm:ss')) - Timestamp(Timestamp#(Created, 'DD/MM/YYYY hh:mm:ss')), 'hh'), '#.##') as [Time Open (hours)],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to pull total Open Hours.&lt;/P&gt;&lt;P&gt;Anyone see my error? I'm getting a blank output at the moment.&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/Output-total-hours/m-p/12059#M790300</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Output total hours</title>
      <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12060#M790301</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;For me is working fine. Maybe Date formats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share an example of your data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saludos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 12:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12060#M790301</guid>
      <dc:creator>fvelascog72</dc:creator>
      <dc:date>2018-01-29T12:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Output total hours</title>
      <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12061#M790302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which format are &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Closed and &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Created?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Interval(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Closed -Created)&amp;nbsp; should be enough &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 12:19:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12061#M790302</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2018-01-29T12:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Output total hours</title>
      <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12062#M790303</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;Try this&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="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;interval&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: #0000ff; font-size: 8pt;"&gt;Timestamp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Closed,'DD/MM/YYYY hh:mm:ss'))- num(Timestamp(Created, 'DD/MM/YYYY hh:mm:ss')),'hh'), '#.##') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 12:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12062#M790303</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-01-29T12:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output total hours</title>
      <link>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12063#M790304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you made sure to check if Closed and Created date were not getting correctly read as timestamps by QlikView? If they were, you could have just used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num#(Interval(Closed - Created, 'hh'), '##') as [Time Open (hours)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, do you need to convert hour into a number? if not, then Num#() function is not really needed.... but you can use it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, if you do need TimeStamp#(), then try like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num#(Interval(Timestamp#(Closed, 'DD/MM/YYYY hh:mm:ss') - Timestamp#(Created, 'DD/MM/YYYY hh:mm:ss'), 'hh'), '##') as [Time Open (hours)],&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 13:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Output-total-hours/m-p/12063#M790304</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-29T13:00:33Z</dc:date>
    </item>
  </channel>
</rss>

