<?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 calulation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066711#M936477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly mark answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2016 18:24:56 GMT</pubDate>
    <dc:creator>kaushiknsolanki</dc:creator>
    <dc:date>2016-02-18T18:24:56Z</dc:date>
    <item>
      <title>Date calulation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066707#M936473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called Target date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target date &lt;/P&gt;&lt;P&gt;10/10/2017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on this date I need to calculate 3 more dates,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="x_MsoNormal" style="font-size: 12pt; font-family: 'Times New Roman', serif; color: #212121; text-indent: -0.25in;"&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; executed date&amp;nbsp; - 60 days prior to &lt;SPAN style="font-size: 13.3333px;"&gt;Target date &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal" style="font-size: 12pt; font-family: 'Times New Roman', serif; color: #212121; text-indent: -0.25in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Symbol;"&gt;·&lt;SPAN style="font-size: 7pt; font-family: 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN&gt;A&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;pproved date&amp;nbsp; - 7 days &lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 14.6667px; text-indent: -24px;"&gt;prior&amp;nbsp; to &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 14.6667px; text-indent: -24px;"&gt;executed&amp;nbsp; date&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="x_MsoNormal" style="font-size: 12pt; font-family: 'Times New Roman', serif; color: #212121; text-indent: -0.25in;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Symbol;"&gt;·&lt;SPAN style="font-size: 7pt; font-family: 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;Selected date&amp;nbsp;&amp;nbsp; - 45 days prior to &lt;SPAN style="text-indent: -24px; color: #212121; font-size: 7pt; font-family: arial, helvetica, sans-serif;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="text-indent: -24px; font-size: 11pt; font-family: Calibri, sans-serif; color: #1f497d;"&gt;pproved date &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here based on 10/10/2017,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executed date would be - 8/10/2017&lt;/P&gt;&lt;P&gt;Approved date would be - 1/10/2017&lt;/P&gt;&lt;P&gt;Selected date would be&amp;nbsp; - 11/15/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I acheive this&amp;nbsp; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066707#M936473</guid>
      <dc:creator />
      <dc:date>2016-02-18T17:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date calulation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066708#M936474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;date(num([Target Date])-60) as [Execute Date],&lt;/P&gt;&lt;P&gt;date(num([Target Date])-67) as [Approved Date],&lt;/P&gt;&lt;P&gt;date(num([Target Date])-112) as [Selected Date],&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066708#M936474</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-02-18T17:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date calulation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066709#M936475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(TargetDate -60)&amp;nbsp; for Executed Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(&lt;SPAN style="font-size: 13.3333px;"&gt;TargetDate -60 - 7) for Approved Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date&lt;SPAN style="font-size: 13.3333px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;TargetDate -60 - 7 - 45) for Selected Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066709#M936475</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-18T17:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date calulation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066710#M936476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you @kaushiksolanki&lt;/P&gt;&lt;P&gt;and @mw...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the belwo script and that worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(TargetDate -60)&amp;nbsp; as Executed Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date(Date(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;TargetDate -60 )- 7) as Approved Date&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;date(date(Date&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;TargetDate -60 )- 7)- 45) as Selected Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 17:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066710#M936476</guid>
      <dc:creator />
      <dc:date>2016-02-18T17:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Date calulation</title>
      <link>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066711#M936477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly mark answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 18:24:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-calulation/m-p/1066711#M936477</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-02-18T18:24:56Z</dc:date>
    </item>
  </channel>
</rss>

