<?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: Subtracting 2 fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070526#M357598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET TimestampFormat = 'DD/MM/YYYY hh:mm';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [First Pick Departure Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Last Drop Arrival Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interval(&amp;nbsp; [Last Drop Arrival Date]-[First Pick Departure Date]) as TravelTime,&lt;/P&gt;&lt;P&gt;,,&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jan 2016 17:25:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-01-26T17:25:48Z</dc:date>
    <item>
      <title>Subtracting 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070524#M357596</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;I have two field that l want to subtract. [Last Drop Arrival Date] minus [First Pick Departure Date]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 567px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="209"&gt;First Pick Departure Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="178"&gt;Last Drop Arrival Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="180"&gt;TravelTime&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;18/01/2016 12:47&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;18/01/2016 13:40&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;18/01/2016 18:52&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;18/01/2016 19:52&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;19/01/2016 00:50&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;19/01/2016 01:44&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;20/01/2016 03:20&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;20/01/2016 04:38&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting any results when l subtract the 2 fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 06:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070524#M357596</guid>
      <dc:creator />
      <dc:date>2016-01-26T06:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070525#M357597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need to help QlikView Understand you TimeStamp Fields using TimeStamp#() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last Drop Arrival Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;] - &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;First Pick Departure Date] as TravelTime;&lt;/SPAN&gt;&lt;/SPAN&gt;&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;TimeStamp#([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;First Pick Departure Date], 'DD/MM/YYYY hh:mm') as [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;First Pick Departure Date],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;TimeStamp#([&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last Drop Arrival Date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;], 'DD/MM/YYYY hh:mm') as [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last Drop Arrival Date&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 17:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070525#M357597</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-26T17:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070526#M357598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET TimestampFormat = 'DD/MM/YYYY hh:mm';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [First Pick Departure Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Last Drop Arrival Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interval(&amp;nbsp; [Last Drop Arrival Date]-[First Pick Departure Date]) as TravelTime,&lt;/P&gt;&lt;P&gt;,,&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 17:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070526#M357598</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-26T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Subtracting 2 fields</title>
      <link>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070527#M357599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the INTERVAL() function to calculate the difference between two time or date values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jan 2016 17:28:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Subtracting-2-fields/m-p/1070527#M357599</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2016-01-26T17:28:21Z</dc:date>
    </item>
  </channel>
</rss>

