<?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 Comparing two aggr values and showing only if it the condition is met in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297188#M837897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to compare two aggr values, to see if one group (ANTS) is greater sales than any of the other groups( BEES, FLIES, MICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Group&lt;/P&gt;&lt;P&gt;Stores&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Metric (Load if Group = ANTS sales are greater than ANY GROUP)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MIN(aggr(sum({&amp;lt;GROUP={'ANTS'} &amp;gt;}SALES),Date,Group,Stores))&amp;nbsp; &amp;gt; MIN(aggr(sum(SALES),DATE,Group,Stores)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a chart and I'm getting an empty chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Comparing two aggr values and showing only if it the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297188#M837897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to compare two aggr values, to see if one group (ANTS) is greater sales than any of the other groups( BEES, FLIES, MICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Date&lt;/P&gt;&lt;P&gt;Group&lt;/P&gt;&lt;P&gt;Stores&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Metric (Load if Group = ANTS sales are greater than ANY GROUP)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MIN(aggr(sum({&amp;lt;GROUP={'ANTS'} &amp;gt;}SALES),Date,Group,Stores))&amp;nbsp; &amp;gt; MIN(aggr(sum(SALES),DATE,Group,Stores)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a chart and I'm getting an empty chart.&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/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297188#M837897</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two aggr values and showing only if it the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297189#M837898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rolando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=RangeMax(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;aggr(sum({&amp;lt;GROUP={'ANTS'} &amp;gt;}SALES),Date,Group,Stores), &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(sum({&amp;lt;GROUP={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;BEES&lt;/SPAN&gt;'} &amp;gt;}SALES),Date,Group,Stores),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(sum({&amp;lt;GROUP={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;FLIES&lt;/SPAN&gt;'} &amp;gt;}SALES),Date,Group,Stores),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr(sum({&amp;lt;GROUP={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MICE&lt;/SPAN&gt;'} &amp;gt;}SALES),Date,Group,Stores))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Andrey&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 07:42:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297189#M837898</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-05-19T07:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing two aggr values and showing only if it the condition is met</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297190#M837899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another dimension called Items and&amp;nbsp; I need to compare the lowest priced item in group ANTS to see if its greater than any of the lowest priced item in the other group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rolando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 13:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-two-aggr-values-and-showing-only-if-it-the-condition/m-p/1297190#M837899</guid>
      <dc:creator />
      <dc:date>2017-05-19T13:25:26Z</dc:date>
    </item>
  </channel>
</rss>

