<?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: Date difference in separate field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520193#M194369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In scripting or Back end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Interval&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Date Sent - Date Received)&amp;nbsp; as&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Difference&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 06:46:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-23T06:46:40Z</dc:date>
    <item>
      <title>Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520189#M194365</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 fields Date Sent and Received&lt;/P&gt;&lt;P&gt;I want the difference of two fields in an another field say "Difference"&lt;/P&gt;&lt;P&gt;i.e Date Sent - Date Received = Difference&lt;/P&gt;&lt;P&gt;So that i can use the difference field in another chart as an expression.&lt;/P&gt;&lt;P&gt;I want the difference as number of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the Date.qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520189#M194365</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520190#M194366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the format of the fields is date , then you can simply subtract them and get the difference,&lt;/P&gt;&lt;P&gt;I format is not right the make those fields in date format by date, date \# or makedate functions and then substract them..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520190#M194366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-23T06:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520191#M194367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keerthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;(Date Sent - Date Received)&lt;/STRONG&gt; didnt worked?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520191#M194367</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520192#M194368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you Can use "&lt;STRONG&gt;&lt;EM&gt;Interval"&lt;/EM&gt;&lt;/STRONG&gt; function for this purpose&lt;/P&gt;&lt;P&gt;try it you will Succeed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520192#M194368</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520193#M194369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In scripting or Back end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Interval&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(Date Sent - Date Received)&amp;nbsp; as&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Difference&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520193#M194369</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520194#M194370</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;Use This Expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(num(ows_DateSentToUnderwriter)-num(ows_DateReceivedAon))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520194#M194370</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520195#M194371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;In scripting or Back end&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Interval&lt;STRONG style="font-style: inherit;"&gt;(Date Sent - Date Received, D hh:mm:ss)&amp;nbsp; as&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Difference&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-weight: inherit;"&gt;this will give you in Days&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 06:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520195#M194371</guid>
      <dc:creator />
      <dc:date>2013-12-23T06:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520196#M194372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can simple write&amp;nbsp; ows_DateSentToUnderwriter - ows_DateReceivedAon in your script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 07:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520196#M194372</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-12-23T07:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520197#M194373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if your date that is sent and recevied are in format MM/DD/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just check this script it gives correct diffrence in no of days.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a:&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sent,received&lt;/P&gt;&lt;P&gt;1/1/2013, 9/2/2013&lt;/P&gt;&lt;P&gt;2/1/2013,&amp;nbsp; 11/1/2013&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;LOAD Date(received) - Date(sent) as daydiff &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;resident a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table a;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 07:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520197#M194373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-23T07:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520198#M194374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;u can try the below in straight table :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Col1 -&amp;gt; ows_DateSentToUnderwriter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;co2 -&amp;gt; ows_DateReceivedAon&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ows_DateSentToUnderwriter - ows_DateReceivedAon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 07:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520198#M194374</guid>
      <dc:creator />
      <dc:date>2013-12-23T07:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520199#M194375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It comes in straight table. but i want the date difference for some other dimension&lt;/P&gt;&lt;P&gt;Ex: For UNDERWRITER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want it in a bar chart, with Underwriter as dimension and and average of date difference as expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me with this &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 08:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520199#M194375</guid>
      <dc:creator />
      <dc:date>2013-12-23T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520200#M194376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like attached sample?&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520200#M194376</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-12-23T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520201#M194377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create the difference of dates in script instead at front end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520201#M194377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-23T09:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date difference in separate field</title>
      <link>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520202#M194378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Tresesco &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-difference-in-separate-field/m-p/520202#M194378</guid>
      <dc:creator />
      <dc:date>2013-12-23T09:19:20Z</dc:date>
    </item>
  </channel>
</rss>

