<?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: Max index by max average in map in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087261#M361920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need the &amp;lt;country&amp;gt; prefix within an AGGR()&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: #3d3d3d;"&gt;Max(Aggr(S&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;um($(var1))/Sum(all_users), country))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Milan, Italy and Austin, TX!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2016 17:39:25 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2016-02-22T17:39:25Z</dc:date>
    <item>
      <title>Max index by max average in map</title>
      <link>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087259#M361918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I want the 'max' of my map to be dynamic, according to the measure chosen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a variable for the measures (var1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The measure in the map is 'average var1 per user',&amp;nbsp; done like this: &lt;/P&gt;&lt;P&gt;sum($(var1))/sum(all_users)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;until here all is good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now, I want the maximum value of the map's legend to be the value of the max 'average var1 per user' country (in order for the color ratio to make sense).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried something like:&lt;/P&gt;&lt;P&gt;max(sum(&amp;lt;country&amp;gt; $(var1))/sum(&amp;lt;country&amp;gt; all_users))&lt;/P&gt;&lt;P&gt;but it's not working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 17:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087259#M361918</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-22T17:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max index by max average in map</title>
      <link>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087260#M361919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Max(Aggr(S&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;um(&amp;lt;country&amp;gt; $(var1))/Sum(&amp;lt;country&amp;gt; all_users), country))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 17:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087260#M361919</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-22T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Max index by max average in map</title>
      <link>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087261#M361920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you need the &amp;lt;country&amp;gt; prefix within an AGGR()&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: #3d3d3d;"&gt;Max(Aggr(S&lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;um($(var1))/Sum(all_users), country))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;P&gt;Upgrade your Qlik skills at the &lt;A href="http://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt; - coming soon to Milan, Italy and Austin, TX!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 17:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087261#M361920</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-02-22T17:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Max index by max average in map</title>
      <link>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087262#M361921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I failed to notice missing curly parenthesis, I thought it was there for ignoring selections in Country field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 17:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-index-by-max-average-in-map/m-p/1087262#M361921</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-22T17:41:29Z</dc:date>
    </item>
  </channel>
</rss>

