<?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 Pie chart: Creating two fields - Group with max group sum and sum of all other groups in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Pie-chart-Creating-two-fields-Group-with-max-group-sum-and-sum/m-p/112212#M7709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data that looks like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" width="64"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Group&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wanting to create a pie chart (as a KPI) that shows the sum of all amounts for the max group compared to the sum of the rest of the groups added together - obviously the 'max group' will change when more data gets added to the data set so the pie chart needs to be fluid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I am wanting to get the data to graph looks like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="112" style="width: 206px; height: 115px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" width="64"&gt;&lt;STRONG&gt;Group&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Other&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pie would look something like this (Where the orange is the added amounts for all other groups and the grey is the added amounts for the group that has the max added value amounts for it's group)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214508_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 13:45:45 GMT</pubDate>
    <dc:creator>lmcarter</dc:creator>
    <dc:date>2018-09-26T13:45:45Z</dc:date>
    <item>
      <title>Pie chart: Creating two fields - Group with max group sum and sum of all other groups</title>
      <link>https://community.qlik.com/t5/App-Development/Pie-chart-Creating-two-fields-Group-with-max-group-sum-and-sum/m-p/112212#M7709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data that looks like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" width="64"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Group&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;&lt;STRONG style="text-decoration: underline;"&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 1&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 2&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wanting to create a pie chart (as a KPI) that shows the sum of all amounts for the max group compared to the sum of the rest of the groups added together - obviously the 'max group' will change when more data gets added to the data set so the pie chart needs to be fluid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I am wanting to get the data to graph looks like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="112" style="width: 206px; height: 115px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" width="64"&gt;&lt;STRONG&gt;Group&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="64"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Group 3&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" style="border-top: none;"&gt;Other&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pie would look something like this (Where the orange is the added amounts for all other groups and the grey is the added amounts for the group that has the max added value amounts for it's group)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214508_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 13:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pie-chart-Creating-two-fields-Group-with-max-group-sum-and-sum/m-p/112212#M7709</guid>
      <dc:creator>lmcarter</dc:creator>
      <dc:date>2018-09-26T13:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart: Creating two fields - Group with max group sum and sum of all other groups</title>
      <link>https://community.qlik.com/t5/App-Development/Pie-chart-Creating-two-fields-Group-with-max-group-sum-and-sum/m-p/112213#M7710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! Do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: Group&lt;/P&gt;&lt;P&gt;Measure: Sum(Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apply this settings in the Data tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215035_Capture.PNG" style="height: 596px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 19:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Pie-chart-Creating-two-fields-Group-with-max-group-sum-and-sum/m-p/112213#M7710</guid>
      <dc:creator>Ivan_Bozov</dc:creator>
      <dc:date>2018-10-03T19:11:42Z</dc:date>
    </item>
  </channel>
</rss>

