<?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 Limit Dimensions by Calculated Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315255#M116336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this as your calculated dimension might do what you're looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(SUM(LINE_SPEND_AMOUNT)&amp;gt;50000, [Supplier Name]),[Supplier Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 17:20:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-05T17:20:45Z</dc:date>
    <item>
      <title>Limit Dimensions by Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315252#M116333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble limiting the values that are returned based on the expression values.&amp;nbsp; I have a table with supplier's line level spend data, and I have a chart that list out the suppliers and their total spend.&amp;nbsp; I want to limit the chart to show only those suppliers with greater than or equal to 50K in spend.&amp;nbsp; I know how to limit the number of suppliers that show using the 'Max visible Number', but is there a way to limit the dimensions based on the sum amount in the expression?&amp;nbsp; I'm sure this is relatively basic, but I just can't seem to figure out the solution at this point.&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315252#M116333</guid>
      <dc:creator />
      <dc:date>2011-10-05T15:39:25Z</dc:date>
    </item>
    <item>
      <title>Limit Dimensions by Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315253#M116334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum_of_expression &amp;lt; 50000, 'Less than 50k',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (sum_of_expression &amp;gt;= 50000, 'More or equal 50k','no data')&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; ) as total_spend_grouped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By selecting one of two options 'Less than 50k' or 'More or equal 50k' you will get limited number of suppliers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 15:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315253#M116334</guid>
      <dc:creator />
      <dc:date>2011-10-05T15:52:46Z</dc:date>
    </item>
    <item>
      <title>Limit Dimensions by Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315254#M116335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works from a SQL perspective&amp;nbsp; when brining in the data, but I need to limit the data within the chart itself and allow the sum of spend to be dynamic based on their selections in other fields; for example region. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So right now I have a simple straight table with the dimension "Supplier Name", and the expression of '=SUM(LINE_SPEND_AMOUNT)'.&amp;nbsp; There are other fields like region, department, etc... that I want the user to be able to limit the data just like normal table.&amp;nbsp; I just want the chart to limit the supplier names and spend returned to only those with spend greater than or equal to 50K.&amp;nbsp; It's theoretically the same as using the Max Visible Number, but I don't want to limit based on a number, but the condition of the expression.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try using something similar to what you posted above when I brought the data in, but the sum of the spend amount needs to dynamically change based on other selections.&amp;nbsp; Thanks for the response, it's just not exactly what I'm looking for.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 16:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315254#M116335</guid>
      <dc:creator />
      <dc:date>2011-10-05T16:20:50Z</dc:date>
    </item>
    <item>
      <title>Limit Dimensions by Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315255#M116336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this as your calculated dimension might do what you're looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=aggr(if(SUM(LINE_SPEND_AMOUNT)&amp;gt;50000, [Supplier Name]),[Supplier Name])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 17:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315255#M116336</guid>
      <dc:creator />
      <dc:date>2011-10-05T17:20:45Z</dc:date>
    </item>
    <item>
      <title>Limit Dimensions by Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315256#M116337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked great.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 21:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limit-Dimensions-by-Calculated-Expression/m-p/315256#M116337</guid>
      <dc:creator />
      <dc:date>2011-10-05T21:42:41Z</dc:date>
    </item>
  </channel>
</rss>

