<?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: Is it possible to use Max and Sum together in Qlik sense expression in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277804#M86170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny, I fix that map issue. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2017 04:41:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-02T04:41:18Z</dc:date>
    <item>
      <title>Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277800#M86166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an expression as: Sum(my_value)/my_area to calculate the recording per area.&lt;/P&gt;&lt;P&gt;I would like to normalize the above to 0 - 1. However, the following does not work.&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;) / max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;The issue comes from Max(&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;How could I use Max and Sum in the same expression?&lt;/P&gt;&lt;P&gt;How could I normalize &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt; to 0 -1 ?&lt;/P&gt;&lt;P&gt;Any suggestion is appreciated! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 03:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277800#M86166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T03:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277801#M86167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When doing an aggregation over an aggregation, you need to use Aggr() function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) / Max(TOTAL Aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;&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;), &lt;SPAN style="color: #ff0000;"&gt;YourDimensions&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use dimensions where you are performing the &lt;STRONG&gt;Sum(my_value)/my_area &lt;/STRONG&gt;calculation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 04:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277801#M86167</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-02T04:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277802#M86168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny, thanks so much for your help!&lt;/P&gt;&lt;P&gt;I figure out an expression:&lt;/P&gt;&lt;P&gt;max(aggr(( sum (my_value)/my_area), the_dimensions))&lt;/P&gt;&lt;P&gt;Let me try both your expression and my expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 04:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277802#M86168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T04:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277803#M86169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny, your expression works.&lt;/P&gt;&lt;P&gt;One more question:&lt;/P&gt;&lt;P&gt;I would like to put the above ratio to map expression:&lt;/P&gt;&lt;P&gt;if ((&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;) / Max(TOTAL Aggr(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.33px;"&gt;Sum(my_value)/my_area&lt;/SPAN&gt;&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;), &lt;SPAN style="color: #ff0000;"&gt;YourDimensions&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;)&amp;gt;0.4, red(), blue())&lt;/P&gt;&lt;P&gt;however, seems not working.&lt;/P&gt;&lt;P&gt;Any further suggestion?&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 04:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277803#M86169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T04:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277804#M86170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sunny, I fix that map issue. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 04:41:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1277804#M86170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T04:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use Max and Sum together in Qlik sense expression</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1690754#M161654</link>
      <description>&lt;P&gt;I had the same issue, and I figured out I mis-wrote the parenthesis. &lt;FONT color="#FF0000"&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;YourDimensions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/FONT&gt;is a parameter of Aggr() and not of Max().&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 12:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/Is-it-possible-to-use-Max-and-Sum-together-in-Qlik-sense/m-p/1690754#M161654</guid>
      <dc:creator>Sarye</dc:creator>
      <dc:date>2020-04-03T12:41:57Z</dc:date>
    </item>
  </channel>
</rss>

