<?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: Maximum value of all data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507246#M483600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Try: Max(&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;total &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;STOFF_KZ&lt;/SPAN&gt;={'L'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;COMPANY&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;or perhaps &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Max&lt;/SPAN&gt;({1} &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;total &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;STOFF_KZ&lt;/SPAN&gt;={'L'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;COMPANY&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jun 2013 16:14:04 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-06-25T16:14:04Z</dc:date>
    <item>
      <title>Maximum value of all data</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507244#M483598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Max&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STOFF_KZ&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'L'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;COMPANY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;I have this expression which returns the maximum quota of leather sales per month and company for my current selected period.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;Now I want to have the maximum quota for the whole period &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;although&lt;/SPAN&gt;&lt;/SPAN&gt; I have selected only one month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;How can I solve this problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;This expression e.g. returns the maximum date of all dates &lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;although&lt;/SPAN&gt;&lt;/SPAN&gt; I have selected only one month.&lt;A&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style=": ; color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Max&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;How can I combine this two expressions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #000000;"&gt;Thanks for your help.&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 15:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507244#M483598</guid>
      <dc:creator>dieter13</dc:creator>
      <dc:date>2013-06-25T15:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum value of all data</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507245#M483599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Max&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;STOFF_KZ&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'L'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #0000ff;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;SALES&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;COMPANY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; color: #800000;"&gt;MONTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; use current selection it will display&amp;nbsp; year and month what&amp;nbsp; u selected&lt;/P&gt;&lt;P&gt;aggr(sum({$&amp;lt;year={"$(=Max(Year))"},month={"$(=max(Month))"},stock={"L"}&amp;gt;}sales)/sum({$&amp;lt;year={"$(=Max(Year))"},month={"$(=max(Month))"}Sales),company,month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 15:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507245#M483599</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2013-06-25T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum value of all data</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507246#M483600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Try: Max(&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;total &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;STOFF_KZ&lt;/SPAN&gt;={'L'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;COMPANY&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;or perhaps &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Max&lt;/SPAN&gt;({1} &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;total &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Aggr&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;STOFF_KZ&lt;/SPAN&gt;={'L'}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;)/&lt;SPAN style="color: #0000ff;"&gt;SUM&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SALES&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;COMPANY&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;MONTH&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 16:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-value-of-all-data/m-p/507246#M483600</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-06-25T16:14:04Z</dc:date>
    </item>
  </channel>
</rss>

