<?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: Calculating Hours Between DateTime Stamp &amp; Change Date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408002#M815106</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using below expressions in pivots but it not giving me correct date &amp;amp; time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In load I have added below line&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(5) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[IN/Out]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'In', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - 1, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &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;[Actual Login Date/Time] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;and in pivot I have added below expressions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Login Date/Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Login Date/Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Sep 2017 14:03:05 GMT</pubDate>
    <dc:creator>DipeshVadgama</dc:creator>
    <dc:date>2017-09-13T14:03:05Z</dc:date>
    <item>
      <title>Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1407998#M815102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate total hour between each In &amp;amp; Out done by agents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And also I am try to add Actual Login Date. If any agent login between 12.00 AM to 5.00 AM then date should be minus 1 day else same date. I have attached demo file hope that will help.&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/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1407998#M815102</guid>
      <dc:creator>DipeshVadgama</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1407999#M815103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&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 Name, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Date/Time], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [IN/Out]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[..\..\Downloads\Book1.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, header is 1 lines, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Name = Previous(Name),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If([IN/Out] = 'In' and Previous([IN/Out]) = 'Out',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Interval(Previous([Date/Time]) - [Date/Time], 'h:mm'), 'Out Miss'), 'Out Miss'), 'Out Miss') as [Total Hour],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date(If(Time &amp;lt;= MakeTime(5) and [IN/Out] = 'In', Date - 1, Date)) as [Actual Login Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By Name, [Date/Time] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:17:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1407999#M815103</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408000#M815104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Thank, This works. with above code if I also want to add what is a Max (Date &amp;amp; Time) and Min (Date &amp;amp; time) to actual login date in pivot or at loading. ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408000#M815104</guid>
      <dc:creator>DipeshVadgama</dc:creator>
      <dc:date>2017-09-13T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408001#M815105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to do this in the pivot table I think&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 12:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408001#M815105</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T12:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408002#M815106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using below expressions in pivots but it not giving me correct date &amp;amp; time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In load I have added below line&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeTime&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(5) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[IN/Out]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'In', &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; - 1, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))+&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Time&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &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;[Actual Login Date/Time] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;and in pivot I have added below expressions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;min&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Login Date/Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Actual Login Date/Time]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408002#M815106</guid>
      <dc:creator>DipeshVadgama</dc:creator>
      <dc:date>2017-09-13T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408003#M815107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why are you adding time to this? I am not sure what you are looking to get... can you update your Excel to explain what you are looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408003#M815107</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408004#M815108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added pivot for reference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 14:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408004#M815108</guid>
      <dc:creator>DipeshVadgama</dc:creator>
      <dc:date>2017-09-13T14:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408005#M815109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, will check this in a little bit.... have to run for a meeting &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, 13 Sep 2017 14:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408005#M815109</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T14:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408006#M815113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate if any one can help me from here please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 15:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408006#M815113</guid>
      <dc:creator>DipeshVadgama</dc:creator>
      <dc:date>2017-09-13T15:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hours Between DateTime Stamp &amp; Change Date</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408007#M815114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176459_Capture.PNG" style="height: 93px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 16:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hours-Between-DateTime-Stamp-Change-Date/m-p/1408007#M815114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-09-13T16:53:26Z</dc:date>
    </item>
  </channel>
</rss>

