<?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 Challenges I am having when creating a Pareto graph in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Challenges-I-am-having-when-creating-a-Pareto-graph/m-p/2420561#M95640</link>
    <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just asked the same question but explaining the issue with my own words (english is not my first language, so it is not that easy for me to be clear).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I asked ChatGPT to help me be a litle bit clearer. Here is the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Graph Description&lt;/STRONG&gt;: I want to create a graph, specifically a Pareto chart, that categorizes cities based on their percentage contribution to total sales (%Acc Sales).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Categorization Criteria&lt;/STRONG&gt;: I plan to classify cities into three categories:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;Category 1: The top 10% of cities with the highest sales.&lt;/LI&gt;
&lt;LI&gt;Category 2: The next 20% of cities after the top 10%.&lt;/LI&gt;
&lt;LI&gt;Category 3: The remaining cities (approximately 70%).&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Data Organization&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;The x-axis will represent cities sorted from highest to lowest sales (descending order).&lt;/LI&gt;
&lt;LI&gt;The y-axis will represent the cumulative percentage of sales (%Acc Sales).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Challenges&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;The x-axis sorting is showing the Cities in a descending order of sales, but you cannot see the separation between the categories (1,2 and 3 respectivally). I am failing at representing the boundaries between the three categories on the graph.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Specific Requests&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;I want to add lines on the graph to indicate where each category starts on the x-axis.&lt;/LI&gt;
&lt;LI&gt;Additionally, you'd like to label these lines to show the percentage of total sales each category represents&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;P&gt;Here is how my graph looks like right now:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nemo1_0-1708331230735.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160141i3EC95F8EA2BDCD3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nemo1_0-1708331230735.png" alt="Nemo1_0-1708331230735.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is want i want to have:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nemo1_1-1708331246493.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160142iF6FEFA522F622473/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nemo1_1-1708331246493.png" alt="Nemo1_1-1708331246493.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks everyone in advance. i love this community.&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, 15 Nov 2024 21:03:34 GMT</pubDate>
    <dc:creator>Nemo1</dc:creator>
    <dc:date>2024-11-15T21:03:34Z</dc:date>
    <item>
      <title>Challenges I am having when creating a Pareto graph</title>
      <link>https://community.qlik.com/t5/App-Development/Challenges-I-am-having-when-creating-a-Pareto-graph/m-p/2420561#M95640</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have just asked the same question but explaining the issue with my own words (english is not my first language, so it is not that easy for me to be clear).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I asked ChatGPT to help me be a litle bit clearer. Here is the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Graph Description&lt;/STRONG&gt;: I want to create a graph, specifically a Pareto chart, that categorizes cities based on their percentage contribution to total sales (%Acc Sales).&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Categorization Criteria&lt;/STRONG&gt;: I plan to classify cities into three categories:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;Category 1: The top 10% of cities with the highest sales.&lt;/LI&gt;
&lt;LI&gt;Category 2: The next 20% of cities after the top 10%.&lt;/LI&gt;
&lt;LI&gt;Category 3: The remaining cities (approximately 70%).&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Data Organization&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;The x-axis will represent cities sorted from highest to lowest sales (descending order).&lt;/LI&gt;
&lt;LI&gt;The y-axis will represent the cumulative percentage of sales (%Acc Sales).&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Challenges&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;The x-axis sorting is showing the Cities in a descending order of sales, but you cannot see the separation between the categories (1,2 and 3 respectivally). I am failing at representing the boundaries between the three categories on the graph.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Specific Requests&lt;/STRONG&gt;:&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL&gt;
&lt;UL&gt;
&lt;LI&gt;I want to add lines on the graph to indicate where each category starts on the x-axis.&lt;/LI&gt;
&lt;LI&gt;Additionally, you'd like to label these lines to show the percentage of total sales each category represents&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;P&gt;Here is how my graph looks like right now:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nemo1_0-1708331230735.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160141i3EC95F8EA2BDCD3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nemo1_0-1708331230735.png" alt="Nemo1_0-1708331230735.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is want i want to have:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nemo1_1-1708331246493.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160142iF6FEFA522F622473/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Nemo1_1-1708331246493.png" alt="Nemo1_1-1708331246493.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks everyone in advance. i love this community.&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, 15 Nov 2024 21:03:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Challenges-I-am-having-when-creating-a-Pareto-graph/m-p/2420561#M95640</guid>
      <dc:creator>Nemo1</dc:creator>
      <dc:date>2024-11-15T21:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Challenges I am having when creating a Pareto graph</title>
      <link>https://community.qlik.com/t5/App-Development/Challenges-I-am-having-when-creating-a-Pareto-graph/m-p/2421191#M95687</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LRuCelver_0-1708434383745.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160257iFEE6D58A6804027B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LRuCelver_0-1708434383745.png" alt="LRuCelver_0-1708434383745.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here is the data and all expressions used:&lt;/P&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Data:
NoConcatenate Load 
	Chr(RecNo() + Ord('A') - 1) as City,
    Rand() * Rand() * Rand() * 1000 as Sales
AutoGenerate 26;&lt;/LI-CODE&gt;
&lt;P&gt;Dimension:&lt;/P&gt;
&lt;PRE&gt;=Aggr(Dual(City, Rank(Sum(Sales))), City)&lt;/PRE&gt;
&lt;P&gt;Measure:&lt;/P&gt;
&lt;PRE&gt;=RangeSum(Above(Sum(Sales), 0, RowNo())) / Sum(total Sales)&lt;/PRE&gt;
&lt;P&gt;Dimension reference lines:&lt;/P&gt;
&lt;PRE&gt;=Ceil(Count(distinct City) * 0.1) // Replace 0.1 with whatever percentage you want&lt;/PRE&gt;
&lt;P&gt;Measure reference lines:&lt;/P&gt;
&lt;PRE&gt;=Sum(Aggr(If(Rank(Sum(Sales)) &amp;lt;= Ceil(Count(distinct total City) * 0.1), Sum(Sales)), City)) / Sum(total Sales) // Replace 0.1 with whatever percentage you want&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 13:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Challenges-I-am-having-when-creating-a-Pareto-graph/m-p/2421191#M95687</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-20T13:10:59Z</dc:date>
    </item>
  </channel>
</rss>

