<?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 Max and Min function on an expression within a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364837#M1170856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fairly new to Qlikview, certainly interms of slightly more advanced calculations etc.&amp;nbsp; Hope someone can help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart table with the following columns/rows - see attached picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Ability' is an expression based on a simple a/b formula&lt;/P&gt;&lt;P&gt;I wish to create a variable called 'Max Ability' which returns a constant of the max ability value for all rows.&lt;/P&gt;&lt;P&gt;It could even be another expression, rather than a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried various things but cannot get any to work.&amp;nbsp; My attempt at creating a Max Ability Epxression in another column returned teh same values as the Ability column itself!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this is probably very easy - can someone please put me on the right path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 16:39:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-22T16:39:33Z</dc:date>
    <item>
      <title>Max and Min function on an expression within a table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364837#M1170856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fairly new to Qlikview, certainly interms of slightly more advanced calculations etc.&amp;nbsp; Hope someone can help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart table with the following columns/rows - see attached picture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Ability' is an expression based on a simple a/b formula&lt;/P&gt;&lt;P&gt;I wish to create a variable called 'Max Ability' which returns a constant of the max ability value for all rows.&lt;/P&gt;&lt;P&gt;It could even be another expression, rather than a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried various things but cannot get any to work.&amp;nbsp; My attempt at creating a Max Ability Epxression in another column returned teh same values as the Ability column itself!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure this is probably very easy - can someone please put me on the right path?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 16:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364837#M1170856</guid>
      <dc:creator />
      <dc:date>2012-06-22T16:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Max and Min function on an expression within a table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364838#M1170857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can achieve that using the parameter TOTAL in the aggregation, i.e.: sum(total A)/sum(total B).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;BR /&gt;Cesar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 16:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364838#M1170857</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2012-06-22T16:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Max and Min function on an expression within a table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364839#M1170858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cesar - Thanks for your input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this just seems to give me an average figure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM(TOTAL[Rules Races Winnings]/SUM(TOTAL[Rules Races Wins])/100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which gives answer =42 and it should be = 66&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What did I do wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 16:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364839#M1170858</guid>
      <dc:creator />
      <dc:date>2012-06-22T16:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Max and Min function on an expression within a table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364840#M1170859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAX(TOTAL SUM([Rules Races Winnings]/([Rules Races Wins]/100)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 19:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-and-Min-function-on-an-expression-within-a-table/m-p/364840#M1170859</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-22T19:56:08Z</dc:date>
    </item>
  </channel>
</rss>

