<?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: Count Mathematical Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943097#M647207</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use only a single set modifier for CERTIFICATION_EXPIRATION_DATE. I think, if 2. is met, also 1. is met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only field names left of the equal sign, no expressions (which need to go into the advanced search):&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;count( {$&amp;lt;CERTIFICATION_EXPIRATION_DATE = {"&amp;gt;=$(=Date(Today()+1))&amp;lt;=$(=Date(Today()+30))"}&amp;gt;} RTC_TITLE)&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;You may need to add a date() format code to match the format of CERTIFICATION_EXPIRATION_DATE&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 16:01:51 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-19T16:01:51Z</dc:date>
    <item>
      <title>Count Mathematical Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943095#M647205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to add a condition to my count statement in order to factor in if an amount is in between two others. The conditions go as this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. The CERTIFICATION_EXPIRATION DATE must NOT be null or zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. The CERTIFICATION_EXPIRATION DATE minus vToday(Today's date) must be greater than or equal to 1 and less than or equal to 30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If these conditions are met, RTC_TITLE is to be counted. This is what I have so far with no luck:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {$&amp;lt;CERTIFICATION_EXPIRATION_DATE -= {''}, CERTIFICATION_EXPIRATION_DATE -= {0} , CERTIFICATION_EXPIRATION_DATE-vToday = {"&amp;lt;=$(=(30))", "&amp;gt;=$(=(1))"}&amp;gt;} RTC_TITLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 15:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943095#M647205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T15:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count Mathematical Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943096#M647206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe your third condition should take care of the first two:&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;&lt;STRONG&gt;=Count({$&amp;lt;CERTIFICATION_EXPIRATION_DATE = {"=(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CERTIFICATION_EXPIRATION_DATE - vToday)&lt;/SPAN&gt; &amp;lt;=30 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;CERTIFICATION_EXPIRATION_DATE - vToday) &lt;/SPAN&gt;&amp;gt;=1"}&amp;gt;} RTC_TITLE)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 15:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943096#M647206</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-19T15:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Count Mathematical Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943097#M647207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use only a single set modifier for CERTIFICATION_EXPIRATION_DATE. I think, if 2. is met, also 1. is met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only field names left of the equal sign, no expressions (which need to go into the advanced search):&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;count( {$&amp;lt;CERTIFICATION_EXPIRATION_DATE = {"&amp;gt;=$(=Date(Today()+1))&amp;lt;=$(=Date(Today()+30))"}&amp;gt;} RTC_TITLE)&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;You may need to add a date() format code to match the format of CERTIFICATION_EXPIRATION_DATE&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943097#M647207</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-19T16:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Count Mathematical Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943098#M647208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is wonderful and works great as always Sunny! I'm just trying to feed too much in the equation and overthinking it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate the help as always!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jordan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:02:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Mathematical-Expressions/m-p/943098#M647208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-19T16:02:58Z</dc:date>
    </item>
  </channel>
</rss>

