<?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: Set Analysis to exclude Dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995464#M338824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num(avg({&amp;lt;DateSignedYear={"&amp;gt;'01/01/2014'"}&amp;gt;} DateOfCreate - DateSigned),'#,##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 06:11:24 GMT</pubDate>
    <dc:creator>sasiparupudi1</dc:creator>
    <dc:date>2015-09-22T06:11:24Z</dc:date>
    <item>
      <title>Set Analysis to exclude Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995461#M338821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a date ranging from 03/20/1995 to 06/27/2015. I wan't to only include any data linked with years 2014 and 2015. How would I write the set analysis to exclude anything before 2014? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initial thoughts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(DateSigned &amp;lt;= '01/01/2014', null(),num(avg(date(DateOfCreation) - date(DateSigned)), '#,##0'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 21:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995461#M338821</guid>
      <dc:creator />
      <dc:date>2015-09-21T21:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to exclude Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995462#M338822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd suggest something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;num(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avg({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateSigned={"=year(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;DateSigned&lt;/SPAN&gt;)&amp;gt;=2014"}&lt;/SPAN&gt;&amp;gt;} DateOfCreation - DateSigned)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, '#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Oleg Troyansky&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=HEF4KYLLE22XIQH2"&gt;QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense&lt;/A&gt;&lt;IMG alt="" border="0" height="1" src="http://ir-na.amazon-adsystem.com/e/ir?t=natursyner0f-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1118949552" style="border: none !important; margin: 0px !important;" width="1" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 22:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995462#M338822</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-09-21T22:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to exclude Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995463#M338823</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 create new field for year of Date Signed in script using year()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like Year(DateSigned) as DateSignedYear&lt;/P&gt;&lt;P&gt;and use that field to compare in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;num(avg({&amp;lt;DateSignedYear={"&amp;lt;2014"}&amp;gt;} DateOfCreate - DateSigned),'#,##0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 04:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995463#M338823</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-09-22T04:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis to exclude Dates</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995464#M338824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num(avg({&amp;lt;DateSignedYear={"&amp;gt;'01/01/2014'"}&amp;gt;} DateOfCreate - DateSigned),'#,##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 06:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-exclude-Dates/m-p/995464#M338824</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-09-22T06:11:24Z</dc:date>
    </item>
  </channel>
</rss>

