<?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: build quartiles per month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549054#M744749</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Try something like the following expresison (I suposed that you have a table with dimensions Dealer, Market, Year and Month&lt;/P&gt;&lt;PRE&gt;aggr(
	ceil(&lt;BR /&gt;            4 * rank(sum(&lt;SPAN&gt;Partsales&lt;/SPAN&gt;))
	    /
	    count(TOTAL &amp;lt;Year, Month, Market&amp;gt; DISTINCT &lt;SPAN&gt;Dealer&lt;/SPAN&gt;)
	)
	,Year
	,Month&lt;BR /&gt;        ,Dealer&lt;BR /&gt;        ,Market
)&lt;/PRE&gt;&lt;P&gt;Try to understand how this expression works and adapt it to your needs!&lt;/P&gt;&lt;P&gt;Bests,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Feb 2019 09:08:07 GMT</pubDate>
    <dc:creator>jaibau1993</dc:creator>
    <dc:date>2019-02-26T09:08:07Z</dc:date>
    <item>
      <title>build quartiles per month</title>
      <link>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549034#M744748</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello all,&lt;/P&gt;&lt;P&gt;I hope anyone can help me.&lt;/P&gt;&lt;P&gt;I have to build quartiles based on the sum(Partsales) for each Dealer per month and market.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;My table looks like this&lt;BR /&gt;Year,&lt;BR /&gt;Month,&lt;BR /&gt;Partsales,&lt;BR /&gt;DealerID,&lt;BR /&gt;market,&lt;BR /&gt;Rank&lt;/P&gt;&lt;P&gt;I have already build ranks for the dealer per month and market based on Partsales, because I thought it helped for calculating the quartiles.&lt;BR /&gt;something like this&lt;/P&gt;&lt;P&gt;If rank &amp;lt;=0.4*total rankcount of that month then quartile1,&lt;/P&gt;&lt;P&gt;If rank &amp;gt;=0.4*total rankcount of that month then quartile2&lt;/P&gt;&lt;P&gt;Does anyone know how the exact script looks like for the solution. I cannot achieve it.&lt;BR /&gt;Thank you.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549034#M744748</guid>
      <dc:creator>sabmaldun</dc:creator>
      <dc:date>2024-11-16T21:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: build quartiles per month</title>
      <link>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549054#M744749</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Try something like the following expresison (I suposed that you have a table with dimensions Dealer, Market, Year and Month&lt;/P&gt;&lt;PRE&gt;aggr(
	ceil(&lt;BR /&gt;            4 * rank(sum(&lt;SPAN&gt;Partsales&lt;/SPAN&gt;))
	    /
	    count(TOTAL &amp;lt;Year, Month, Market&amp;gt; DISTINCT &lt;SPAN&gt;Dealer&lt;/SPAN&gt;)
	)
	,Year
	,Month&lt;BR /&gt;        ,Dealer&lt;BR /&gt;        ,Market
)&lt;/PRE&gt;&lt;P&gt;Try to understand how this expression works and adapt it to your needs!&lt;/P&gt;&lt;P&gt;Bests,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 09:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549054#M744749</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-02-26T09:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: build quartiles per month</title>
      <link>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549236#M744750</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;thx for your Reply.&lt;/P&gt;&lt;P&gt;I have to do it in the load script, because based on the quartiles I have to build the average later on.&lt;/P&gt;&lt;P&gt;Anyone has a Solution for&amp;nbsp;how to do it in the &amp;nbsp;LOAD SCRIPT?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 13:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549236#M744750</guid>
      <dc:creator>sabmaldun</dc:creator>
      <dc:date>2019-02-26T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: build quartiles per month</title>
      <link>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549532#M744751</link>
      <description>&lt;P&gt;Would you be able to provide some sample data and the output you expect to see from the sample data shared?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 02:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/build-quartiles-per-month/m-p/1549532#M744751</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-27T02:03:08Z</dc:date>
    </item>
  </channel>
</rss>

