<?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: Rangesum below is not working for second materal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49112#M770591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your Excel file. All it is showing for Rangesum is 0 for all Cal Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204497_Capture.PNG" style="height: 32px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2018 15:16:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-06-06T15:16:24Z</dc:date>
    <item>
      <title>Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49103#M770582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I am applying an expression of rangesum below function to try to get the total detail value after a specific Cal Week as the value of Cal week, I use this expression &lt;/P&gt;&lt;P&gt;Concat(DISTINCT aggr( rangesum(below(sum(Detail), 1, 334)),[Cast Week],Material,Loc,[Cal Week]), '') ,&lt;/P&gt;&lt;P&gt;but it only works for first material, it doesn't work from second material, I have uploaded the qvw file. Can someone help me about this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49103#M770582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49104#M770583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where in the app are you using the above function? I see this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;Dimension, Date= {'$(vDate)'}&amp;gt;}Failed),0,RowNo()))*Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But where can we see this and the issue related with it?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT aggr( rangesum(below(sum(Detail), 1, 334)),[Cast Week],Material,Loc,[Cal Week]), '')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 14:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49104#M770583</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-04T14:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49105#M770584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thanks for reminding, I think I uploaded the wrong qvw file, I attached the correct file, can you see it now?&lt;/P&gt;&lt;P&gt;Now my question is how to make expression&amp;nbsp; that&amp;nbsp; total of the details after the Cal week&amp;nbsp; as the Rangsum of that Cal week&lt;/P&gt;&lt;P&gt;when Cal Week is greater than Cast Week , just like the attached screenshot:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 06:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49105#M770584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T06:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49106#M770585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, cast week is 2018044 and you want to perform the rangesum only after that week? Also, cast week is not a number field... do you have another field like cast week which looks like cal week?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 11:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49106#M770585</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-05T11:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49107#M770586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;I want to perform the rangsum when Cal Week is after 2018044, I updated the qvw file which cast week format is like cal week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 14:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49107#M770586</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-05T14:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49108#M770587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this look like what you wanted?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204411_Capture.PNG" style="height: 68px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Before(If([Cal Week] &amp;gt;= [Cast Week], Sum(Detail)), 0, 334))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 19:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49108#M770587</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-05T19:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49109#M770588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thanks for your expression, but it is not the expected result.&lt;/P&gt;&lt;P&gt;For an example:&lt;/P&gt;&lt;P&gt;For matl code AS72C/location code AU27:&lt;/P&gt;&lt;P&gt;from cal week 2018011 to 2018044, the expected value of Rangesum is 0 because only need to show value on cal week which is greater than cast week, cal week2018011 to 2018044 is not greater than cast week, so no need to show value of Rangsum or&amp;nbsp; 0 for these cells ;&lt;/P&gt;&lt;P&gt;for cal week 2018051, its detail value 10248, but after cal week 2018051 all detail value is 0, so the Rangesum value on cal week 2018051 column is 0 because I need the details sum which cal week is greater than 2018051 till this row end.&lt;/P&gt;&lt;P&gt;I attached the expected result excel sheet, please check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 01:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49109#M770588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T01:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49110#M770589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(sum(total&amp;lt;[Cast Week],[Rep Item],[Matl Code],[Location Code]&amp;gt;&amp;nbsp; Detail) - &lt;/P&gt;&lt;P&gt;rangesum(before(sum(Detail), 0, ColumnNo())) ) *&amp;nbsp; PurgeChar( [Cal Week]&amp;gt;trim(Replace([Cast Week],'WF','')),'-') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 05:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49110#M770589</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2018-06-06T05:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49111#M770590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Susant,&lt;/P&gt;&lt;P&gt;Thanks very much for your expression, it works! But I have additional requirement based on the Rangesum of each cal week, that is to&lt;/P&gt;&lt;P&gt;show Rangesum of period and the value is the 4th week of each period, for example:&lt;/P&gt;&lt;P&gt;for matl code BP42T/location code AU00, Rangesum of cal week 2018054 is 25164, I need this value shown in 201805 column when I switch the dimension Cal Period. I attached the qvw file, please check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 07:29:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49111#M770590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-06T07:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49112#M770591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand your Excel file. All it is showing for Rangesum is 0 for all Cal Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204497_Capture.PNG" style="height: 32px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 15:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49112#M770591</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-06T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rangesum below is not working for second materal</title>
      <link>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49113#M770592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am assuming you want to display the data from 201804&amp;nbsp; and show the last week accumulated value for that month . if so the below expression should be fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sum(total&amp;lt;[Cast Week],[Rep Item],[Matl Code],[Location Code]&amp;gt;&amp;nbsp; Detail) -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sum(total&amp;lt;[Cast Week],[Rep Item],[Matl Code],[Location Code],[Cal Period]&amp;gt;Detail) ) * (&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PurgeChar( [Cal Period] &amp;gt; only({&amp;lt;[Cal Period]={"=wildmatch(trim(Replace([Cast Week],'WF','')) , '*'&amp;amp;[Cal Period]&amp;amp;'*')=1"}&amp;gt;} total [Cal Period]),'-') ) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 11:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rangesum-below-is-not-working-for-second-materal/m-p/49113#M770592</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2018-06-07T11:52:31Z</dc:date>
    </item>
  </channel>
</rss>

