<?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 Hrs from 2 dates fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734805#M1054114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is what i came up with but its not working out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vHrsMult&lt;/P&gt;&lt;P&gt;* sum({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangesum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Assign Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,-[Received Date]))&lt;/P&gt;&lt;P&gt;/ Count({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;} [Assign Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Oct 2014 21:55:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-15T21:55:32Z</dc:date>
    <item>
      <title>Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734804#M1054113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you calculate hrs between columns L minus K ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see attached file for the format.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be highly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 21:51:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734804#M1054113</guid>
      <dc:creator />
      <dc:date>2014-10-15T21:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734805#M1054114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is what i came up with but its not working out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vHrsMult&lt;/P&gt;&lt;P&gt;* sum({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangesum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Assign Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,-[Received Date]))&lt;/P&gt;&lt;P&gt;/ Count({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;} [Assign Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 21:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734805#M1054114</guid>
      <dc:creator />
      <dc:date>2014-10-15T21:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734806#M1054115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the difference in hour between two dates&lt;/P&gt;&lt;P&gt;replace the dates with your fields&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;date#('2/13/2014 12:27', 'MM/DD/YYYY hh:mm') -&lt;/P&gt;&lt;P&gt;date#('2/12/2014 15:03', 'MM/DD/YYYY hh:mm')&lt;/P&gt;&lt;P&gt;) * 24&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 22:04:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734806#M1054115</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-15T22:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734807#M1054116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how would you change this formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;Where 'Assign Date' = L and 'Received Date' =K&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vHrsMult&lt;/P&gt;&lt;P&gt;* sum({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp; rangesum(&lt;/P&gt;&lt;P&gt;&amp;nbsp; [Assign Date]&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,-[Received Date]))&lt;/P&gt;&lt;P&gt;/ Count({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;} [Assign Date])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 22:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734807#M1054116</guid>
      <dc:creator />
      <dc:date>2014-10-15T22:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734808#M1054117</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;one solution might be to create a seperate interval field to calculate with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_137980_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69032_QlikCommunity_Thread_137980_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14134110695799166" jivemacro_uid="_14134110695799166"&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interval([Assign Date]-[Received Date]) as Interval&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FROM [&lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="132397" data-objecttype="13" href="http://community.qlik.com/servlet/JiveServlet/download/2003-137980-635003-132397/Example.txt"&gt;http://community.qlik.com/servlet/JiveServlet/download/635003-132397/Example.txt&lt;/A&gt;&lt;SPAN&gt;] (txt, unicode, embedded labels, delimiter is '\t', msq);&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&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>Wed, 15 Oct 2014 22:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734808#M1054117</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-10-15T22:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734809#M1054118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but how to implement "interval" into this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;vHrsMult&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;* sum({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;}&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; rangesum(&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; [Assign Date]&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; ,-[Received Date]))&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;/ Count({$&amp;lt;$(sMTD(Production)),[Submission Transaction Types]={'QUOTED'},[Received Via]={'BSS'}&amp;gt;} [Assign Date])&lt;/P&gt;&lt;P class="jive-thread-reply-btn" style="margin: 26px 0 -10px; font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;DIV class="jive-thread-reply-btn-correct" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/137980" style="margin: 0 20px 0 0; padding: 2px 14px 4px 28px; font-weight: bold; font-style: inherit; font-family: inherit; color: #3778c7; background-color: #f3f3f3;"&gt;Calculating Hrs from 2 dates fields&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 22:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734809#M1054118</guid>
      <dc:creator />
      <dc:date>2014-10-15T22:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734810#M1054119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;anyone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 00:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734810#M1054119</guid>
      <dc:creator />
      <dc:date>2014-10-16T00:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating Hrs from 2 dates fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734811#M1054120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry I a little confused. Just to be clear. You are asking how to get the difference of time between two values from two columns right? Sorry I am going to simplify this so its clear in this example,&lt;/P&gt;&lt;P&gt;row 1 column 1 = " your first timestamp "&lt;/P&gt;&lt;P&gt;row 1 column 2 = " your second timestamp "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you need the difference between the two in hours?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Oct 2014 02:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-Hrs-from-2-dates-fields/m-p/734811#M1054120</guid>
      <dc:creator>villegasi03</dc:creator>
      <dc:date>2014-10-16T02:32:09Z</dc:date>
    </item>
  </channel>
</rss>

