<?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 Nested Aggregation in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239502#M80098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I have to calculate the max value of the following exspression but in sense it's not possible to use nested aggregation, how can I solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(budget-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;SUM({$&amp;lt;Type={"S"}&amp;gt;}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;if(&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(month(DateCalendar)&amp;lt;=Month(vDateSet) and year(DateCalendar)=year(vDateSet)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;or month(DateCalendar)&amp;gt;=Month(vDateRolling) and year(DateCalendar)=year(vDateRolling))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;,Amount)))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #0000ff;"&gt;budget&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for helping &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, 11 Nov 2016 15:11:45 GMT</pubDate>
    <dc:creator>alessandro_mari</dc:creator>
    <dc:date>2016-11-11T15:11:45Z</dc:date>
    <item>
      <title>Nested Aggregation</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239502#M80098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I have to calculate the max value of the following exspression but in sense it's not possible to use nested aggregation, how can I solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(budget-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;SUM({$&amp;lt;Type={"S"}&amp;gt;}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;if(&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(month(DateCalendar)&amp;lt;=Month(vDateSet) and year(DateCalendar)=year(vDateSet)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;or month(DateCalendar)&amp;gt;=Month(vDateRolling) and year(DateCalendar)=year(vDateRolling))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;,Amount)))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; color: #0000ff;"&gt;budget&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for helping &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, 11 Nov 2016 15:11:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239502#M80098</guid>
      <dc:creator>alessandro_mari</dc:creator>
      <dc:date>2016-11-11T15:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Aggregation</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239503#M80099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nested aggregation? What are you trying to do? May be provide a sample with expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 16:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239503#M80099</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-11T16:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nested Aggregation</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239504#M80100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(aggr(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(budget-&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;SUM({$&amp;lt;Type={"S"}&amp;gt;}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;if(&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;(month(DateCalendar)&amp;lt;=Month(vDateSet) and year(DateCalendar)=year(vDateSet)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;or month(DateCalendar)&amp;gt;=Month(vDateRolling) and year(DateCalendar)=year(vDateRolling))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;,Amount)))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;/&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff;"&gt;budget,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;YourDimensions))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2016 17:18:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Nested-Aggregation/m-p/1239504#M80100</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-11T17:18:58Z</dc:date>
    </item>
  </channel>
</rss>

