<?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: Quartile Logic!! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950149#M326832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are different methods of calculating quartiles. Just look at Wikipedia about quartiles and it will explain the differences quite clearly. The differences are very clear with small data sets - so what you prescribe as the correct on you tiny data set is correct in one method and different in other methods. The important thing is that the differences disappear when a certain amount of numbers is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Fractile() function in QlikView is quite easy - just remember that the results you get are based on a particular method and comparing it with another tools function and the results might give different answers - and especially when you have few numbers to calculate over. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2015 07:04:57 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2015-10-26T07:04:57Z</dc:date>
    <item>
      <title>Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950141#M326824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Can anyone please share the quartile logic in qlikview.&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;Sales,Year&lt;/P&gt;&lt;P&gt;500, 2013&lt;/P&gt;&lt;P&gt;10,2014&lt;/P&gt;&lt;P&gt;300,2015&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;400, 2013&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1000,2014&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;30000,2015&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;50, 2013&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;1050,2014&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;700,2015 ];&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Total rows=8&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;quartile is fetching the particular Sales row value when sorted in ascending order.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;25th Quartile=8*0.25=2nd value i.e 2nd row sales value in ascending order.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Output Sales(25th Q)=50&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Output Sales(50th Q)=8*0.5=4th value=400&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Output Sales(75th Q)=8*0.75=6th value=700&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I tried using fractile function but put is not as expected. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;can anyone provide the logic. Please note fieldvalue works only on load order. i want sales to be sorted in ascending order first, any function or logic will be a great help!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 09:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950141#M326824</guid>
      <dc:creator>amar_never_dies</dc:creator>
      <dc:date>2015-10-10T09:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950142#M326825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The total number of rows that you have is 9 ... not 8. So maybe you get things to add up if you revise accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-10 #3.PNG" class="jive-image image-1" src="/legacyfs/online/101645_2015-10-10 #3.PNG" style="height: 153px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 19:06:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950142#M326825</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-10T19:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950143#M326826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;petter thanks for replying. 8 was by mistake. consider 8 rows and share the logic accordingly for implementing quartile as explained above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 06:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950143#M326826</guid>
      <dc:creator>amar_never_dies</dc:creator>
      <dc:date>2015-10-11T06:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950144#M326827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I simply calculated it directly in the GUI with the help of an InputBox with different expressions. This could of course be done both in the load script but also in a particular chart. The expressions will be the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 14:07:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950144#M326827</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-11T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950145#M326828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are happy with the answer - please close the thread by marking it as answered ... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 19:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950145#M326828</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-11T19:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950146#M326829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Petter,&lt;/P&gt;&lt;P&gt;I think i have already shared the output. the desired output should be as before.&lt;/P&gt;&lt;P&gt;fractile function does not returns the expected result.&lt;/P&gt;&lt;P&gt;moreover, i want a bar chart in which i want quartile values relative to year like 2012,2013,2014,2015.&lt;/P&gt;&lt;P&gt;for e.g &lt;/P&gt;&lt;P&gt;2015 year- sorted quartile values at 0.25,0.5,0.75,1 and so on for 2013, 2014...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 14:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950146#M326829</guid>
      <dc:creator>amar_never_dies</dc:creator>
      <dc:date>2015-10-12T14:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950147#M326830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't get the reference data right so have a look at this Excel-file where I calculate Quartiles in different ways. I can't reproduce the numbers you have - this is what I get (included the Excel-file for reference):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-10-12 #4.PNG" class="jive-image image-1" src="/legacyfs/online/101763_2015-10-12 #4.PNG" style="height: 135px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So which numbers do you consider right for what you want in QlikView. QlikView Fractile()-function works as the .INC (inclusive) functions in Excel....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2015 16:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950147#M326830</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-12T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950148#M326831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;Sales,Year_Test&lt;/P&gt;&lt;P&gt;500, 2013&lt;/P&gt;&lt;P&gt;10,2014&lt;/P&gt;&lt;P&gt;300,2015&lt;/P&gt;&lt;P&gt;400, 2013&lt;/P&gt;&lt;P&gt;1000,2014&lt;/P&gt;&lt;P&gt;30000,2015&lt;/P&gt;&lt;P&gt;50, 2013&lt;/P&gt;&lt;P&gt;1050,2014&lt;/P&gt;&lt;P&gt;700,2015 &lt;/P&gt;&lt;P&gt;1500, 2013&lt;/P&gt;&lt;P&gt;15465,2014&lt;/P&gt;&lt;P&gt;6700,2015&lt;/P&gt;&lt;P&gt;50545, 2013&lt;/P&gt;&lt;P&gt;105,2014&lt;/P&gt;&lt;P&gt;70,2015&lt;/P&gt;&lt;P&gt;883,2015&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late replying. Consider the above data set and i want the output in qlikview 3 values at 25 quartile, 50 quartile and 75th quartile which are the corresponding 4th, 8th and 12th row values after sorting . I want it to be dynamic. I have great thousands rows of data year wise. Means if i select year 2013 then it shows corresponding 25%,50% and 75% quartile values in year 2013. For Full data set, i am sharing the expected output, But needs it to be dynamic on selection as well.&lt;/P&gt;&lt;P&gt;Total rows in Sales- 16&lt;/P&gt;&lt;P&gt;16*0.25=4th row value of sales after sorted ascending=105&lt;/P&gt;&lt;P&gt;16*0.50=8th row value &lt;SPAN style="font-size: 13.3333px;"&gt;after sorted ascending&lt;/SPAN&gt;=700&lt;/P&gt;&lt;P&gt;16*0.75=12th row value &lt;SPAN style="font-size: 13.3333px;"&gt;after sorted ascending&lt;/SPAN&gt;=&amp;nbsp; 1500&lt;/P&gt;&lt;P&gt;Expected Output: Quartiles in table box/straight table&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;2014&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 105&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 700&lt;/P&gt;&lt;P&gt;2013&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember that it has to be dynamic as well on selection.&lt;/P&gt;&lt;P&gt;Suppose if year 2015 is selected then the output should be 2nd !&lt;IMG alt="quartile_logic.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/103005_quartile_logic.jpg" style="height: 349px; width: 620px;" /&gt;, 3rd and 5th values of year 2015 data set. like:&lt;/P&gt;&lt;P&gt;Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 300&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 700&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2015&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6700&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help any way you can!!!!! thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Oct 2015 08:38:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950148#M326831</guid>
      <dc:creator>amar_never_dies</dc:creator>
      <dc:date>2015-10-25T08:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Quartile Logic!!</title>
      <link>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950149#M326832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are different methods of calculating quartiles. Just look at Wikipedia about quartiles and it will explain the differences quite clearly. The differences are very clear with small data sets - so what you prescribe as the correct on you tiny data set is correct in one method and different in other methods. The important thing is that the differences disappear when a certain amount of numbers is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the Fractile() function in QlikView is quite easy - just remember that the results you get are based on a particular method and comparing it with another tools function and the results might give different answers - and especially when you have few numbers to calculate over. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 07:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quartile-Logic/m-p/950149#M326832</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-10-26T07:04:57Z</dc:date>
    </item>
  </channel>
</rss>

