<?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: Range sum above in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574833#M442443</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer. I already tried with Sum(total($(v_Qtymix)) but it doesn't work. There are "-" on every row. I think it is because Qty mix is&amp;nbsp; an expression.&lt;/P&gt;&lt;P&gt;I also tried with Sum total aggr, it gives me the same value on every rows (it's what I want) but the result it's not the good one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2019 07:24:27 GMT</pubDate>
    <dc:creator>Loreen</dc:creator>
    <dc:date>2019-04-30T07:24:27Z</dc:date>
    <item>
      <title>Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574802#M442440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I try to get the result of the total mix quantity column, like below :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product n°&lt;/TD&gt;&lt;TD&gt;MIX QUANTITY&lt;/TD&gt;&lt;TD&gt;TOTAL MIX QUANTITY&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;10358&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1966&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1966&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1966&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1500&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1500&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1500&lt;/TD&gt;&lt;TD&gt;10398&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column total mix quantity is the sum of rows of the mix quantity column. My column&amp;nbsp; MIX QUANTITY is an expression. For the total mix quantity column, I tried with Rangesum($(v_Mixqty)) and it gives me the result of the column mix quantity.&lt;/P&gt;&lt;P&gt;I tried to create an expression with rangesum and above but it always gives me 0 on every rows. Do you have an idea to solve my problem ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Loreen&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 06:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574802#M442440</guid>
      <dc:creator>Loreen</dc:creator>
      <dc:date>2019-04-30T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574812#M442441</link>
      <description>&lt;P&gt;I guess easier way would be to use TOTAL qualifier in expression. Say, your mix quantity result comes using expression &lt;FONT face="courier new,courier"&gt;Sum(quantity)&lt;/FONT&gt;, then for total column you could use&amp;nbsp; &amp;nbsp; &lt;FONT face="courier new,courier"&gt;Sum(&lt;STRONG&gt;Total&lt;/STRONG&gt; quantity)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574812#M442441</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-30T07:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574833#M442443</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your answer. I already tried with Sum(total($(v_Qtymix)) but it doesn't work. There are "-" on every row. I think it is because Qty mix is&amp;nbsp; an expression.&lt;/P&gt;&lt;P&gt;I also tried with Sum total aggr, it gives me the same value on every rows (it's what I want) but the result it's not the good one&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574833#M442443</guid>
      <dc:creator>Loreen</dc:creator>
      <dc:date>2019-04-30T07:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574834#M442444</link>
      <description>How is your variable v_Qtymix defined?</description>
      <pubDate>Tue, 30 Apr 2019 07:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574834#M442444</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-30T07:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574839#M442445</link>
      <description>&lt;P&gt;v_Qtymix :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Sum(Aggr(NODISTINCT($(v_Qty_17salesmen),Material_Code))&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$(v_Qty_17salesmen) : It's a variable calculated with %qty plus a context that makes me filter the salesmen that I want&lt;/P&gt;&lt;P&gt;here is the expression that I have in my excel file :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Sum({$&amp;lt;{CTXT}, SalesRep=, SalesRep_Code=,SalesRep_Code={'S10','S11','S12','S14','S15','S16','S19','S21','S22','S23','S24','S29','S31','S32','S33','S34','S39'}&amp;gt;} %Qty)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574839#M442445</guid>
      <dc:creator>Loreen</dc:creator>
      <dc:date>2019-04-30T07:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574841#M442446</link>
      <description>&lt;P&gt;Try:&lt;BR /&gt;Sum( &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; Aggr(NODISTINCT($(v_Qty_17salesmen),Material_Code))&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 07:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574841#M442446</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-04-30T07:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574866#M442447</link>
      <description>&lt;P&gt;Thanks you very much for your reply,&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;P&gt;Sum(TOTAL&amp;lt;SalesRep&amp;gt;Aggr(NODISTINCT(Sum(TOTAL&amp;lt;Material_Code&amp;gt;AGGR($(v_Qtymix),SalesRep,Material_Code))),Material_Code))&lt;/P&gt;&lt;P&gt;The result is almost good. The only issue is that my filter on sales men doesn't work, the calcul takes all the salesmen into account&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 08:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1574866#M442447</guid>
      <dc:creator>Loreen</dc:creator>
      <dc:date>2019-04-30T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Range sum above</title>
      <link>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1575065#M442477</link>
      <description>Hi Can you please share your sample QVW file&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Kushal</description>
      <pubDate>Tue, 30 Apr 2019 13:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Range-sum-above/m-p/1575065#M442477</guid>
      <dc:creator>kushalthakral</dc:creator>
      <dc:date>2019-04-30T13:10:55Z</dc:date>
    </item>
  </channel>
</rss>

