<?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: aggr if in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240664#M850816</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;go to chart Property &amp;gt; presentation &amp;gt; tick supress zero values.&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, 07 Mar 2017 09:57:26 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2017-03-07T09:57:26Z</dc:date>
    <item>
      <title>aggr if in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240663#M850815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate some help with getting the right result for the below expression. I have 3 dimensions Consultant, Fiscal Year, Site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two expressions I am trying are: In simple words, I want to sum(Activity) and count(Distinct (AttendanceDate)) with some exclusions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Specialty='Supplies', sum({$&amp;lt;Consultant-={'Mr C Mithun', 'Collins', 'M James', 'R Carl', 'Mr M Smith'}&amp;gt;} Activity),&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(Specialty='Accounts', sum({$&amp;lt;Consultant-={'K Romel', 'Ian Wong', 'Hayden'}&amp;gt;} Activity),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;{'YES/NO'='YES'}&amp;gt;}Activity))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=if(Specialty='Supplies', count({$&amp;lt;Consultant-={'Mr C Mithun', 'Collins', 'M James', 'R Carl', 'Mr M Smith'}&amp;gt;} DISTINCT (AttendanceDate)),&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(Specialty='Accounts', count({$&amp;lt;Consultant-={'K Romel', 'Ian Wong', 'Hayden'}&amp;gt;} &lt;SPAN style="font-size: 13.3333px;"&gt;DISTINCT (AttendanceDate))&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;COUNT(&lt;SPAN style="font-size: 13.3333px;"&gt;{&amp;lt;{'YES/NO'='YES'}&amp;gt;}&lt;/SPAN&gt;, DISTINCT(AttendanceDate))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What these does is they remove the values and it gives a 0 value against the names but I want the names to be excluded from the pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried aggr if(specialty-.....), Consultant, Fiscal Year, Site) as well but doesn't seem to work. Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthik&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/aggr-if-in-set-analysis/m-p/1240663#M850815</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: aggr if in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240664#M850816</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;go to chart Property &amp;gt; presentation &amp;gt; tick supress zero values.&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, 07 Mar 2017 09:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240664#M850816</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-03-07T09:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: aggr if in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240665#M850817</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;If above proposal dont work then you can try:&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;sum({$&amp;lt;Consultant-={'Mr C Mithun', 'Collins', 'M James', 'R Carl', 'Mr M Smith'}&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Specialty={'Supplies'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} Activity)&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;sum({$&amp;lt;Consultant-={'K Romel', 'Ian Wong', 'Hayden'}&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Specialty={'Accounts'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} Activity)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;+&lt;BR /&gt;&lt;/SPAN&gt;&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;{'YES/NO'='YES'}&lt;STRONG&gt;, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Specialty-={'Accounts', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Supplies&lt;/SPAN&gt;'}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;}Activity))&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;and the same modification for Count&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 11:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240665#M850817</guid>
      <dc:creator>tunoi</dc:creator>
      <dc:date>2017-03-07T11:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: aggr if in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240666#M850818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Prashant, that worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 12:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240666#M850818</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2017-03-07T12:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: aggr if in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240667#M850819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ionut, very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 12:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-if-in-set-analysis/m-p/1240667#M850819</guid>
      <dc:creator>infock12</dc:creator>
      <dc:date>2017-03-07T12:11:43Z</dc:date>
    </item>
  </channel>
</rss>

