<?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 Calculating data in same column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-data-in-same-column/m-p/369090#M1172694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, I need to calculate days in a column of dates for example :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10/01/2012&lt;/P&gt;&lt;P&gt;31/03/2012&lt;/P&gt;&lt;P&gt;05/04/2012 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that in the QVD I load, all the dates in the same column have the same field name. How do I calculate the number of days between the two different dates in this instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 09:07:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-25T09:07:03Z</dc:date>
    <item>
      <title>Calculating data in same column</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-data-in-same-column/m-p/369090#M1172694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys, I need to calculate days in a column of dates for example :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10/01/2012&lt;/P&gt;&lt;P&gt;31/03/2012&lt;/P&gt;&lt;P&gt;05/04/2012 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that in the QVD I load, all the dates in the same column have the same field name. How do I calculate the number of days between the two different dates in this instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 09:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-data-in-same-column/m-p/369090#M1172694</guid>
      <dc:creator />
      <dc:date>2012-05-25T09:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating data in same column</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-data-in-same-column/m-p/369091#M1172695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[test]:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/03/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/04/2012&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[test2]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,previous(F1) as PF1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,date#(F1, 'DD/MM/YYYY') - Date#(Previous(F1), 'DD/MM/YYYY') as F2&lt;/P&gt;&lt;P&gt;Resident [test];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;make sure you order them correctly during load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 09:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-data-in-same-column/m-p/369091#M1172695</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-05-25T09:43:41Z</dc:date>
    </item>
  </channel>
</rss>

