<?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: expression help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/452201#M1156883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I imagined two solutions: &lt;/P&gt;&lt;P&gt;1) In the chart use properties-&amp;gt;dimension limits to keep only the best company of each industry&lt;/P&gt;&lt;P&gt;2) use aggr to calculate, for each industry the max value ( or best company). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented both in the attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Feb 2013 23:06:40 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2013-02-19T23:06:40Z</dc:date>
    <item>
      <title>expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/452200#M1156882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a field (industry) which has 4 values. i have a chart which shows a list of companies with the industries and a sales amount. i only want to show the higest sales amount per industry. &lt;/P&gt;&lt;P&gt;can anyone help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 22:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/452200#M1156882</guid>
      <dc:creator />
      <dc:date>2013-02-19T22:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/452201#M1156883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I imagined two solutions: &lt;/P&gt;&lt;P&gt;1) In the chart use properties-&amp;gt;dimension limits to keep only the best company of each industry&lt;/P&gt;&lt;P&gt;2) use aggr to calculate, for each industry the max value ( or best company). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I implemented both in the attachment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 23:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/452201#M1156883</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2013-02-19T23:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/452202#M1156884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, thanks for your reply. &lt;/P&gt;&lt;P&gt;I am using v 10 so i dont have dimension limits. so i need to use an expression. &lt;/P&gt;&lt;P&gt;I have tried the expression but it is giving me the highest value per industry but it is not assigning the higest value to the correct customer. &lt;/P&gt;&lt;P&gt;i am using &lt;/P&gt;&lt;P&gt;max(aggr(sum(Value), Industry,Customer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me each value per industry per customer. &lt;/P&gt;&lt;P&gt;I want to only show the higest per industry but showing the correct customer who had the highest value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Feb 2013 23:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/452202#M1156884</guid>
      <dc:creator />
      <dc:date>2013-02-19T23:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: expression help</title>
      <link>https://community.qlik.com/t5/QlikView/expression-help/m-p/452203#M1156885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should use Set Analysis i.e. replace your expression Customer with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aggr( &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Only( {$&amp;lt;customer={"= rank(sum(Value))=1"}&amp;gt;} Customer)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Industry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the aggr( Industry) is necessary so that the Set_Analysis-selected custommer depends of the value of Industry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 12:04:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-help/m-p/452203#M1156885</guid>
      <dc:creator>rlp</dc:creator>
      <dc:date>2013-02-20T12:04:28Z</dc:date>
    </item>
  </channel>
</rss>

