<?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 if question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if-question/m-p/112500#M763746</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.= Sum(Aggr(IF(count({$&amp;lt;Entity={'RNA'},[Reporting Date]={"&amp;gt;=$(=Addmonths(max({1}[Reporting Date]),-5))"}&amp;gt;}aggr($(vColorIndex),[Reporting Month-Year],Entity)) = 1, 1,0), Entity))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;&lt;SPAN style="color: #000000;"&gt;2.&lt;/SPAN&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;May be try this in your set&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;&lt;SPAN style="color: #ff6600; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;= &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({$&amp;lt;Entity={'RNA'},[Reporting Date]={"&amp;gt;=$(=Addmonths(max({1}[Reporting Date]),-12))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Addmonths(max({1}[Reporting Date]),-6))&lt;/SPAN&gt;"}&amp;gt;}aggr($(vColorIndex),[Reporting Month-Year],Entity)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2018 01:19:35 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2018-07-23T01:19:35Z</dc:date>
    <item>
      <title>Count if question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-question/m-p/112499#M763745</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've got 2 separate questions here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) How do I adjust the expression below to give me a count of items that =1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({$&amp;lt;Entity={'RNA'},[Reporting Date]={"&amp;gt;=$(=Addmonths(max({1}[Reporting Date]),-5))"}&amp;gt;}aggr($(vColorIndex),[Reporting Month-Year],Entity))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The expression below gives me a count of items for the prior 6 months, how do I adjust it to give me the count for items 7-12 months ago? e.g. - for the 6 month period prior to the most recent 6 months. So if the most recent 6 months are July-Dec, I want to find the count for Jan-June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-question/m-p/112499#M763745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count if question</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-question/m-p/112500#M763746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.= Sum(Aggr(IF(count({$&amp;lt;Entity={'RNA'},[Reporting Date]={"&amp;gt;=$(=Addmonths(max({1}[Reporting Date]),-5))"}&amp;gt;}aggr($(vColorIndex),[Reporting Month-Year],Entity)) = 1, 1,0), Entity))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;&lt;SPAN style="color: #000000;"&gt;2.&lt;/SPAN&gt;&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;May be try this in your set&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;&lt;SPAN style="color: #ff6600; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;= &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;count({$&amp;lt;Entity={'RNA'},[Reporting Date]={"&amp;gt;=$(=Addmonths(max({1}[Reporting Date]),-12))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Addmonths(max({1}[Reporting Date]),-6))&lt;/SPAN&gt;"}&amp;gt;}aggr($(vColorIndex),[Reporting Month-Year],Entity)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 01:19:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-question/m-p/112500#M763746</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-07-23T01:19:35Z</dc:date>
    </item>
  </channel>
</rss>

