<?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 and If(Count) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-If-Count/m-p/3174#M443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category] = {'Overall Customer Satisfaction'}&amp;gt;} VOC_Number) &amp;gt;0, Sum({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category]= {'Overall Customer Satisfaction'}&amp;gt;} [Question Score]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jan 2018 16:49:05 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-18T16:49:05Z</dc:date>
    <item>
      <title>Set Analysis and If(Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-If-Count/m-p/3173#M442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Dear Community&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please i need advise on the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Below is my formula works fine&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category]= {'Overall Customer Satisfaction'}&amp;gt;} [Question Score])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I need to update it to include an IF(Count), but am not sure where to place the If(count). this is so that the expected expression reads: &lt;STRONG&gt;If(COUNT(VOC_Number) &amp;gt;0, Perform the SUM above&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;i have tried placing it in the start of the expression, but it seems to affect the set analysis. Do i need an AGGR formula instead?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please advise&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Many Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-If-Count/m-p/3173#M442</guid>
      <dc:creator>triekong</dc:creator>
      <dc:date>2018-01-18T16:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis and If(Count)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-If-Count/m-p/3174#M443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=If(Count({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category] = {'Overall Customer Satisfaction'}&amp;gt;} VOC_Number) &amp;gt;0, Sum({$&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Max(MonthYear), -11), 'MMM-YYYY'))&amp;lt;=$(=Date(Max(MonthYear), 'MMM-YYYY'))"}, Month, [Question Category]= {'Overall Customer Satisfaction'}&amp;gt;} [Question Score]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 16:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-If-Count/m-p/3174#M443</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-18T16:49:05Z</dc:date>
    </item>
  </channel>
</rss>

