<?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 across dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339701#M29488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week, VerifiedSort&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week, (VerifiedSort, (NUMERIC))&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Aug 2017 18:49:56 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-02T18:49:56Z</dc:date>
    <item>
      <title>RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339696#M29483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using the rangesum function to show a cumulative percentage across 4 values by date as shown below.&amp;nbsp; I use the following expression to do this:&amp;nbsp; Rangesum(above(Count([Order#])/ Aggr(Nodistinct count([Order#]),WeekStart),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSumWorks.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172225_RangeSumWorks.JPG" style="height: 191px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Now I'd like to flip the dimensions 'Week' and 'When Resulted' so I change the Aggr function to aggregate on 'When Resulted' like this: Rangesum(above(Count([Order#])/ Aggr(Nodistinct count([Order#]),[When Verified]),0,RowNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That results in a chart that looks like the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSumNotWorking.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/172256_RangeSumNotWorking.JPG" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I understand why it's doing what it's doing but what I really want is for it to show the values in the first chart so I can see all the 'Before 4' values together etc.&amp;nbsp; I'm looking to have 'Before 4' have values of 70.77%, 73.39%, 75.55% etc.&amp;nbsp; Not sure if this can even be done.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 15:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339696#M29483</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-02T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339697#M29484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Week, [&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;When Resulted])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 17:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339697#M29484</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-02T17:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339698#M29485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, thank you for your help again.&amp;nbsp; It's very close.&amp;nbsp; See below.... not sure why it's calculating the one dimension value out of order.&amp;nbsp; I load the data with another field for the sort order of the dimensions and sort by expression in the chart.&amp;nbsp; It's like the expression isn't taking that into account?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current expression is:&amp;nbsp; Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), WeekStart, [When Verified])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSumPartial.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172277_RangeSumPartial.JPG" style="height: 269px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339698#M29485</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-02T18:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339699#M29486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the new sorted field called?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339699#M29486</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-02T18:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339700#M29487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny, thank you for the reply and for taking your time to help.&amp;nbsp; It is called "VerifiedSort".&amp;nbsp; It is a number 0 through 4.&amp;nbsp; The "Bad Data" is normally filtered out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="WhenVerified.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172279_WhenVerified.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;When I don't exclude it there is also has a strange result with the "Bad Data" value at 100% for any week that had any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSumNofilter.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/172283_RangeSumNofilter.JPG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339700#M29487</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-02T18:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339701#M29488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week, VerifiedSort&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr(RangeSum(Above(Count([Order#])/ Count(TOTAL &amp;lt;WeekStart&amp;gt; [Order#]), 0, RowNo())), &lt;/STRONG&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Week, (VerifiedSort, (NUMERIC))&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 18:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339701#M29488</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-02T18:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339702#M29489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny you are awesome!!! Thank you so much.&amp;nbsp; It was the second expression with the NUMERIC that did it.&amp;nbsp; Now I have to study it to understand it.&amp;nbsp;&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RangeSumWorksNew.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172286_RangeSumWorksNew.JPG" style="height: 260px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 19:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339702#M29489</guid>
      <dc:creator>wayne-a</dc:creator>
      <dc:date>2017-08-02T19:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: RangeSum across dimension</title>
      <link>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339703#M29490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can read about that here:&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 19:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/RangeSum-across-dimension/m-p/1339703#M29490</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-02T19:14:37Z</dc:date>
    </item>
  </channel>
</rss>

