<?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: Hours between two dates- LoadInLine (newbee), does not work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75888#M12552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Hello Bhasker and all, after implementing the solution I received another challenge. How can I integrate condition of counting only "working hours" if that means MONDAY-FRIDAY 9AM-6PM?&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Can you help me?&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 17:17:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-16T17:17:46Z</dc:date>
    <item>
      <title>Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75883#M12547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Qlikview experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying newly to calculate simple difference between two dates in hours. I have tried to implement whats already discussed here but something does not work. What am I doing wrong? I'm new time strings. Thanks for help. I'm attaching data also -maybe there is wrong format?&lt;/P&gt;&lt;P&gt;My script is here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[tab1]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;:&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; &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: #800000; font-size: 8pt;"&gt;Modified&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Created&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 'hh:mm' )&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Hours]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; ; &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[tab2]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;:&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; *&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Created, Modified&lt;BR /&gt;&amp;nbsp; '3/20/2018 10:25', '3/20/2018 10:59'&lt;BR /&gt;&amp;nbsp; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; ;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Created&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Modified&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Modified By]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 07:16:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75883#M12547</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T07:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75884#M12548</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;please find attached the Qvw.&lt;/P&gt;&lt;P&gt;and script&lt;/P&gt;&lt;P&gt;LOAD *,interval(num(Modified) - num(Created),'dd:hh:mm:ss')as&amp;nbsp; Diff ;&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Created,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Modified&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[data.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is query);&lt;/P&gt;&lt;P&gt;&lt;IMG alt="hhh.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201926_hhh.PNG" style="height: 185px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 07:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75884#M12548</guid>
      <dc:creator>bhaskar_sm</dc:creator>
      <dc:date>2018-05-09T07:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75885#M12549</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;Qlikview is not able to identify that the fields Created and Modified are Dates. If you inform this to Qlikview then it works as you can see in the follow script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[tab1]:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Interval(Date#(Modified,'MM/DD/YYYY HH:mm') - Date#(Created,'MM/DD/YYYY HH:mm'), 'hh:mm' )&amp;nbsp; AS [Hours]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[tab2]:&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;nbsp; INLINE&lt;/P&gt;&lt;P&gt;&amp;nbsp; [&lt;/P&gt;&lt;P&gt;Created, Modified&lt;/P&gt;&lt;P&gt;&amp;nbsp; '3/20/2018 10:25', '3/20/2018 10:59'&lt;/P&gt;&lt;P&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 07:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75885#M12549</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-05-09T07:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75886#M12550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Bhasker, your solution works perfect! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 11:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75886#M12550</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-09T11:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75887#M12551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your problem is resolved, can you mark it correct to close this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2018 11:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75887#M12551</guid>
      <dc:creator>bhaskar_sm</dc:creator>
      <dc:date>2018-05-09T11:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hours between two dates- LoadInLine (newbee), does not work</title>
      <link>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75888#M12552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Hello Bhasker and all, after implementing the solution I received another challenge. How can I integrate condition of counting only "working hours" if that means MONDAY-FRIDAY 9AM-6PM?&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Can you help me?&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11pt;"&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 17:17:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Hours-between-two-dates-LoadInLine-newbee-does-not-work/m-p/75888#M12552</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-16T17:17:46Z</dc:date>
    </item>
  </channel>
</rss>

