<?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: Aggregation (Sum) with set analysis and total qualifier in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758885#M471491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alysha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, this should be perfectly fine to combine these two features in a&amp;nbsp; single expression. Together, it would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;sum({$&amp;lt;DIAGNOSIS= ,PROCEDURE= &amp;gt;} &lt;STRONG style="color: #003366; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;total &amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;YEAR, &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #003366;"&gt;MONTH&amp;gt; Units&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Keep in mind that Set Analysis expression will be processed prior to building the chart, and this condition disregards user selection in these two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TOTAL qualifier is performed when the chart is calculated, and the data for the TOTAL aggregation is being supplied from the mini-cube that was prepared for the chart. In this process, the data will be aggregated to the level of Year and Month (assuming that these two fields belong to Chart dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no conflict between the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 21:34:46 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2015-03-06T21:34:46Z</dc:date>
    <item>
      <title>Aggregation (Sum) with set analysis and total qualifier</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758884#M471490</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 looking to combine set analysis with a total qualifier in a summation expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, let's say I currently have:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #003366;"&gt; sum(total &amp;lt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;YEAR, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG style="color: #003366;"&gt;MONTH&amp;gt; Units)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #339966;"&gt;//intent is to ignore all &lt;EM&gt;dimensions&lt;/EM&gt; except year and month&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and i want to add set analysis along these lines:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003366;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum({$&amp;lt;DIAGNOSIS= ,PROCEDURE= &amp;gt;})&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN style="color: #339966;"&gt;//intent is to clear any user &lt;EM&gt;selections&lt;/EM&gt; for diagnosis and procedure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to combine these into &lt;STRONG&gt;one expression&lt;/STRONG&gt;? If so, how would the syntax work?&lt;/P&gt;&lt;P&gt;i.e. goal is to ignore specific dimensions &lt;STRONG&gt;and&lt;/STRONG&gt; selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any advice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 20:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758884#M471490</guid>
      <dc:creator />
      <dc:date>2015-03-06T20:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation (Sum) with set analysis and total qualifier</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758885#M471491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alysha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, this should be perfectly fine to combine these two features in a&amp;nbsp; single expression. Together, it would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;sum({$&amp;lt;DIAGNOSIS= ,PROCEDURE= &amp;gt;} &lt;STRONG style="color: #003366; font-size: 13px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;total &amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;YEAR, &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #003366;"&gt;MONTH&amp;gt; Units&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #003366;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;Keep in mind that Set Analysis expression will be processed prior to building the chart, and this condition disregards user selection in these two fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TOTAL qualifier is performed when the chart is calculated, and the data for the TOTAL aggregation is being supplied from the mini-cube that was prepared for the chart. In this process, the data will be aggregated to the level of Year and Month (assuming that these two fields belong to Chart dimensions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no conflict between the two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.masterssummit.com/"&gt;www.masterssummit.com&lt;/A&gt; - take your QlikView skills to the next level!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 21:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758885#M471491</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2015-03-06T21:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation (Sum) with set analysis and total qualifier</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758886#M471492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oleg - That is exactly what I am aiming to do. Thank you for the thorough explanation! This works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 22:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-Sum-with-set-analysis-and-total-qualifier/m-p/758886#M471492</guid>
      <dc:creator />
      <dc:date>2015-03-06T22:20:58Z</dc:date>
    </item>
  </channel>
</rss>

