<?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 Maximum and minimum value bars in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267509#M100466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any answer to my question??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me alternative way if u can please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 09:36:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-16T09:36:48Z</dc:date>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267508#M100465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i want to display only those dimensions in bar chart whose sales are Maximum and Minimum rest i don't want to show. Is it possible?&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;thanks&lt;/P&gt;&lt;P&gt;Harlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267508#M100465</guid>
      <dc:creator />
      <dc:date>2011-09-16T08:21:38Z</dc:date>
    </item>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267509#M100466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any answer to my question??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tell me alternative way if u can please&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 09:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267509#M100466</guid>
      <dc:creator />
      <dc:date>2011-09-16T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267510#M100467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;look at the example, i give u 2 possibility&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:28:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267510#M100467</guid>
      <dc:creator />
      <dc:date>2011-09-16T10:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267511#M100468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi Harleen,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Here is the example and explanation.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I would always use the variables in this situation. Because re-usability of variables gives you advantage in code management. So I would declare two variables...something like this :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;vMaxValue &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Max({1} Aggr( COUNT({1} OrderId),&amp;nbsp; Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;vMaxValue &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Min({1} Aggr( COUNT({1} OrderId),&amp;nbsp; Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;The above variables calculate the Max &amp;amp; Min values across all the OrderId's. In your case you might want to use Sum(Sales) and Aggr with the dimension.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Then I would use simple IF conditional statement. Something like this...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;IF(COUNT(OrderId) = (vMaxValue),&amp;nbsp; COUNT(OrderId), IF(COUNT(OrderId) = (vMinValue), COUNT(OrderId)))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I am attaching the example for your reference. Good luck!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I hope this helps.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267511#M100468</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-09-16T10:37:55Z</dc:date>
    </item>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267512#M100469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/ste.san" id="jive-32634602590325916375" style="font-size: 12px; color: #007fc0; font-weight: bold;"&gt;ste.san&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thank u so much. Your solution works perfectly. My logic was also correct which was this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(aggr(Sum (Netamountpaid),ProductCategoryID)=max(aggr(Sum (Netamountpaid),ProductCategoryID)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Netamountpaid))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i was not using total keyword as u used. I don't know the meaning of total?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i put &lt;STRONG&gt;max(aggr(Sum (Netamountpaid),ProductCategoryID)) &lt;/STRONG&gt; in a variable then it works without total keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u explain me this confusion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Harleen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 11:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267512#M100469</guid>
      <dc:creator />
      <dc:date>2011-09-16T11:14:51Z</dc:date>
    </item>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267513#M100470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/dvqlikview" id="jive-470274603855461766375" style="font-size: 12px; color: #007fc0; font-weight: bold;"&gt;D V&lt;/A&gt;. also works well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 11:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267513#M100470</guid>
      <dc:creator />
      <dc:date>2011-09-16T11:15:36Z</dc:date>
    </item>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267514#M100471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harleen,&lt;/P&gt;&lt;P&gt;this is taken from the "QlikView help":&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"If the word &lt;STRONG&gt;total&lt;/STRONG&gt; occurs before an &lt;SPAN style="font-style: italic;"&gt;expression&lt;/SPAN&gt;, the calculation will be made over all possible values given the current selections, but disregarding the chart dimensions"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 12:16:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267514#M100471</guid>
      <dc:creator />
      <dc:date>2011-09-16T12:16:37Z</dc:date>
    </item>
    <item>
      <title>Maximum and minimum value bars</title>
      <link>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267515#M100472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefano,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i understood now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using this formula max(total aggr(Sum (Netamountpaid),&lt;STRONG&gt;ProductCategoryID&lt;/STRONG&gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what if i want to use Drill down group of Productcategory, then subcategory then product name in place of &lt;STRONG&gt;ProductCategoryID&lt;/STRONG&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;thanks&lt;/P&gt;&lt;P&gt;Harleen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 07:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Maximum-and-minimum-value-bars/m-p/267515#M100472</guid>
      <dc:creator />
      <dc:date>2011-09-19T07:12:49Z</dc:date>
    </item>
  </channel>
</rss>

