<?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: Customize subtotals for Dimensions using dimensionality. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Customize-subtotals-for-Dimensions-using-dimensionality/m-p/355442#M131939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 0 AND ColumnNo() &amp;lt;= 1, sum({&amp;lt;Week.Seq = {'-1'}&amp;gt;} HIS), sum(HIS))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I did is make sure that only column 0 (Total and Last week) are effected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2012 15:02:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-18T15:02:24Z</dc:date>
    <item>
      <title>Customize subtotals for Dimensions using dimensionality.</title>
      <link>https://community.qlik.com/t5/QlikView/Customize-subtotals-for-Dimensions-using-dimensionality/m-p/355441#M131938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to customize a subtotal for a particular expression at the overall dimension level to be equal to the last weeks total (Each weeks have sequesnces where last week sequence is -1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to image below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Vendor St dimension level I would like the HIS to be equal to the HIS for week 201225 and for all the other weeks un-changed. I tried using dimensionality with set analysis in expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(dimensionality = 1, sum({&amp;lt;Week.Seq = {'-1'}&amp;gt;} HIS), sum(HIS))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works perfectly for all rows but not the global totals since I get the same value for Week 201225 and the sum but the other weeks are all 0. I understand why this is the case. I just can't seem to find how to solve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 21:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customize-subtotals-for-Dimensions-using-dimensionality/m-p/355441#M131938</guid>
      <dc:creator />
      <dc:date>2012-07-17T21:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Customize subtotals for Dimensions using dimensionality.</title>
      <link>https://community.qlik.com/t5/QlikView/Customize-subtotals-for-Dimensions-using-dimensionality/m-p/355442#M131939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Dimensionality() = 0 AND ColumnNo() &amp;lt;= 1, sum({&amp;lt;Week.Seq = {'-1'}&amp;gt;} HIS), sum(HIS))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I did is make sure that only column 0 (Total and Last week) are effected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2012 15:02:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Customize-subtotals-for-Dimensions-using-dimensionality/m-p/355442#M131939</guid>
      <dc:creator />
      <dc:date>2012-07-18T15:02:24Z</dc:date>
    </item>
  </channel>
</rss>

