<?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: Decile analysis with filter in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009057#M1221658</link>
    <description>&lt;P&gt;I think you need to be more specific in order to get further help.&lt;/P&gt;
&lt;P&gt;Is it possible for you to create a sample data set and application that pinpoints your problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think a mockup dataset with the following fields should be enough:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Customer&lt;/LI&gt;
&lt;LI&gt;Country&lt;/LI&gt;
&lt;LI&gt;Status&lt;/LI&gt;
&lt;LI&gt;Profit&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In that sample app we will se what you get and can then try to help you.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 07:32:27 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2022-11-25T07:32:27Z</dc:date>
    <item>
      <title>Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009001#M1221654</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I am using below logic&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=Aggr(&lt;BR /&gt;Ceil(Rank(Sum({1}Profit),4,1) /&amp;nbsp;count({1}DISTINCT&amp;nbsp;TOTAL&amp;nbsp;Customer), 0.1) * 10&lt;BR /&gt;,&amp;nbsp;Customer)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;from&lt;A href="https://community.qlik.com/t5/QlikView-App-Dev/Decile-analysis-with-filter/m-p/2006496#M1221552" target="_blank" rel="noopener"&gt;&amp;nbsp;https://community.qlik.com/t5/QlikView-App-Dev/Decile-analysis-with-filter/m-p/2006496#M1221552&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By using this logic &lt;BR /&gt;When I select 10% it will continue the divide 10 part from the 10% of customer. The user can't identify they already select 10%. &amp;gt;&amp;gt; &lt;STRONG&gt;This problem has been solved.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;However ,&amp;nbsp; I need select other filter and create alternative status(1,2,3)&amp;nbsp; .The user can select different filter for example Country &amp;gt; then choose&amp;nbsp; 10% 50% 70% from&amp;nbsp;3 different Decile filter by using below expression.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;Aggr(&lt;BR /&gt;Ceil(Rank(Sum({$}Profit),4,1) /&amp;nbsp;count({$}DISTINCT&amp;nbsp;TOTAL&amp;nbsp;Customer), 0.1) * 10&lt;BR /&gt;,&amp;nbsp;Customer)&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If I select filter for example Country = US, the decile calculation not base on US. the calculation base on the source data (All data) then filter US.&lt;BR /&gt;But I want the Calculation base on the filter data&amp;nbsp; = US.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image003.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94635i557D19F6DA0AB1AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image003.png" alt="thumbnail_image003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If the&amp;nbsp;&lt;STRONG&gt;alternative status =default or inherited&amp;nbsp; ,&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Although Calculation base on the filter data&amp;nbsp; = US ,when I select 20% it will continue the divide 10 part from the 20% of customer. The user can't identify they already select 20%.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image002.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94633i47933E4F4426C7A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image002.png" alt="thumbnail_image002.png" /&gt;&lt;/span&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;Can anyone help&amp;nbsp; ? Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 10:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009001#M1221654</guid>
      <dc:creator>eddy9657</dc:creator>
      <dc:date>2022-11-25T10:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009025#M1221655</link>
      <description>&lt;P&gt;Your expression looks OK.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It this an exact copy of your expression or could it be that you still are using&amp;nbsp; a full set {1} in your expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ps: you don't&amp;nbsp; need to explicit write {$} in aggregation functions, {$} is assumed by default&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 05:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009025#M1221655</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-11-25T05:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009030#M1221656</link>
      <description>&lt;P&gt;&lt;SPAN&gt;{1} : Problem :&amp;nbsp; &lt;STRONG&gt;Calculation base on the full data no matter what other filter select&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{$}&amp;nbsp;&amp;nbsp;: Problem :&amp;nbsp;&lt;STRONG&gt;When I select 10% it will continue divide 10 part from the 10% of customer. The user can't identify they already select 10%&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;So&amp;nbsp;&lt;SPAN&gt;{$} or&amp;nbsp;{1} still can't solve my problem.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want the calculation can affect by other filter and when I select decile filter it will not continue the divide 10 part from the 10% of customer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 06:19:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009030#M1221656</guid>
      <dc:creator>eddy9657</dc:creator>
      <dc:date>2022-11-25T06:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009057#M1221658</link>
      <description>&lt;P&gt;I think you need to be more specific in order to get further help.&lt;/P&gt;
&lt;P&gt;Is it possible for you to create a sample data set and application that pinpoints your problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think a mockup dataset with the following fields should be enough:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Customer&lt;/LI&gt;
&lt;LI&gt;Country&lt;/LI&gt;
&lt;LI&gt;Status&lt;/LI&gt;
&lt;LI&gt;Profit&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In that sample app we will se what you get and can then try to help you.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 07:32:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009057#M1221658</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-11-25T07:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009071#M1221659</link>
      <description>&lt;P&gt;Sorry Vegar.&amp;nbsp; My company only have online version on Qlik sense.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3 different Decile filter on the same page. Let the User choose 3 Decile to compare the transaction record&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image003.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94623i618ADF81C38DA22E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image003.png" alt="thumbnail_image003.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By using this expression as filter&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aggr(&lt;BR /&gt;Ceil(Rank(Sum({$}Profit),4,1) /&amp;nbsp;count({$}DISTINCT&amp;nbsp;TOTAL&amp;nbsp;Customer), 0.1) * 10&lt;BR /&gt;,&amp;nbsp;Customer)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When I select 20% it will continue the divide 10 part from the 20% of customer. The user can't identify they already select 20%.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image002.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/94624i2814EDC3ACF18613/image-size/medium?v=v2&amp;amp;px=400" role="button" title="thumbnail_image002.png" alt="thumbnail_image002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; Please find the simple data for your reference&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 07:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009071#M1221659</guid>
      <dc:creator>eddy9657</dc:creator>
      <dc:date>2022-11-25T07:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009267#M1221671</link>
      <description>&lt;P&gt;The excel and explanation was helpful. I think I understand your issue.&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;=Aggr(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;Ceil(Rank(Sum(&lt;STRONG&gt;{$&amp;lt;Customer&amp;gt;}&lt;/STRONG&gt;Profit),4,1) &lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/ count(&lt;STRONG&gt;{$&amp;lt;Customer&amp;gt;}&lt;/STRONG&gt;DISTINCT TOTAL Customer)&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;, 0.1) * 10&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp;, Customer) &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 15:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009267#M1221671</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-11-25T15:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Decile analysis with filter</title>
      <link>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009469#M1221683</link>
      <description>&lt;P&gt;Hi Vegar, thanks so much for your help&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 02:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Decile-analysis-with-filter/m-p/2009469#M1221683</guid>
      <dc:creator>eddy9657</dc:creator>
      <dc:date>2022-11-28T02:02:01Z</dc:date>
    </item>
  </channel>
</rss>

