<?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: RangSum in Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291376#M518387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Sunny is right. The number should change based on selections. I solved it now by generating a sorted table in the script . By storing it in a qvw and loading it again the numbers are sorted and my function in the text object works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2016 08:08:10 GMT</pubDate>
    <dc:creator>mhc4qlik</dc:creator>
    <dc:date>2016-11-23T08:08:10Z</dc:date>
    <item>
      <title>RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291366#M518376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Communitiy,&lt;/P&gt;&lt;P&gt;I have an RangeSum Issue in Qlikview. that I cannot solve on my own. I realy hope you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Is it possible to sort a field in the rangeSum function?. It should start to sum with the largest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to build a small example. I have generated three fields with an Inline Table. Supplier, Spend and Complete Spend.&lt;/P&gt;&lt;P&gt;At the end there should be only one Number in a text object: The Amount of Suppliers, who has 80% of the Total Spend.&lt;/P&gt;&lt;P&gt;It is important to start with the largest number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Number in the Table is right. 5 is correct, but I cannot get the right number in the text object.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&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;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;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SPEND&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: #800000; font-size: 8pt;"&gt;COMPLETE_SPEND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &amp;lt;= 0.8,&lt;BR /&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: #800000; font-size: 8pt;"&gt;SPEND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&lt;BR /&gt; , &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SPEND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt; ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thank you in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 12:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291366#M518376</guid>
      <dc:creator>mhc4qlik</dc:creator>
      <dc:date>2016-11-22T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291367#M518377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this discussion helps you towards a way to do this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/238243"&gt;ABC Analysis in Qlikview&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 13:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291367#M518377</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T13:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291368#M518378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny,&lt;/P&gt;&lt;P&gt;thank you for your answer. Unfortunately this discussion doesn't help. My problem is it to get the number in a text object. In the table it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 13:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291368#M518378</guid>
      <dc:creator>mhc4qlik</dc:creator>
      <dc:date>2016-11-22T13:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291369#M518380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that RangeSum is dimension dependent and since your text box doesn't have a dimension it doesn't really work. The work around is to use Aggr() function to give it a dimension, but now the issue is that Aggr() is sorted in a particular order (load order before QV12 and starting QV12 you can sort ascending or descending by your field names). The important thing to note is that it can still not sort by expression in QV12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your application you have it sorted by SPEND which is field. If that is the case in your actual application and you have QV12, this may still work. But if you have to sort by Sum(Spend) descending, then the only option is the method that Oleg mentioned in his post here: &lt;A href="https://community.qlik.com/docs/DOC-9072"&gt;So How Many Customers Make Up Most of Your Sales?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291369#M518380</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T14:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291370#M518381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at the attached qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291370#M518381</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-11-22T19:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291371#M518382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you attach the right qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291371#M518382</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T19:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291372#M518383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;Now it should be the correct one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291372#M518383</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-11-22T19:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291373#M518384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this value is static and will not change based on selection. For instance if we have Supplier by country and the use want to see this number change based on selection of a particular country, that would not happen here because it all done in the script, right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 19:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291373#M518384</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291374#M518385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are absolutly right &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;I missread the requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 20:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291374#M518385</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2016-11-22T20:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291375#M518386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/people/franky_h79"&gt;franky_h79&lt;/A&gt;‌ I am not saying you are incorrect and I don't even know if changes based on selection is a requirement or not. But just trying to point out that this could be an issue &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 20:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291375#M518386</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-11-22T20:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291376#M518387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Sunny is right. The number should change based on selections. I solved it now by generating a sorted table in the script . By storing it in a qvw and loading it again the numbers are sorted and my function in the text object works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 08:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291376#M518387</guid>
      <dc:creator>mhc4qlik</dc:creator>
      <dc:date>2016-11-23T08:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291377#M518388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u please share the app..&lt;/P&gt;&lt;P&gt;I have the same requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2016 13:46:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291377#M518388</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2016-12-06T13:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: RangSum in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291378#M518389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kavita,&lt;/P&gt;&lt;P&gt;of course I can share the app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two qvws. In the first step I sort the table and store it in a qvd. Then I can use the function in the text object in the second qvw.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2016 08:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RangSum-in-Text-Object/m-p/1291378#M518389</guid>
      <dc:creator>mhc4qlik</dc:creator>
      <dc:date>2016-12-07T08:44:12Z</dc:date>
    </item>
  </channel>
</rss>

