<?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 Build group with AVG as limit value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Build-group-with-AVG-as-limit-value/m-p/283030#M105195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have a dimension with two values (Group 1 and Group 2) and then do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Group='Group 1', avg(if(Value&amp;lt;=$(=avg(Value)),Value)), avg(if(Value&amp;gt;$(=avg(Value)),Value)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 19:25:57 GMT</pubDate>
    <dc:creator>danielrozental</dc:creator>
    <dc:date>2011-08-18T19:25:57Z</dc:date>
    <item>
      <title>Build group with AVG as limit value</title>
      <link>https://community.qlik.com/t5/QlikView/Build-group-with-AVG-as-limit-value/m-p/283029#M105194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to build any groups with the Avarage as limit from Group und Avarage +1 as Start for the next Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I start with 0 and go with 100 Steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;55&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;66&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;88&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AVG from my Example is 42&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means my first Group Start by 1 and End by 42.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next Group must then be calculated as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg(Values from (42+1) + 100)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 15:48:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-group-with-AVG-as-limit-value/m-p/283029#M105194</guid>
      <dc:creator />
      <dc:date>2011-08-18T15:48:42Z</dc:date>
    </item>
    <item>
      <title>Build group with AVG as limit value</title>
      <link>https://community.qlik.com/t5/QlikView/Build-group-with-AVG-as-limit-value/m-p/283030#M105195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have a dimension with two values (Group 1 and Group 2) and then do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Group='Group 1', avg(if(Value&amp;lt;=$(=avg(Value)),Value)), avg(if(Value&amp;gt;$(=avg(Value)),Value)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 19:25:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Build-group-with-AVG-as-limit-value/m-p/283030#M105195</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-08-18T19:25:57Z</dc:date>
    </item>
  </channel>
</rss>

