<?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 Chart with Calculated Dimensions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231411#M861319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chart also not showing rangesum value - still summing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149231_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 10:06:45 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-01-12T10:06:45Z</dc:date>
    <item>
      <title>RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231406#M861314</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 find some information of how to display a table with a RangeSum expression and a calculated dimensions in a chart.&amp;nbsp; I've searched the community pages and on twitter with no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table shows a range sum expression calculating the running average value per group by the calculated dimension of Week and Group.&amp;nbsp; (variables altered for privacy) The table shows the correctly calculated data however, when I convert this into a chart, the values are not displayed correctly - see screenshots and detail below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;L&gt;&lt;/L&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'l''}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[value]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))&lt;BR /&gt; /&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeSum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Above&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RowNo&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TOTAL&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;Dimensions&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; text-decoration: underline;"&gt;Weeks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Creation Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/7&amp;lt;0,0,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;isnull&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Creation Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(([&lt;SPAN style="color: #800000;"&gt;Creation &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Date]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/7))) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt; text-decoration: underline;"&gt;Group&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Match&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'1','2','3'),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/149144_pastedImage_15.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/149145_pastedImage_16.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart shows correct weeks and groups but the expression values are not in line with the correct values that are shown in the table - see axes from £0 - £18,000 - Summing the values rather than the rangesum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/149146_pastedImage_17.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be greatly appreciated &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rachel&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-Chart-with-Calculated-Dimensions/m-p/1231406#M861314</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231407#M861315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Above(Sum({&amp;lt;&lt;L&gt;= {'l''}&amp;gt;}[value]),0,RowNo()))&lt;/L&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RangeSum(Above(Count(DISTINCT(C)),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, Group, Weeks)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231407#M861315</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-11T17:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231408#M861316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for getting back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Weeks' is a calculated dimension and not a variable so not recognised in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rachel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231408#M861316</guid>
      <dc:creator />
      <dc:date>2017-01-11T20:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231409#M861317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create it in the script? Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ([Creation Date]-[Date])/7 as NewField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then it might work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231409#M861317</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-11T20:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231410#M861318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried this previously without the Agg() and had no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated the script to include 'Weeks' for the dimension and the Agg() in the expression - see below table, values are not showing as rangesum &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149200_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231410#M861318</guid>
      <dc:creator />
      <dc:date>2017-01-12T10:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231411#M861319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chart also not showing rangesum value - still summing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149231_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 10:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231411#M861319</guid>
      <dc:creator />
      <dc:date>2017-01-12T10:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231412#M861320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample qvw file to look at the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 16:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231412#M861320</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-12T16:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231413#M861321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached an example qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231413#M861321</guid>
      <dc:creator />
      <dc:date>2017-01-13T12:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231414#M861322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this sort of kind of what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="149385" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149385_Capture.PNG" style="height: 231px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few things to note:&lt;/P&gt;&lt;P&gt;1) Select 'No Accumulation' instead of 'Full Accumulation'&lt;/P&gt;&lt;P&gt;2) Use set analysis instead of calculated dimension for Group&lt;/P&gt;&lt;P&gt;3) I don't know if you have QV12 or not, but it seems that Week are not sorted from 0 to n in ascending order, but if you have QV12 installed you can do it on the front end of the application using &lt;A href="https://community.qlik.com/qlik-blogpost/4673"&gt;The sortable Aggr function is finally here!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;RangeSum(Above(Sum({&amp;lt;Group = {1,2,3}&amp;gt;}Value),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Count({&amp;lt;Group = {1,2,3}&amp;gt;} DISTINCT Concat),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;, Group, (Weeks,(NUMERIC)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 12:24:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231414#M861322</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T12:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231415#M861323</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;&lt;/P&gt;&lt;P&gt;Its definitely closer than I was!&amp;nbsp; See attached example - the 'No Accumulation' shows the correct direction of development with the curve, however,&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the set analysis for group does not work in the expression - one line shown and no individual groups shown&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached I have updated the expression to 'no accumulation' but the values in the chart still don't match the table.&lt;/P&gt;&lt;P&gt;Group 3 at 28 weeks in the table is £4,064 however the chart shows £4,056.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149417_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;I think the dimension is causing the problem as when I click the groups in isolation the correct values are displayed in the chart!&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149418_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/149419_pastedImage_6.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any ideas on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Rachel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231415#M861323</guid>
      <dc:creator />
      <dc:date>2017-01-13T15:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231416#M861324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You changed the expression I gave you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. You will have to use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(RangeSum(Above(sum(Value),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Count(DISTINCT(Concat)),0,RowNo())), Group, (Weeks, (Numeric)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not going to work without Aggr() I am afraid&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/149421_Capture.PNG" style="height: 616px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 15:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231416#M861324</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-13T15:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231417#M861325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! could you please include the qvw? &lt;/P&gt;&lt;P&gt;I have 'no data to display' in the chart with the AGGR() expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 09:58:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231417#M861325</guid>
      <dc:creator />
      <dc:date>2017-01-16T09:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231418#M861326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you open this link, you will see the qvw attached with my previous response&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1193177"&gt;Re: RangeSum Chart with Calculated Dimensions?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 01:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231418#M861326</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-17T01:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231419#M861327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks - your attached qvw is the same though - 'no data to display'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 09:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231419#M861327</guid>
      <dc:creator />
      <dc:date>2017-01-17T09:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum Chart with Calculated Dimensions?</title>
      <link>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231420#M861328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have asked this (mentioned it) couple of times about the version of QlikView you have. I think you don't have QV12 and my solution will only work in QV12. For anything below QV12, you will have to fix the order of Week field in the script to make this to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;Temp:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;LOAD RowNo() - 1 as Weeks&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;AutoGenerate 10000;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Concat, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Creation Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FN, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if(([Creation Date]-[Date])/7&amp;lt;0,0,if(isnull([Creation Date]-[Date]),0,Round(([Creation Date]-[Date])/7))))as [Weeks]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[example rangesum.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;DROP Table Temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the Temp table create enough Weeks to cover your Weeks from your main table calculation. I have created 10,000 weeks in ascending order just so that we can use the load order from Aggr() function. Later in the script, I drop the temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(RangeSum(Above(sum(Value),0,RowNo()))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(Count(DISTINCT(Concat)),0,RowNo())), Group, Weeks)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching the qvw with my response. Please check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 10:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangeSum-Chart-with-Calculated-Dimensions/m-p/1231420#M861328</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-17T10:22:41Z</dc:date>
    </item>
  </channel>
</rss>

