<?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: Aggregated funcionts in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577036#M214629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Try this &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=Max(aggr(sum(&lt;/SPAN&gt; {1} &lt;SPAN class="Bold"&gt;Total&lt;/SPAN&gt; Sales &lt;SPAN class="Bold"&gt;),YearMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=Min(aggr(sum(&lt;/SPAN&gt; {1} &lt;SPAN class="Bold"&gt;Total&lt;/SPAN&gt; Sales &lt;SPAN class="Bold"&gt;),YearMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2014 12:46:01 GMT</pubDate>
    <dc:creator>sunilkumarqv</dc:creator>
    <dc:date>2014-03-14T12:46:01Z</dc:date>
    <item>
      <title>Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577030#M214623</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've two text boxes with these expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= max(aggr(sum(Sales), YearMonth))&lt;/P&gt;&lt;P&gt;= min(aggr(sum(Sales), YearMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best and the worse sales grouped by YearMonth, over the current selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need to create to new text boxes with the best and the worse sales grouped by YearMonth, but over the complete data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the correct expression to get what I need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Joaquín&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577030#M214623</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2014-03-14T12:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577031#M214624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dont know if it works but try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(max(aggr(sum(Sales),YearMonth)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577031#M214624</guid>
      <dc:creator />
      <dc:date>2014-03-14T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577032#M214625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= max(aggr(sum({1}Sales), YearMonth))&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= min(aggr(sum({1}Sales), YearMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= max(aggr(sum(TOTAL Sales), YearMonth))&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= min(aggr(sum(TOTAL Sales), YearMonth))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577032#M214625</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-14T12:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577033#M214626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not. I want the best ignoring the current selections&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577033#M214626</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2014-03-14T12:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577034#M214627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;= max({1} aggr(sum({1} Sales), YearMonth))&lt;/P&gt;&lt;P&gt;= min({1} aggr(sum({1} Sales), YearMonth))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and please try to avoid duplication of threads.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:38:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577034#M214627</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-14T12:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577035#M214628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Same as &lt;STRONG style="font-family: inherit; font-size: 0.9em; line-height: 1.5em; font-style: inherit;"&gt;&lt;A href="https://community.qlik.com/people/swuehl"&gt;swuehl&lt;/A&gt; suggested...&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= max({1}aggr(sum({1}Sales), YearMonth))&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= min({1}aggr(sum({1}Sales), YearMonth))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577035#M214628</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-14T12:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577036#M214629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;Try this &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=Max(aggr(sum(&lt;/SPAN&gt; {1} &lt;SPAN class="Bold"&gt;Total&lt;/SPAN&gt; Sales &lt;SPAN class="Bold"&gt;),YearMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;=Min(aggr(sum(&lt;/SPAN&gt; {1} &lt;SPAN class="Bold"&gt;Total&lt;/SPAN&gt; Sales &lt;SPAN class="Bold"&gt;),YearMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:46:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577036#M214629</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-03-14T12:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577037#M214630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The max works good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The min shows 0 and I don't have cero value on any YearMonth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a problem on the navigator, that's the reason of the duplication therad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2014 12:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577037#M214630</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2014-03-14T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregated funcionts</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577038#M214631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The answer proposed by &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/swuehl"&gt;swuehl&lt;/A&gt;&lt;/STRONG&gt; works.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= max({1} aggr(sum({1} Sales), YearMonth))&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;= min({1} aggr(sum({1} Sales), YearMonth))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;There was an incorrect value on one record, that generates a wrong value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Joaquín&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 14:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregated-funcionts/m-p/577038#M214631</guid>
      <dc:creator>Joaquin_Lazaro</dc:creator>
      <dc:date>2014-03-17T14:48:27Z</dc:date>
    </item>
  </channel>
</rss>

