<?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 Problem using expression in Dimension Limits in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368026#M576686</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try with a calculated dimension, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;[Product Family]=&amp;gt; LineSalesAmount)&amp;lt;(Avg({$&amp;lt;[SalesPerson]=&amp;gt; LineSalesAmount),[Product Family])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven´t tested the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 16:11:11 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-04-25T16:11:11Z</dc:date>
    <item>
      <title>Problem using expression in Dimension Limits</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368023#M576683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart with two dimensions (SalesPerson and Product Family) and the expression sum(LineSalesAmount). I want to use Dimension Limits to display only Product Family rows whose sum is less than the average of Product Family sales per SalePerson. When I enter an expression in the "Show only values that are..." window, it is ignored and the chart displays all Product Family rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached a QVW example. The yellow chart is the one where I want to display sales less than the average. Look in the Dimension Limits tab for the various expressions I've tried - all but one is commented out. FYI, this is the QV Developer training app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate everyone's feedback. I'm using this app to learn new QV 11 features.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368023#M576683</guid>
      <dc:creator>jcarpenter9</dc:creator>
      <dc:date>2012-04-25T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Problem using expression in Dimension Limits</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368024#M576684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression using aggr() does filter out rows that have sales &amp;lt; 185.017&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you elaborate on the result you are expecting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hilaire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368024#M576684</guid>
      <dc:creator />
      <dc:date>2012-04-25T15:59:47Z</dc:date>
    </item>
    <item>
      <title>Problem using expression in Dimension Limits</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368025#M576685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see your point -&amp;nbsp; I missed that. That looks like it is filtering based on the app-level average, whereas I want it to filter at the SalesPerson level. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm expecting it to filter out rows at the SalesPerson level that have sales &amp;lt; that SalesPerson's average. For example, for Erik Presley, show only rows &amp;lt; 63,682. For Frank Roll, show only rows &amp;lt; 255,414, etc. Still not sure how to get there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 16:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368025#M576685</guid>
      <dc:creator>jcarpenter9</dc:creator>
      <dc:date>2012-04-25T16:08:13Z</dc:date>
    </item>
    <item>
      <title>Problem using expression in Dimension Limits</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368026#M576686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you could try with a calculated dimension, something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;[Product Family]=&amp;gt; LineSalesAmount)&amp;lt;(Avg({$&amp;lt;[SalesPerson]=&amp;gt; LineSalesAmount),[Product Family])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven´t tested the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 16:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-expression-in-Dimension-Limits/m-p/368026#M576686</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-04-25T16:11:11Z</dc:date>
    </item>
  </channel>
</rss>

