<?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: total restricted values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568519#M211950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 19:10:23 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-02-25T19:10:23Z</dc:date>
    <item>
      <title>total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568517#M211948</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;i have a straight table, and i use "dimension limits" to display only the top X items in the data using to the first expression in the table (sum(sales)). X is determined by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i'm trying to do now is&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; to add a "Totals" row for the table, but i need it to sum only the top X items, as opposed to all the items in the data. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568517#M211948</guid>
      <dc:creator />
      <dc:date>2014-02-25T18:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568518#M211949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of using dimension limits, you can use set analysis in your expression.&amp;nbsp; So an example (if your X was 2):&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Customer={'=rank(sum(Sales))&amp;lt;=2'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 18:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568518#M211949</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-25T18:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568519#M211950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 19:10:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568519#M211950</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-25T19:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568520#M211951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Danny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Top 5 Sales:&lt;/P&gt;&lt;P&gt;=if(aggr(rank(sum(Sales)),Sales)&amp;lt;=5,Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aviral Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 19:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568520#M211951</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-02-25T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568521#M211952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i must be doing something wrong. in the table i have [SKU] as a single dimension. i need to display the largest 10 values, using sum([Net Sales] as the expression for the ranking. then, i need to add a total row to sum only these 10 values. i tried to use your advice but for some reason it doesn't work. please see below the expression i used:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt;=[SKU]={'=rank(sum([Net Sales]))&amp;lt;=10'}&amp;gt;}[Net Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 19:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568521#M211952</guid>
      <dc:creator />
      <dc:date>2014-02-25T19:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: total restricted values</title>
      <link>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568522#M211953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have an extra = in your set analysis.&amp;nbsp; It should look like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;[SKU]={'=rank(sum([Net Sales]))&amp;lt;=10'}&amp;gt;}[Net Sales])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 19:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/total-restricted-values/m-p/568522#M211953</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2014-02-25T19:23:47Z</dc:date>
    </item>
  </channel>
</rss>

