<?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 Aggregation and Pivot Tables Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226932#M79087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you have accumulation turned on or something since your numbers keep getting bigger and bigger and the total is the same as the last record in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 19:28:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-23T19:28:35Z</dc:date>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226925#M79080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table which I have already created and lots of set analysis are done into it:&lt;/P&gt;&lt;P&gt;Loan Index&lt;/P&gt;&lt;P&gt;A 55&lt;/P&gt;&lt;P&gt;B 30&lt;/P&gt;&lt;P&gt;C 56&lt;/P&gt;&lt;P&gt;D 50&lt;/P&gt;&lt;P&gt;E 80&lt;/P&gt;&lt;P&gt;How can I actually split the above table into a nicely pivot table:&lt;/P&gt;&lt;P&gt;Index Percentage band Number of entries&lt;/P&gt;&lt;P&gt;0-30 1&lt;/P&gt;&lt;P&gt;31-60 3&lt;/P&gt;&lt;P&gt;61-100 1&lt;/P&gt;&lt;P&gt;Would need to code the percentage band and check the index to ensure they are within the band.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 12:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226925#M79080</guid>
      <dc:creator />
      <dc:date>2011-02-23T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226926#M79081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hei&lt;/P&gt;&lt;P&gt;attach is an example using CLASS function&lt;/P&gt;&lt;P&gt;the only thing Problematic is the function only works in indentical intrevals&lt;/P&gt;&lt;P&gt;hope its helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 12:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226926#M79081</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2011-02-23T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226927#M79082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that when I specify&lt;/P&gt;&lt;P&gt;class(aggr(Index,Loan),31)&lt;/P&gt;&lt;P&gt;I get the following:&lt;/P&gt;&lt;P&gt;Class Agg&lt;/P&gt;&lt;P&gt;0&amp;lt;= X &amp;lt;31 , since I did count(Loan) it is basically counting all 5 loans above, therefore I get only&lt;/P&gt;&lt;P&gt;0&amp;lt;= X &amp;lt;31 5&lt;/P&gt;&lt;P&gt;Does not seem to split into 3 different rows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 15:37:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226927#M79082</guid>
      <dc:creator />
      <dc:date>2011-02-23T15:37:13Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226928#M79083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think class is going to do exactly what you want here because, like ROIUSER said, class will only show identical intervals (1-5, 6-10, 11-15, etc.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([Index]&amp;gt;=0 And Index&amp;lt;=30, '0-30',&lt;/P&gt;&lt;P&gt;if([Index] &amp;gt;30 And [Index]&amp;lt;=60, '31-60',&lt;/P&gt;&lt;P&gt;if([Index]&amp;gt;60 And [Index]&amp;lt;=100, '61-100'&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I usually don't like putting expressions as dimensions but I don't think this one will be a problem (I've had a few that were huge and made any calculations impossible). I suppose you could put this in the script as a field and just name it 'Index Percentage Band' if you wanted but I must admit I am pretty new to the script so I could be wrong (although I've done this several times so I know I'm not, but I'm pretty new to all of this so I like to cover my tracks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 17:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226928#M79083</guid>
      <dc:creator />
      <dc:date>2011-02-23T17:43:41Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226929#M79084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works for the dimensions bit.&lt;/P&gt;&lt;P&gt;However I still seem to have trouble getting the number of entries displayed in the screen.&lt;/P&gt;&lt;P&gt;What expression should I put to ensure say Index - 55 fits into the 31-60 range and then each entry fits into its own range.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226929#M79084</guid>
      <dc:creator />
      <dc:date>2011-02-23T19:14:41Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226930#M79085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here what I have got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;0%-60%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;246832&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;100+%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;257966&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;61%-65%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;278360&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;66%-70%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;299406&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;71%-75%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;320237&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;76%-80%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;342216&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;81%-85%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;363971&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;86%-90%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;383681&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;90%-95%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;398878&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;96%-99%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;407186&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl28" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;407186&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But when I click on one of the LTV band I get:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;96%-99%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;8308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;8308&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This seems to be calculated based on 407186 - 398878&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;90%-95%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;15197&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;15197&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This seems to be calculated based on 398878 - 383681&lt;/P&gt;&lt;P&gt;Same applied for the other rows. I guess I probably did not put any If conditions into the expression.&lt;/P&gt;&lt;P&gt;Little bit help here would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226930#M79085</guid>
      <dc:creator />
      <dc:date>2011-02-23T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226931#M79086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here what I have got:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;0%-60%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;246832&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;100+%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;257966&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;61%-65%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;278360&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;66%-70%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;299406&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;71%-75%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;320237&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;76%-80%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;342216&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;81%-85%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;363971&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;86%-90%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;383681&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;90%-95%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;398878&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;96%-99%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;407186&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl28" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;407186&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;But when I click on one of the LTV band I get:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;96%-99%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;8308&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;8308&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;This seems to be calculated based on 407186 - 398878&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:251pt;border-collapse:collapse;" width="335"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:141pt;mso-width-source:userset;mso-width-alt:6875;" width="188" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:141pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="188"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;90%-95%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;15197&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;15197&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This seems to be calculated based on 398878 - 383681&lt;/P&gt;&lt;P&gt;Same applied for the other rows. I guess I probably did not put any If conditions into the expression.&lt;/P&gt;&lt;P&gt;Little bit help here would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226931#M79086</guid>
      <dc:creator />
      <dc:date>2011-02-23T19:25:23Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226932#M79087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you have accumulation turned on or something since your numbers keep getting bigger and bigger and the total is the same as the last record in your chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226932#M79087</guid>
      <dc:creator />
      <dc:date>2011-02-23T19:28:35Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226933#M79088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached for script solution and calculated dimension solution. I recommend a script solution if the field you're classifying is a real field instead of a calculation itself. Both solutions work fine when you select rows in them. I don't know why you're having problems in your real application. You may need to post something demonstrating the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 19:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226933#M79088</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-02-23T19:34:25Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226934#M79089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script does not solve the issue that I have got. I still get the numbers accumulated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width:244pt;border-collapse:collapse;" width="325"&gt;&lt;COLGROUP&gt;&lt;COL style="width:110pt;mso-width-source:userset;mso-width-alt:5376;" width="147" /&gt;&lt;COL style="width:134pt;mso-width-source:userset;mso-width-alt:6509;" width="178" /&gt;&lt;/COLGROUP&gt;&lt;TBODY&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl22" height="17" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:110pt;border-bottom:black 0.5pt solid;height:12.75pt;background-color:#e6e6e6;" width="147"&gt;&lt;STRONG&gt;Indexed LTV Band&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl22" style="border-right:#e0dfe3;border-top:black 0.5pt solid;border-left:#e0dfe3;width:134pt;border-bottom:black 0.5pt solid;background-color:#e6e6e6;" width="178"&gt;&lt;STRONG&gt;All loans&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;0%-60%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;246832&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;61%-65%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;267226&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;66%-70%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;288272&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;71%-75%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;309103&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;76%-80%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;331082&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl25" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;81%-85%&lt;/TD&gt;&lt;TD align="right" class="xl26" style="background-color:whitesmoke;border:#e0dfe3;"&gt;352837&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;86%-90%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;372547&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;90%-95%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;387744&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl23" height="17" style="height:12.75pt;background-color:white;border:#e0dfe3;"&gt;96%-99%&lt;/TD&gt;&lt;TD align="right" class="xl24" style="background-color:white;border:#e0dfe3;"&gt;407186&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height:12.75pt;"&gt;&lt;TD class="xl27" height="17" style="height:12.75pt;background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right" class="xl28" style="background-color:whitesmoke;border:#e0dfe3;"&gt;&lt;STRONG&gt;407186&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I should be expecting the total for 61-65 to be 267226-246832&lt;/P&gt;&lt;P&gt;and 65-60 to be 288272 - 267226 and etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 16:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226934#M79089</guid>
      <dc:creator />
      <dc:date>2011-03-11T16:51:33Z</dc:date>
    </item>
    <item>
      <title>Aggregation and Pivot Tables Query</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226935#M79090</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;felix.gan wrote:The script does not solve the issue that I have got. I still get the numbers accumulated.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;The example I gave doesn't accumulate, so your problem lies elsewhere. As Trent said, perhaps you have accumulation turned on. Properties -&amp;gt; Expressions -&amp;gt; Accumulation. It should be "No Accumulation". You could also be accumulating with the expression, like if you're doing some sort of rangesum() with above(). Don't do that. Or maybe you have a data model that forces accumulation, which is a trick I sometimes employ in examples. Don't do that either. But basicaly, you actually have to do something in order to get accumulation. Accumulation isn't the default. So you did something you shouldn't have done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 17:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-and-Pivot-Tables-Query/m-p/226935#M79090</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-14T17:59:40Z</dc:date>
    </item>
  </channel>
</rss>

