<?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 Difference between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204770#M61530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under Actions tab press "Add" button&lt;/P&gt;&lt;P&gt;Action type: Selection, Action: Select in Field, Press OK&lt;/P&gt;&lt;P&gt;In the field "Field" on the right, type the field name in your data model you want to select these days.&lt;/P&gt;&lt;P&gt;In the "Search String" field enter the expression I gave you: ='&amp;gt;' &amp;amp; addmonths(today(), -12) &amp;amp; ' &amp;lt;' &amp;amp; today()&lt;/P&gt;&lt;P&gt;Press OK and try the button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Feb 2011 11:14:41 GMT</pubDate>
    <dc:creator>disqr_rm</dc:creator>
    <dc:date>2011-02-08T11:14:41Z</dc:date>
    <item>
      <title>Difference between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204766#M61526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have one requirement where date difference should be 1 year. like below example&lt;/P&gt;&lt;P&gt;Today is 8th Feb 2011. I want to create one button which should select 1 year difference like 1st Feb 2010 to 31st Jan 2011 so the difference is 1 year.&lt;/P&gt;&lt;P&gt;If I refresh the dashboard in coming month from 1st march 2011 to 31st March 2011 then the Data selection should be 1st March 2010 to 29th Feb 2011.&lt;/P&gt;&lt;P&gt;Could you pls let me know how to implement this requirement.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 08:46:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204766#M61526</guid>
      <dc:creator />
      <dc:date>2011-02-08T08:46:49Z</dc:date>
    </item>
    <item>
      <title>AW:Difference between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204767#M61527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you can use a lot of datefunctions:&lt;/P&gt;&lt;P&gt;Year(Datefield) and (Year(Datefield)-1)&lt;/P&gt;&lt;P&gt;Makedate(Year(Datefield),Month(Datefiled),Day(Datefield)) and&lt;/P&gt;&lt;P&gt;Makedate((Year(Datefield)-1),Month(Datefiled),Day(Datefield))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 09:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204767#M61527</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-02-08T09:03:31Z</dc:date>
    </item>
    <item>
      <title>Difference between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204768#M61528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a button and put Action to select your Date field with following value expression:&lt;/P&gt;&lt;P&gt;='&amp;gt;' &amp;amp; addmonths(today(), -12) &amp;amp; ' &amp;lt;' &amp;amp; today()&lt;/P&gt;&lt;P&gt;This should select last 1 year dates, provided your Date field is actually a valid Date type content.&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 09:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204768#M61528</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-02-08T09:20:51Z</dc:date>
    </item>
    <item>
      <title>Difference between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204769#M61529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rakesh, but I am not sue how to proceed. I just created one button and under action tab I clicked on Add buttton here I have question what should I select and where I have to paste this formula?&lt;/P&gt;&lt;P&gt;But if I click on that button it should select 1 year difference data&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 10:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204769#M61529</guid>
      <dc:creator />
      <dc:date>2011-02-08T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Difference between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204770#M61530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Under Actions tab press "Add" button&lt;/P&gt;&lt;P&gt;Action type: Selection, Action: Select in Field, Press OK&lt;/P&gt;&lt;P&gt;In the field "Field" on the right, type the field name in your data model you want to select these days.&lt;/P&gt;&lt;P&gt;In the "Search String" field enter the expression I gave you: ='&amp;gt;' &amp;amp; addmonths(today(), -12) &amp;amp; ' &amp;lt;' &amp;amp; today()&lt;/P&gt;&lt;P&gt;Press OK and try the button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Feb 2011 11:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference-between-two-dates/m-p/204770#M61530</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-02-08T11:14:41Z</dc:date>
    </item>
  </channel>
</rss>

