<?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 Qlik Sense  - rangesum not working when filters applied in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-rangesum-not-working-when-filters-applied/m-p/1569007#M62953</link>
    <description>&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;3 weeks into Qlik Sense and loving it!&lt;/P&gt;&lt;P&gt;I have an expression:&lt;/P&gt;&lt;P&gt;If([Heading-MAVehSales01] = 'Net Vehicle Sales', RangeSum(Above($(vMTDCurActMoney),0,4)),99999)&lt;/P&gt;&lt;P&gt;vMTDCurActMoney is a variable as below:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MACat01 = {'Money'},Stream = {'Actual'},[TYPE_KEY] = {'CURRENT'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;On the sheet I have 4 Filters, YEAR, MONTH, Dealership, Dept.&lt;/P&gt;&lt;P&gt;The above formula works fine without filters and returns the correct result but with filters I just get zero??&lt;/P&gt;&lt;P&gt;Background here is that I am trying to write a Profit and Loss Sheet where subtotalling is a bit tricky. I have tried other suggestions for this but they all seem to have their limitations; TransposedPivotTable would take too long to write and you appear to be unable to format columns, PL Smart pivot, whilst useful will not cater for the column count I have in mind. Pivot tables themselves are too slow with 7 tiers of data (which is what I need to report. So I am back to either Table or Pivot table with subtotalling within a single tier. This is faster and will only require 3 tiers.&lt;BR /&gt;The issue in essence is that a dimensions "Gross Sales", "Discounts" and "overallowances" associate with GL codes and the "Net Vehicle Sales" is the sum of these.&lt;/P&gt;&lt;P&gt;So in short I need help on:&lt;/P&gt;&lt;P&gt;1. Making the rangesum expression work with filters&lt;/P&gt;&lt;P&gt;2. Any other inspiration to alternatively present a 7 tier PT so that it's quicker.&lt;/P&gt;&lt;P&gt;I attach my file&lt;/P&gt;</description>
    <pubDate>Fri, 02 Apr 2021 07:53:54 GMT</pubDate>
    <dc:creator>Pete673</dc:creator>
    <dc:date>2021-04-02T07:53:54Z</dc:date>
    <item>
      <title>Qlik Sense  - rangesum not working when filters applied</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-rangesum-not-working-when-filters-applied/m-p/1569007#M62953</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;3 weeks into Qlik Sense and loving it!&lt;/P&gt;&lt;P&gt;I have an expression:&lt;/P&gt;&lt;P&gt;If([Heading-MAVehSales01] = 'Net Vehicle Sales', RangeSum(Above($(vMTDCurActMoney),0,4)),99999)&lt;/P&gt;&lt;P&gt;vMTDCurActMoney is a variable as below:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MACat01 = {'Money'},Stream = {'Actual'},[TYPE_KEY] = {'CURRENT'}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;On the sheet I have 4 Filters, YEAR, MONTH, Dealership, Dept.&lt;/P&gt;&lt;P&gt;The above formula works fine without filters and returns the correct result but with filters I just get zero??&lt;/P&gt;&lt;P&gt;Background here is that I am trying to write a Profit and Loss Sheet where subtotalling is a bit tricky. I have tried other suggestions for this but they all seem to have their limitations; TransposedPivotTable would take too long to write and you appear to be unable to format columns, PL Smart pivot, whilst useful will not cater for the column count I have in mind. Pivot tables themselves are too slow with 7 tiers of data (which is what I need to report. So I am back to either Table or Pivot table with subtotalling within a single tier. This is faster and will only require 3 tiers.&lt;BR /&gt;The issue in essence is that a dimensions "Gross Sales", "Discounts" and "overallowances" associate with GL codes and the "Net Vehicle Sales" is the sum of these.&lt;/P&gt;&lt;P&gt;So in short I need help on:&lt;/P&gt;&lt;P&gt;1. Making the rangesum expression work with filters&lt;/P&gt;&lt;P&gt;2. Any other inspiration to alternatively present a 7 tier PT so that it's quicker.&lt;/P&gt;&lt;P&gt;I attach my file&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-rangesum-not-working-when-filters-applied/m-p/1569007#M62953</guid>
      <dc:creator>Pete673</dc:creator>
      <dc:date>2021-04-02T07:53:54Z</dc:date>
    </item>
  </channel>
</rss>

