<?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 top 10% PERCENT by date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507953#M457430</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to select the TOP 10% of my entreprises which generate the most revenue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Today i use this expression :&lt;/P&gt;&lt;P&gt;=if(aggr(Rank(Sum(CA)),DATE_DAY,ENTREPRISE_ID)&amp;lt;=round(count(TOTAL ENTREPRISE_ID)*0.10),Sum(CA))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entreprise_id.png" style="width: 346px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/431iB991BF022592646A/image-size/large?v=v2&amp;amp;px=999" role="button" title="entreprise_id.png" alt="entreprise_id.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it work fine if i'm at entreprise_id level but I want a vision by day for do a graph and have a evolution by day&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="date_day.png" style="width: 258px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/430iFABC7B96C826D1FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="date_day.png" alt="date_day.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have a solution ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 16 Nov 2018 11:24:20 GMT</pubDate>
    <dc:creator>Gaëtan</dc:creator>
    <dc:date>2018-11-16T11:24:20Z</dc:date>
    <item>
      <title>top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507953#M457430</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to select the TOP 10% of my entreprises which generate the most revenue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Today i use this expression :&lt;/P&gt;&lt;P&gt;=if(aggr(Rank(Sum(CA)),DATE_DAY,ENTREPRISE_ID)&amp;lt;=round(count(TOTAL ENTREPRISE_ID)*0.10),Sum(CA))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="entreprise_id.png" style="width: 346px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/431iB991BF022592646A/image-size/large?v=v2&amp;amp;px=999" role="button" title="entreprise_id.png" alt="entreprise_id.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it work fine if i'm at entreprise_id level but I want a vision by day for do a graph and have a evolution by day&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="date_day.png" style="width: 258px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/430iFABC7B96C826D1FB/image-size/large?v=v2&amp;amp;px=999" role="button" title="date_day.png" alt="date_day.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have a solution ?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 11:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507953#M457430</guid>
      <dc:creator>Gaëtan</dc:creator>
      <dc:date>2018-11-16T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507967#M457431</link>
      <description>&lt;P&gt;May be try like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=if(aggr(Rank(Sum(CA)),DATE_DAY)&amp;lt;=round(count(TOTAL ENTREPRISE_ID)*0.10),Sum(CA))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 11:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507967#M457431</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-11-16T11:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507974#M457432</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I already test this expression and&amp;nbsp;It's not work . it give me the total of the revenue (1476)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 11:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507974#M457432</guid>
      <dc:creator>Gaëtan</dc:creator>
      <dc:date>2018-11-16T11:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507981#M457433</link>
      <description>&lt;P&gt;Could you please share your expected output, i am not still clear&amp;nbsp;with your requirement.&lt;/P&gt;&lt;P&gt;If you want the list at Date level, then the output will be one value for one date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 11:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507981#M457433</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-11-16T11:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507993#M457434</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;for exemple&lt;/P&gt;&lt;P&gt;20 entreprise ID : 10% = 2 entreprise_iD&lt;/P&gt;&lt;P&gt;I must select the entreprise 7 and 18 because they have the most revenue in the list : total revenue 180&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 378px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/437iF33FE3ED26C7D969/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want only the result of this calcul for each day&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 256px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/436i3744C410C6512A32/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want tell for every day : 10% of my top entreprise generat X % of my revenue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 12:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1507993#M457434</guid>
      <dc:creator>Gaëtan</dc:creator>
      <dc:date>2018-11-16T12:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508035#M457435</link>
      <description>&lt;P&gt;May be something like this&lt;/P&gt;&lt;PRE&gt;=Aggr(If(Rank(Sum(CA)) &amp;lt;= Round(Count(DISTINCT TOTAL &amp;lt;DATE_DAY&amp;gt; ENTREPRISE_ID) * 0.10), Sum(CA)), DATE_DAY, ENTREPRISE_ID)&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Nov 2018 12:38:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508035#M457435</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-16T12:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508064#M457436</link>
      <description>&lt;P&gt;same problem, here my application&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 13:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508064#M457436</guid>
      <dc:creator>Gaëtan</dc:creator>
      <dc:date>2018-11-16T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508078#M457437</link>
      <description>&lt;P&gt;You only have a single dimension (DATE_DAY) in your CA Graph and the expression outputs 2 value... what do you want to do with them? Sum them? Avg Them?.. for Sum you can try this&lt;/P&gt;&lt;PRE&gt;=Sum(Aggr(If(Rank(Sum(CA)) &amp;lt;= Round(Count(DISTINCT TOTAL &amp;lt;DATE_DAY&amp;gt; ENTREPRISE_ID) * 0.10), Sum(CA)), DATE_DAY, ENTREPRISE_ID))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;For Avg&lt;/P&gt;&lt;PRE&gt;=Avg(Aggr(If(Rank(Sum(CA)) &amp;lt;= Round(Count(DISTINCT TOTAL &amp;lt;DATE_DAY&amp;gt; ENTREPRISE_ID) * 0.10), Sum(CA)), DATE_DAY, ENTREPRISE_ID))&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/449i50EBCC5AB1BA845A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 13:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508078#M457437</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-11-16T13:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: top 10% PERCENT by date</title>
      <link>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508125#M457438</link>
      <description>&lt;P&gt;Thank you !!! it works perfect&lt;/P&gt;&lt;P&gt;indeed, I forget to add a sum / avg&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 13:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/top-10-PERCENT-by-date/m-p/1508125#M457438</guid>
      <dc:creator>Gaëtan</dc:creator>
      <dc:date>2018-11-16T13:54:26Z</dc:date>
    </item>
  </channel>
</rss>

