<?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 Dynamic Axis Maximum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268076#M100677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the expression as below in the axis max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(TOTAL {&amp;lt;Status={'Open','Won','Lost'}&amp;gt;} [Sales Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U can achieve this using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Feb 2012 15:22:19 GMT</pubDate>
    <dc:creator>CELAMBARASAN</dc:creator>
    <dc:date>2012-02-09T15:22:19Z</dc:date>
    <item>
      <title>Dynamic Axis Maximum</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268075#M100676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to calculate a dynamic maximum for an axis on a stacked bar chart&lt;/P&gt;&lt;P&gt;What I want is to calculate is the total of Sales Value for cases that are ‘Open’, ‘Won’ and ‘Lost’ by SalesPerson for the current selection(s) and then use the Salesperson with the highest total&amp;nbsp; to set the axis max.&lt;/P&gt;&lt;P&gt;The dimension is SalesPerson&lt;/P&gt;&lt;P&gt;The value required is used for an expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New';"&gt;sum(if(Status = 'Open' OR Status = 'Won' OR Status = 'Lost', [Sales Value]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to use the above calculation&amp;nbsp; (or set analysis equivalent) to find the Sales person with the highest total. From my investigations I don’t think I can use max() , FirstSortedValue() and I am not sure if I can use aggr() .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help? &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:18:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268075#M100676</guid>
      <dc:creator />
      <dc:date>2012-02-09T15:18:06Z</dc:date>
    </item>
    <item>
      <title>Dynamic Axis Maximum</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268076#M100677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Use the expression as below in the axis max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Sum(TOTAL {&amp;lt;Status={'Open','Won','Lost'}&amp;gt;} [Sales Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; U can achieve this using set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268076#M100677</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-09T15:22:19Z</dc:date>
    </item>
    <item>
      <title>Dynamic Axis Maximum</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268077#M100678</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Chart propertities -&amp;gt; Axes -&amp;gt;Scale -&amp;gt;StaticMax -&amp;gt;Paste this expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= Sum(TOTAL {&amp;lt;Status={'Open','Won','Lost'}&amp;gt;} [Sales Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Iyyappan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268077#M100678</guid>
      <dc:creator>v_iyyappan</dc:creator>
      <dc:date>2012-02-09T15:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Axis Maximum</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268078#M100679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="PadderBetweenControlandBody" style="margin: 0cm 0cm 6pt;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Hi Jason,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Barring syntax error... &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;Following should give you the answer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Arial&amp;amp;quot;,&amp;amp;quot;sans-serif&amp;amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;max(aggr( &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: &amp;amp;quot;Courier New&amp;amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;amp;quot;Times New Roman&amp;amp;quot;"&gt;sum(if(Status = 'Open' OR Status = 'Won' OR Status = 'Lost', [Sales Value])),SalesPerson))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;If you have having chart (using the above under Axes will do the trick)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="margin: 0cm 0cm 10pt;"&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Calibri;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 15:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268078#M100679</guid>
      <dc:creator />
      <dc:date>2012-02-09T15:32:00Z</dc:date>
    </item>
    <item>
      <title>Dynamic Axis Maximum</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268079#M100680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kulbir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought it might be resolved using aggr(), but I couldn't work it out!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2012 16:46:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Axis-Maximum/m-p/268079#M100680</guid>
      <dc:creator />
      <dc:date>2012-02-09T16:46:54Z</dc:date>
    </item>
  </channel>
</rss>

