<?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: Custom Range Functions for e.g. Above with count - in expression (no script) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450090#M434154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just realized, that this only solves one of the Questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how would you do the second, with the concatenate?&lt;/P&gt;&lt;P&gt;So we can have for elvis the string "30-50-10", for Dora: "50-10-80".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 14:22:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-23T14:22:36Z</dc:date>
    <item>
      <title>Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450084#M434148</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;having an expression like &lt;SPAN style="color: #0f0f0f; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px;"&gt;Above(Sales,1,3) &lt;/SPAN&gt;I would like to be able to continue to work with the resulting "Array" or "Range" of the result.&lt;/P&gt;&lt;P&gt;For example I want to Aggregate that range in a way, the &lt;A href="http://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/ChartFunctions/RangeFunctions/RangeFunctionsInCharts.htm"&gt;Range functions&lt;/A&gt; do not offer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Concat( &lt;SPAN style="color: #0f0f0f; font-size: 12px;"&gt;Above(Sales,1,3)&lt;/SPAN&gt; , ';' )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or do calculations on them and then aggregate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 10pt; font-family: 'courier new', courier;"&gt;RangeSum( Above(Sales,1,3) &amp;gt; 500 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would that be possible?&lt;/P&gt;&lt;P&gt;And if not, would it be possible with Macros+VBScript? If yes, how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Working with QlikView&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:49:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450084#M434148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T08:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450085#M434149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quite sure what do you want to do but I think most of your calculations will be possible with a combination of a range- and interrecord-function like rangesum() and above(). Maybe you are missing an inner aggregation and/or a TOTAL within the above - I mean something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0f0f0f; font-size: 10pt; font-family: 'courier new', courier;"&gt;RangeSum(Above(&lt;STRONG&gt;TOTAL sum(Sales)&lt;/STRONG&gt;,1,3)) &amp;gt; 500&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should be return a true or false for this comparing and by including it within an if-loop you could decide what should be done respectively returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 11:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450085#M434149</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-08-23T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450086#M434150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you be able to share few rows of data with the expected output from it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450086#M434150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T12:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450087#M434151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might have been misleading to use "Sales" in my example, because in most examples a table shows the aggregation "Sum(Sales)".&lt;/P&gt;&lt;P&gt;However, it doesn't make a difference - Let's assume, I just have a single Sales value per row:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="149" style="border: 1px solid #000000; width: 121px; height: 126px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Alf&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Ben&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Charlotte&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Dora&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Elvis&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do for every row the following:&lt;/P&gt;&lt;P&gt;Take the X (lets say 3) rows above me (&lt;SPAN style="font-family: 'courier new', courier;"&gt;Above(Sales, 1, 3)&lt;/SPAN&gt;)&amp;nbsp; and compare each with a value Y (lets say 25).&lt;/P&gt;&lt;P&gt;I would have for Elvis (using &amp;gt;25) an Array: [True, True, False]; for Charlotte: [False, True].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that Array I want to continue working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an example: Count, how often it is True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Is there a way to edit my initial question to clarify it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450087#M434151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T12:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450088#M434152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174376_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 12:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450088#M434152</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-08-23T12:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450089#M434153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant application of the associative and commutative property.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will see, how far I can get with that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 13:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450089#M434153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450090#M434154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just realized, that this only solves one of the Questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but how would you do the second, with the concatenate?&lt;/P&gt;&lt;P&gt;So we can have for elvis the string "30-50-10", for Dora: "50-10-80".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 14:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450090#M434154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T14:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450091#M434155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this&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/174410_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 14:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450091#M434155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Range Functions for e.g. Above with count - in expression (no script)</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450092#M434156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="174419" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174419_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 15:14:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-Range-Functions-for-e-g-Above-with-count-in-expression-no/m-p/1450092#M434156</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-23T15:14:11Z</dc:date>
    </item>
  </channel>
</rss>

