<?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 ABC distribution in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ABC-distribution/m-p/1361316#M515550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little bit in trouble right now, because I have absolutly no idea how I could realize an ABC-distribution of my customers without raw data from the data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the following information are available:&lt;/P&gt;&lt;P&gt;- Sales&lt;/P&gt;&lt;P&gt;- Customer_ID&lt;/P&gt;&lt;P&gt;- distribution requirements (A-Customers: 60% of Sales, B-Customers: 30% and C-Customers: 10%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, with the following formula I was able to create a good looking diagram:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A-Customers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) ,SALES)),0,RowNo()),CUSTOMER_ID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;SUM(TOTAL if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND , &lt;STRONG&gt;SALES*0.6&lt;/STRONG&gt;)),Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND ,SALES)),0,RowNo())))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to provide users following functions:&lt;/P&gt;&lt;P&gt;- filter by A, B and C customers&lt;/P&gt;&lt;P&gt;- how many A,B, and C customers we have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filter-functionality is my biggest problem. I have no dimension like A,B,C, they are calculated within an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: Is it possible to define the formula above as A-Customer Dimension within the scripting-layer? As I mentioned I only have the Customer_ID and Sales information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;IF(Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) ,SALES)),0,RowNo()),CUSTOMER_ID)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;SUM(TOTAL if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND , &lt;STRONG&gt;SALES*0.6&lt;/STRONG&gt;)),Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND ,SALES)),0,RowNo()))) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;AS [A-CUSTOMERS]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least, sorry for my short approach but as I mentioned I have absolutly no idea how to build up these functionalities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance and best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 14:14:34 GMT</pubDate>
    <dc:creator>spcon2016</dc:creator>
    <dc:date>2017-05-30T14:14:34Z</dc:date>
    <item>
      <title>ABC distribution</title>
      <link>https://community.qlik.com/t5/QlikView/ABC-distribution/m-p/1361316#M515550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi colleagues,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little bit in trouble right now, because I have absolutly no idea how I could realize an ABC-distribution of my customers without raw data from the data source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the following information are available:&lt;/P&gt;&lt;P&gt;- Sales&lt;/P&gt;&lt;P&gt;- Customer_ID&lt;/P&gt;&lt;P&gt;- distribution requirements (A-Customers: 60% of Sales, B-Customers: 30% and C-Customers: 10%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, with the following formula I was able to create a good looking diagram:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A-Customers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF(Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) ,SALES)),0,RowNo()),CUSTOMER_ID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;SUM(TOTAL if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND , &lt;STRONG&gt;SALES*0.6&lt;/STRONG&gt;)),Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND ,SALES)),0,RowNo())))&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to provide users following functions:&lt;/P&gt;&lt;P&gt;- filter by A, B and C customers&lt;/P&gt;&lt;P&gt;- how many A,B, and C customers we have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The filter-functionality is my biggest problem. I have no dimension like A,B,C, they are calculated within an expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question: Is it possible to define the formula above as A-Customer Dimension within the scripting-layer? As I mentioned I only have the Customer_ID and Sales information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;IF(Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) ,SALES)),0,RowNo()),CUSTOMER_ID)&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;SUM(TOTAL if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND , &lt;STRONG&gt;SALES*0.6&lt;/STRONG&gt;)),Rangesum(Above(SUM(if(YearStart(date(today())) &amp;lt;= MyDate AND MyDate &amp;lt;= date(today()) AND ,SALES)),0,RowNo()))) &lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;AS [A-CUSTOMERS]&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;......&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At least, sorry for my short approach but as I mentioned I have absolutly no idea how to build up these functionalities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance and best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 14:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ABC-distribution/m-p/1361316#M515550</guid>
      <dc:creator>spcon2016</dc:creator>
      <dc:date>2017-05-30T14:14:34Z</dc:date>
    </item>
  </channel>
</rss>

