<?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 Quartile in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232636#M84236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you forgot the "total" modifier/parameter in the second aggr()&lt;/P&gt;&lt;P&gt;fractile( aggr( sum(&lt;B&gt;TOTAL&lt;/B&gt; Sales), Customer)&lt;/P&gt;&lt;P&gt;Rgds&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2011 21:15:38 GMT</pubDate>
    <dc:creator>hector</dc:creator>
    <dc:date>2011-05-02T21:15:38Z</dc:date>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232629#M84229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Customer is asking for Quartile metrics where the quartiles are based on literally 4 equal number of Clients (e.g. each quartile will be based on 1/4 of the number of Clients) and total sales. So quartile 1 will represent the top 25 clients based on sales (assuming 100 clients), quartile 2 will represent the next set of 25 clients based on sales volume, and so forth. Once I know my quartiles, I need to show other metrics based on the quartile as follows:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="370"&gt;&lt;COL style="width: 57pt;" width="76" /&gt;&lt;COL style="width: 60pt;" width="80" /&gt;&lt;COL style="width: 53pt;" width="71" /&gt;&lt;COL style="width: 55pt;" width="73" /&gt;&lt;COL style="width: 53pt;" width="70" /&gt;&lt;TBODY&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl67" height="20" style="height: 15pt; width: 57pt;" width="76"&gt;Quartile&lt;/TD&gt;&lt;TD class="xl67" style="width: 60pt;" width="80"&gt;Total Sales&lt;/TD&gt;&lt;TD class="xl66" style="width: 53pt;" width="71"&gt;Product A&lt;/TD&gt;&lt;TD class="xl66" style="width: 55pt;" width="73"&gt;Product B&lt;/TD&gt;&lt;TD class="xl66" style="width: 53pt;" width="70"&gt;Product C&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;2&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;3&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;TR height="20" style="height: 15pt;"&gt;&lt;TD class="xl65" height="20" style="height: 15pt;"&gt;4&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;TD class="xl65"&gt;%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;One other note - Quartile is not a dimension in the data...it's calculated based on the selected data based on 25% increments of client sales.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 18:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232629#M84229</guid>
      <dc:creator />
      <dc:date>2011-04-27T18:26:25Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232630#M84230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should add a field Quartile (1,2,3,4) not associated with other fields.&lt;/P&gt;&lt;P&gt;Then your expression should be something like&lt;/P&gt;&lt;P&gt;fractile( aggr( sum(Sales), Customer), Quartile/4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 19:24:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232630#M84230</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-04-27T19:24:53Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232631#M84231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan - just getting back to this and I'm not sure I'm tracking you. I created the Quartile field with values 1-4 but I'm not following the expression. Here's what I'm trying to do...&lt;/P&gt;&lt;P&gt;If I have 100 customers and sorted them in descending order (highest to lowest) based on Sales, Quartile 1 would be made up of the first 25 customers (e.g. Top 25), Quartile 2 would be the next 25 customers, and so on.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 18:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232631#M84231</guid>
      <dc:creator />
      <dc:date>2011-05-02T18:38:31Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232632#M84232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;check this example http://www.qlikfix.com/2010/10/08/decile-analysis/ and change the decile by quartile segments&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 19:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232632#M84232</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-05-02T19:07:54Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232633#M84233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hector - pretty close. The data in the example is already aggregated but I'm working with data that needs to be aggregated. I feel like I'm close but I'm struggling a bit with the expressions to accomodate the aggregartion of calculated dimension. Thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 20:50:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232633#M84233</guid>
      <dc:creator />
      <dc:date>2011-05-02T20:50:54Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232634#M84234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;kkelly wrote:&lt;BR /&gt;Thanks Hector - pretty close. The data in the example is already aggregated but I'm working with data that &lt;B&gt;needs to be aggregated&lt;/B&gt;. I feel like I'm close but I'm struggling a bit with the expressions to accomodate the aggregartion of calculated dimension. Thoughts?&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hi, so use the aggr() function in the calculated dimension, something like aggr(Sum(Sales),Customer)&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232634#M84234</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-05-02T21:00:00Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232635#M84235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I've been working through but it's not returning the 1-4 values for the calculated dimension. See expression below:&lt;/P&gt;&lt;P&gt;=if(aggr(sum(Sales), Customer) &amp;lt;= fractile( aggr( sum(Sales), Customer), 0.25), 4,&lt;BR /&gt;if(aggr(sum(Sales), Customer) &amp;lt;= fractile( aggr( sum(Sales), Customer), 0.5), 3,&lt;BR /&gt;if(aggr(sum(Sales), Customer) &amp;lt;= fractile( aggr( sum(Sales), Customer), 0.75), 2,&lt;BR /&gt;1)))&lt;BR style="mso-special-character:line-break;" /&gt;&lt;BR style="mso-special-character:line-break;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232635#M84235</guid>
      <dc:creator />
      <dc:date>2011-05-02T21:07:49Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232636#M84236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you forgot the "total" modifier/parameter in the second aggr()&lt;/P&gt;&lt;P&gt;fractile( aggr( sum(&lt;B&gt;TOTAL&lt;/B&gt; Sales), Customer)&lt;/P&gt;&lt;P&gt;Rgds&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232636#M84236</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-05-02T21:15:38Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232637#M84237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;from an actual use of that function&lt;/P&gt;&lt;P&gt;='Q'&amp;amp;if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.20), 1,&lt;BR /&gt; if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.40), 2,&lt;BR /&gt; if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.60), 3,&lt;BR /&gt; if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.80), 4, 5))))&lt;/P&gt;&lt;P&gt;this is the calculated dimension, "Total" must be in the fractile section, not in the sum(), my mistake&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232637#M84237</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2011-05-02T21:26:32Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232638#M84238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it!!! Thanks for your help Hector! I think my mind is just fried at the end of the day.&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 21:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232638#M84238</guid>
      <dc:creator />
      <dc:date>2011-05-02T21:34:38Z</dc:date>
    </item>
    <item>
      <title>Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232639#M84239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello! How do I replace the "aggr" if I want to include this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Q'&amp;amp;if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.20), 1,&lt;/P&gt;&lt;P&gt;if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.40), 2,&lt;/P&gt;&lt;P&gt;if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.60), 3,&lt;/P&gt;&lt;P&gt;if(aggr(Sum(Sales),Customer) &amp;lt;= fractile(TOTAL aggr(Sum(Sales),Customer), 0.80), 4, 5))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;into the script, instead of expression? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2011 09:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232639#M84239</guid>
      <dc:creator />
      <dc:date>2011-10-24T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232640#M84240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá estou enfrentando problemas para fazer o mostrador calcular o terceiro quartil de uma tabela, não consigo fazer calcular&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 19:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232640#M84240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-06T19:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile/m-p/232641#M84241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble understanding you.&amp;nbsp; Google translates that to "&lt;SPAN lang="en"&gt;Hello I'm having trouble making the dial calculate the third quartile of a table, can not I calculate" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;What type of trouble are you having?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Oct 2015 20:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile/m-p/232641#M84241</guid>
      <dc:creator>dgreenberg</dc:creator>
      <dc:date>2015-10-06T20:01:09Z</dc:date>
    </item>
  </channel>
</rss>

