<?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 Set Analysis using other fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196578#M505261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, You need to use $ expansion on the dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({&amp;lt;[ShipDate]={"&amp;gt;=$(=LaunchDate) &amp;lt;$(=date(([LaunchDate]+35)))"}&amp;gt;}Quantity)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 20:34:56 GMT</pubDate>
    <dc:creator>markmccoid</dc:creator>
    <dc:date>2009-09-23T20:34:56Z</dc:date>
    <item>
      <title>Set Analysis using other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196575#M505258</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 am trying to calculate the impact of a new product launch. A new product is only new for so long so need to use set analysis to restrict the date range.&lt;/P&gt;&lt;P&gt;Alongside each sales line I have the launch date for the product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in theory the set analysis should look something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt;[ShipDate]={"&amp;gt;=LaunchDate &amp;lt;([LaunchDate]+35)"}&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Quantity) however if I use this I get no results if I discreetly enter the dates I get the correct answer as below&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt;[ShipDate]={"&amp;gt;=LaunchDate &amp;lt;([LaunchDate]+35)"}&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Quantity)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example - am I just doing something wrong with the syntax for using the launchdate?&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>Wed, 23 Sep 2009 19:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196575#M505258</guid>
      <dc:creator />
      <dc:date>2009-09-23T19:38:06Z</dc:date>
    </item>
    <item>
      <title>Set Analysis using other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196576#M505259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;where are your example???&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 19:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196576#M505259</guid>
      <dc:creator />
      <dc:date>2009-09-23T19:41:48Z</dc:date>
    </item>
    <item>
      <title>Set Analysis using other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196577#M505260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Attachment should now be there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 19:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196577#M505260</guid>
      <dc:creator />
      <dc:date>2009-09-23T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Set Analysis using other fields</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196578#M505261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, You need to use $ expansion on the dates:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;sum({&amp;lt;[ShipDate]={"&amp;gt;=$(=LaunchDate) &amp;lt;$(=date(([LaunchDate]+35)))"}&amp;gt;}Quantity)&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 20:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-other-fields/m-p/196578#M505261</guid>
      <dc:creator>markmccoid</dc:creator>
      <dc:date>2009-09-23T20:34:56Z</dc:date>
    </item>
  </channel>
</rss>

