<?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: Combined Pareto class dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1726337#M55366</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am new to Qlikview and I am working on 80-20(Pareto) Analysis and Quadrant map in QlikView.&lt;/P&gt;&lt;P&gt;I replicated the below link which explains it very well and my 80-20 chart for Customers and Products works fine&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cust.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37179i176370F1227C1BFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cust.png" alt="cust.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prod.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37180i52B6BBBB810BD9D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="prod.png" alt="prod.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I am trying to match Customer_Number from Straight Table 1 and Product_Line from Straight Table 2 based on its Class and create four Quadrants that shows number of Customers &amp;amp; products from Class AA, Class AB, Class BA, and Class BB&lt;/P&gt;&lt;P&gt;I followed the below link to do that but unfortunately my Qlikview version does not support the expression.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The expressions that are not working in my Qlikview version 11 are&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Customer_Number,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Product_Line,(=,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;To Join the classes between Customers and Products:&lt;/P&gt;&lt;P&gt;&amp;nbsp;=Aggr(NODISTINCT If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Customer_Number,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;=Aggr(NODISTINCT If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Product_Line,(=,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, I must group the classes AA, AB, BA, BB and create four lists that shows -&lt;/P&gt;&lt;P&gt;Quadrant 1: List of Customer Numbers with class 'A' from Straight Table 1 that has Product Line Class 'A' from straight table 2. Eg., Customer_Numbers in class A that has Product_Line in class A&lt;/P&gt;&lt;P&gt;Quadrant 2: List of Customer Number with class 'A' from Straight Table 1 that has Product Line Class 'B' from straight table 2. Eg., Customer_Numbers in class A that has Product_Line in class B&lt;/P&gt;&lt;P&gt;Quadrant 3: List of Customer Number with class 'B' from Straight Table 1 that has Product Line Class 'A' from straight table 2 Eg., Customer_Numbers in class B that has Product_Line in class A&lt;/P&gt;&lt;P&gt;Quadrant 4: List of Customer Number with class 'B' from Straight Table 1 that has Product Line Class 'B' from straight table 2. Eg., Customer_Numbers in class B that has Product_Line in class B&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone please help me? It is very important for my project and a little urgent one. I would highly appreciate your help. I have attached my file for your reference Thanks a lot, in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jul 2020 06:58:02 GMT</pubDate>
    <dc:creator>Hariprasath2394</dc:creator>
    <dc:date>2020-07-09T06:58:02Z</dc:date>
    <item>
      <title>Combined Pareto class dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1581805#M42509</link>
      <description>&lt;P&gt;I am working on a Pareto dashboard.&amp;nbsp; My work so far is based on this article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My customer Pareto dimension works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= Aggr(
  If(Rangesum(Above(Sum({1} Revenue), 1, RowNo())) /
     Sum({1} TOTAL Revenue) &amp;lt; 0.8, 'A', 'B'),
  (Customer, (=Sum({1} Revenue), Desc))
)&lt;/LI-CODE&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="cust.png" style="width: 515px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12284iA6EB6B86681100B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="cust.png" alt="cust.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My product Pareto dimension also works fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= Aggr(
  If(Rangesum(Above(Sum({1} Revenue), 1, RowNo())) /
     Sum({1} TOTAL Revenue) &amp;lt; 0.8, 'A', 'B'),
  (Product, (=Sum({1} Revenue), Desc))
)&lt;/LI-CODE&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="prod.png" style="width: 502px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12283i06C31C644D126496/image-size/large?v=v2&amp;amp;px=999" role="button" title="prod.png" alt="prod.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I am trying to figure out how to make a combined class dimension.&amp;nbsp; In other words, if a straight table row contains an A customer and an A product, the combined class should be AA.&lt;/P&gt;&lt;P&gt;Naively, I tried this for the dimension (just concatenating the other two dimensions):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;= Aggr(
  If(Rangesum(Above(Sum({1} Revenue), 1, RowNo())) /
     Sum({1} TOTAL Revenue) &amp;lt; 0.8, 'A', 'B'),
  (Customer, (=Sum({1} Revenue), Desc))
)
&amp;amp; Aggr(
  If(Rangesum(Above(Sum({1} Revenue), 1, RowNo())) /
     Sum({1} TOTAL Revenue) &amp;lt; 0.8, 'A', 'B'),
  (Product, (=Sum({1} Revenue), Desc))
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see in the picture below, it doesn't work right.&amp;nbsp; I guess it makes sense that it doesn't work since I'm just concatenating rows from two virtual tables of different lengths with no meaningful relationship to one another.&amp;nbsp; I need to "join" them somehow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="combined.png" style="width: 959px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12282iD6D2B52A73049171/image-size/large?v=v2&amp;amp;px=999" role="button" title="combined.png" alt="combined.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Note that I cannot do this work in SQL or in the load script because I will eventually replace the above set analysis ({1}) with something more complex that facilitates limited interactivity (dynamically updating Pareto classes based on date selections).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I attached the .qvf file, and here's just the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SalesData:
LOAD * inline [
Customer|Product|Revenue
Ford|M8|4
Ford|M8|15
Ford|M5|3
Ford|M10|20
Ford|3/8|10
GM|M5|3
GM|M10|25
GM|M8|30
GM|3/8|10
Toyota|M8|6
Toyota|M10|3
Toyota|M6|1
Honda|M12|5
Honda|M8|1
FCA|M5|1
FCA|M8|1
Chrysler|M5|4
] (delimiter is '|');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:47:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1581805#M42509</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2024-11-16T05:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Combined Pareto class dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1582189#M42557</link>
      <description>&lt;P&gt;May be try adding NODISTINCT within the Aggr() functions&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=
Aggr(NODISTINCT
    If(Rangesum(Above(Sum({1} Revenue) / Sum({1} TOTAL Revenue), 1, RowNo())) &amp;lt; 0.8, 'A', 'B'),
    (Customer, (=Sum({1} Revenue), Desc))
) &amp;amp;
Aggr(NODISTINCT
    If(Rangesum(Above(Sum({1} Revenue) / Sum({1} TOTAL Revenue), 1, RowNo())) &amp;lt; 0.8, 'A', 'B'),
    (Product, (=Sum({1} Revenue), Desc))
)&lt;/LI-CODE&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="image.png" style="width: 963px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12348iE36223F4931FD214/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 12:42:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1582189#M42557</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-05-20T12:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: Combined Pareto class dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1582311#M42572</link>
      <description>&lt;P&gt;Awesome, thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For others who find this solution and wonder what NODISTINCT does, I found this post with an example similar to my situation helpful:&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/What-NODISTINCT-parameter-does-in-AGGR-function/m-p/368156/highlight/true#M136906" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/QlikView-App-Development/What-NODISTINCT-parameter-does-in-AGGR-function/m-p/368156/highlight/true#M136906&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 15:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1582311#M42572</guid>
      <dc:creator>mmarchese</dc:creator>
      <dc:date>2019-05-20T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Combined Pareto class dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1726337#M55366</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am new to Qlikview and I am working on 80-20(Pareto) Analysis and Quadrant map in QlikView.&lt;/P&gt;&lt;P&gt;I replicated the below link which explains it very well and my 80-20 chart for Customers and Products works fine&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis/ba-p/1468497&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cust.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37179i176370F1227C1BFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cust.png" alt="cust.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="prod.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/37180i52B6BBBB810BD9D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="prod.png" alt="prod.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, I am trying to match Customer_Number from Straight Table 1 and Product_Line from Straight Table 2 based on its Class and create four Quadrants that shows number of Customers &amp;amp; products from Class AA, Class AB, Class BA, and Class BB&lt;/P&gt;&lt;P&gt;I followed the below link to do that but unfortunately my Qlikview version does not support the expression.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Recipe-for-a-Pareto-Analysis-Revisited/ba-p/1473684&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The expressions that are not working in my Qlikview version 11 are&lt;/P&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Customer_Number,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;=Aggr(If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Product_Line,(=,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;To Join the classes between Customers and Products:&lt;/P&gt;&lt;P&gt;&amp;nbsp;=Aggr(NODISTINCT If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Customer_Number,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;=Aggr(NODISTINCT If(Rangesum(Above(Sum({1} Standard_Profit)/Sum({1} total Standard_Profit),1,RowNo()))&amp;lt;=0.8, 'A','B'),&lt;BR /&gt;(Product_Line,(=,(=Sum({1}Standard_Profit),Desc)))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now, I must group the classes AA, AB, BA, BB and create four lists that shows -&lt;/P&gt;&lt;P&gt;Quadrant 1: List of Customer Numbers with class 'A' from Straight Table 1 that has Product Line Class 'A' from straight table 2. Eg., Customer_Numbers in class A that has Product_Line in class A&lt;/P&gt;&lt;P&gt;Quadrant 2: List of Customer Number with class 'A' from Straight Table 1 that has Product Line Class 'B' from straight table 2. Eg., Customer_Numbers in class A that has Product_Line in class B&lt;/P&gt;&lt;P&gt;Quadrant 3: List of Customer Number with class 'B' from Straight Table 1 that has Product Line Class 'A' from straight table 2 Eg., Customer_Numbers in class B that has Product_Line in class A&lt;/P&gt;&lt;P&gt;Quadrant 4: List of Customer Number with class 'B' from Straight Table 1 that has Product Line Class 'B' from straight table 2. Eg., Customer_Numbers in class B that has Product_Line in class B&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone please help me? It is very important for my project and a little urgent one. I would highly appreciate your help. I have attached my file for your reference Thanks a lot, in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jul 2020 06:58:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combined-Pareto-class-dimension/m-p/1726337#M55366</guid>
      <dc:creator>Hariprasath2394</dc:creator>
      <dc:date>2020-07-09T06:58:02Z</dc:date>
    </item>
  </channel>
</rss>

