<?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 Straight Table - Selecting All Records within Calculated Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180339#M46807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a fairly new user to QlikView and I am in the process of doing some analysis based upon account transactions.&lt;/P&gt;&lt;P&gt;I have created a table by Company (dimension) and added a calculated expression to give the total value of transactions of the company (linking into a selected date/year).&lt;/P&gt;&lt;P&gt;The problem I have is creating a selection box that will select/group each company based upon value. For example I would like to have &amp;lt;10,000 , 10,001 - 25,000 , 25,001 - 50,000 etc etc.&lt;/P&gt;&lt;P&gt;Any advise would be well received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2009 04:04:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-09T04:04:23Z</dc:date>
    <item>
      <title>Straight Table - Selecting All Records within Calculated Range</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180339#M46807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am a fairly new user to QlikView and I am in the process of doing some analysis based upon account transactions.&lt;/P&gt;&lt;P&gt;I have created a table by Company (dimension) and added a calculated expression to give the total value of transactions of the company (linking into a selected date/year).&lt;/P&gt;&lt;P&gt;The problem I have is creating a selection box that will select/group each company based upon value. For example I would like to have &amp;lt;10,000 , 10,001 - 25,000 , 25,001 - 50,000 etc etc.&lt;/P&gt;&lt;P&gt;Any advise would be well received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 04:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180339#M46807</guid>
      <dc:creator />
      <dc:date>2009-12-09T04:04:23Z</dc:date>
    </item>
    <item>
      <title>Straight Table - Selecting All Records within Calculated Range</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180340#M46808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you could settle for equal-sized ranges, something like this as the expression for the selection box:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;aggr(class(sum("Transaction Amount"),10000),Company)&lt;/P&gt;&lt;P&gt;If you want to keep your unequal ranges, something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;aggr(if(sum("Transaction Amount")&amp;lt;=10000,'&amp;lt;=10,000'&lt;BR /&gt; ,if(sum("Transaction Amount")&amp;lt;=25000,'10,001 - 25,000'&lt;BR /&gt; ,if(sum("Transaction Amount")&amp;lt;=50000,'25,001 - 50,000'&lt;BR /&gt; ,'&amp;gt;50000'))),Company)&lt;/P&gt;&lt;P&gt;I didn't test those. If you can't get it to work, let me know, and I'll try to come up with an example to use to debug it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 08:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180340#M46808</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-09T08:43:50Z</dc:date>
    </item>
    <item>
      <title>Straight Table - Selecting All Records within Calculated Range</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180341#M46809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for this, the first expression works perfect.&lt;/P&gt;&lt;P&gt;The second part appears to collate the totals together,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 18:54:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180341#M46809</guid>
      <dc:creator />
      <dc:date>2009-12-09T18:54:09Z</dc:date>
    </item>
    <item>
      <title>Straight Table - Selecting All Records within Calculated Range</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180342#M46810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;Ted11 wrote:The second part appears to collate the totals together,&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Well, I'm not sure what you mean by that, so here's a sample file with both the class() and series of if()s working as I'm thinking you'd want. Let me know if I've misunderstood, or if it works in the example but not with your real data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2009 23:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180342#M46810</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-12-09T23:57:03Z</dc:date>
    </item>
    <item>
      <title>Straight Table - Selecting All Records within Calculated Range</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180343#M46811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have just tried using your example.....it all works perfectly.&lt;/P&gt;&lt;P&gt;Thankyou for your help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 02:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Selecting-All-Records-within-Calculated-Range/m-p/180343#M46811</guid>
      <dc:creator />
      <dc:date>2009-12-10T02:36:15Z</dc:date>
    </item>
  </channel>
</rss>

