<?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 Set Analysis - using with sum(aggr(count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668191#M729083</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a chart in my application which uses the following expression and works great.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum(aggr(count(distinct CONTRACT_ID),C_MCH_CODE,C_MONTH))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However - what I would like to do is stop&amp;nbsp; this expression being a affected by the selection of a certain field (that field being a date called "task_end" )&lt;/P&gt;&lt;P&gt;I can sucessfully do this to a certain point by using :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;s&lt;/EM&gt;&lt;EM&gt;um({$&amp;lt;[TASK_END] = &amp;gt;}distinct CONTRACT_ID))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However when I try to include the aggregation and count to the formula&amp;nbsp; I cant seem to get the set analysis to stop the "task_end" field from affecting my expression.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>OKMBryan</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis - using with sum(aggr(count</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668191#M729083</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a chart in my application which uses the following expression and works great.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum(aggr(count(distinct CONTRACT_ID),C_MCH_CODE,C_MONTH))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However - what I would like to do is stop&amp;nbsp; this expression being a affected by the selection of a certain field (that field being a date called "task_end" )&lt;/P&gt;&lt;P&gt;I can sucessfully do this to a certain point by using :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;s&lt;/EM&gt;&lt;EM&gt;um({$&amp;lt;[TASK_END] = &amp;gt;}distinct CONTRACT_ID))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;However when I try to include the aggregation and count to the formula&amp;nbsp; I cant seem to get the set analysis to stop the "task_end" field from affecting my expression.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668191#M729083</guid>
      <dc:creator>OKMBryan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - using with sum(aggr(count</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668196#M729084</link>
      <description>&lt;P&gt;because of the second calculation for aggregation fields you have to exclude selection in field TASK_END also&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;sum({$&amp;lt;[TASK_END] = &amp;gt;} aggr(count({$&amp;lt;[TASK_END] = &amp;gt;} distinct CONTRACT_ID),C_MCH_CODE,C_MONTH))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 15:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668196#M729084</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2020-01-22T15:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - using with sum(aggr(count</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668197#M729085</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;Thanks for your quick reponse - makes perfect sense and worked great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bryan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2020 15:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-with-sum-aggr-count/m-p/1668197#M729085</guid>
      <dc:creator>OKMBryan</dc:creator>
      <dc:date>2020-01-22T15:32:21Z</dc:date>
    </item>
  </channel>
</rss>

