<?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 Variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249990#M707416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have at least 2 Options (im sure there are many more)&lt;/P&gt;&lt;P&gt;1. Define the Count expression in the script using "If" instead of set analysis (Lets call it CountDigo for example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then you can add a calculation for Max(CountDigo)&lt;/P&gt;&lt;P&gt;2. Use RangeMax Function&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2012 12:54:39 GMT</pubDate>
    <dc:creator>orital81</dc:creator>
    <dc:date>2012-01-04T12:54:39Z</dc:date>
    <item>
      <title>Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249989#M707415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COUNT( {$&amp;lt;NR_FATO={1,0}, NM_TIPO_CANCELAMENTO=&amp;gt; } DISTINCT CODIGO)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´ve this expression above as variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m using it in a chart to group by city.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need to catch the max of this count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249989#M707415</guid>
      <dc:creator />
      <dc:date>2012-01-04T12:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249990#M707416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have at least 2 Options (im sure there are many more)&lt;/P&gt;&lt;P&gt;1. Define the Count expression in the script using "If" instead of set analysis (Lets call it CountDigo for example).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then you can add a calculation for Max(CountDigo)&lt;/P&gt;&lt;P&gt;2. Use RangeMax Function&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249990#M707416</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-01-04T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249991#M707417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Ori,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have example of this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249991#M707417</guid>
      <dc:creator />
      <dc:date>2012-01-04T12:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249992#M707418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may Send me your qvw file and ill show you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249992#M707418</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-01-04T12:58:09Z</dc:date>
    </item>
    <item>
      <title>Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249993#M707419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; My QVW have 130mb &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249993#M707419</guid>
      <dc:creator />
      <dc:date>2012-01-04T13:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max Variable</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249994#M707420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max(Aggr(Count([Your Count Expression]),CODIGO))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Variable/m-p/249994#M707420</guid>
      <dc:creator>orital81</dc:creator>
      <dc:date>2012-01-04T13:17:11Z</dc:date>
    </item>
  </channel>
</rss>

