<?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 How to FindOut Year Month from Date Diff. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373035#M138709</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;Please anyone provide me YearMonth Date Diff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&amp;nbsp; Date1: ﻿﻿﻿﻿10/07/2000, Date2: 28/03/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Result I want:&amp;nbsp; Total Diff: 11.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp; to do this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Help me.&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;Ravi Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Mar 2012 07:53:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-28T07:53:55Z</dc:date>
    <item>
      <title>How to FindOut Year Month from Date Diff.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373035#M138709</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;Please anyone provide me YearMonth Date Diff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&amp;nbsp; Date1: ﻿﻿﻿﻿10/07/2000, Date2: 28/03/2012&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Result I want:&amp;nbsp; Total Diff: 11.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp; to do this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly Help me.&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;Ravi Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 07:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373035#M138709</guid>
      <dc:creator />
      <dc:date>2012-03-28T07:53:55Z</dc:date>
    </item>
    <item>
      <title>How to FindOut Year Month from Date Diff.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373036#M138710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi Gupta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the expression depends on how you define the month difference.&lt;/P&gt;&lt;P&gt;If you define it by calculating the number of month changes, you could use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(((year('28/03/2012')*12)+month('28/03/2012')) - (((year('10/07/2000')*12)+month('10/07/2000'))))/12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or more general&lt;/P&gt;&lt;P&gt;=(((year(EndDateField)*12)+month(EndDateField)) - (((year(StartDateField)*12)+month(StartDateField))))/12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:23:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373036#M138710</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-28T09:23:29Z</dc:date>
    </item>
    <item>
      <title>How to FindOut Year Month from Date Diff.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373037#M138711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Dear Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Ravi Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373037#M138711</guid>
      <dc:creator />
      <dc:date>2012-03-28T09:50:47Z</dc:date>
    </item>
    <item>
      <title>How to FindOut Year Month from Date Diff.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373038#M138712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to append data in same qvd file then I found some error can you provide me solution &amp;amp; I follow some step Pls check if you hv any concern pls let me know:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I followed following steps, Please check this reply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step1:&amp;nbsp; create qvd file from Excel sheet then store qvd file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step2:&amp;nbsp; concanete qvd file with same excel sheet( one column status change in sheet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step3:&amp;nbsp;&amp;nbsp; After concating I check qvd file then i found no data only found xml represation data but data is not shoing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are step are we follow Please find out Code&amp;nbsp; for your refrence:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDateStamp = date(today(), 'DDMMYYYY');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF&amp;nbsp; filetime('E:\Path MIS\New_Data_MIS\ResourceFile_Temp.qvd')&amp;gt;0 THEN&lt;/P&gt;&lt;P&gt;ResourceFile:&lt;BR /&gt;LOAD RES_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RES_NAME, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS&lt;BR /&gt;FROM&amp;nbsp; &lt;C&gt;&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate &lt;/P&gt;&lt;P&gt;LOAD * FROM E:\Path MIS\New_Data_MIS\ResourceFile.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE ResourceFile INTO E:\Path MIS\New_Data_MIS\ResourceFile.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ResourceFile:&lt;BR /&gt;LOAD RES_ID, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RES_NAME, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS&lt;BR /&gt;FROM&amp;nbsp; &lt;C&gt;&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;/C&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE ResourceFile INTO E:\Path MIS\New_Data_MIS\ResourceFile.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP table ResourceFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ravi Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 09:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-FindOut-Year-Month-from-Date-Diff/m-p/373038#M138712</guid>
      <dc:creator />
      <dc:date>2012-03-28T09:55:02Z</dc:date>
    </item>
  </channel>
</rss>

