<?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 Dates in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-in-Script/m-p/162061#M35701</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 think you syntax is not complete:&lt;/P&gt;&lt;P&gt;IF('[ProductLaunchDate]=&amp;lt;[Shipment Date]&amp;gt;[ProductLaunchDate]+365','Yes','No') as NewLaunchProduct,&lt;/P&gt;&lt;P&gt;Try: if([ProductLaunchDate]=&amp;lt;[Shipment Date] and [ProductLaunchDate]&amp;gt;([ProductLaunchDate]+365),'Yes','No') as NewLaunchProduct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2009 19:17:52 GMT</pubDate>
    <dc:creator>lmonincx</dc:creator>
    <dc:date>2009-11-23T19:17:52Z</dc:date>
    <item>
      <title>Dates in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Script/m-p/162060#M35700</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;Similar to my previous post on using ste analysis for calculating sales between dates. I would now like to bring a field into my script to say whether or not that line should be included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF('[ProductLaunchDate]=&amp;lt;[Shipment Date]&amp;gt;[ProductLaunchDate]+365','Yes','No') as NewLaunchProduct,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also tried using a variable but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help much appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 18:59:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Script/m-p/162060#M35700</guid>
      <dc:creator />
      <dc:date>2009-11-23T18:59:20Z</dc:date>
    </item>
    <item>
      <title>Dates in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-in-Script/m-p/162061#M35701</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 think you syntax is not complete:&lt;/P&gt;&lt;P&gt;IF('[ProductLaunchDate]=&amp;lt;[Shipment Date]&amp;gt;[ProductLaunchDate]+365','Yes','No') as NewLaunchProduct,&lt;/P&gt;&lt;P&gt;Try: if([ProductLaunchDate]=&amp;lt;[Shipment Date] and [ProductLaunchDate]&amp;gt;([ProductLaunchDate]+365),'Yes','No') as NewLaunchProduct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 19:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-in-Script/m-p/162061#M35701</guid>
      <dc:creator>lmonincx</dc:creator>
      <dc:date>2009-11-23T19:17:52Z</dc:date>
    </item>
  </channel>
</rss>

