<?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: Pie chart dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450403#M168049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sandro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check and let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 21:21:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-23T21:21:36Z</dc:date>
    <item>
      <title>Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450400#M168046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;In&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a pie chart&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I need&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to separate&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the average monthly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;sales&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;as follows&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;gt; 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;gt; 500&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;&amp;lt;&lt;/SPAN&gt;= 1000&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;0 and&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;&amp;lt;&lt;/SPAN&gt;= 500&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;As shown in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;image&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the attachment qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 19:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450400#M168046</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2013-01-23T19:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450401#M168047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use a calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if((Cant &amp;gt;0 and Cant &amp;lt;= 500),'0-500',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if((Cant &amp;gt; 500 and Cant &amp;lt;=1000),'501-1000','&amp;gt;1000'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class() may work as well.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the data you provided, the pie would not calculate because of negative numbers.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used a set expression to overcome that issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( { $&amp;lt;Cant= {"&amp;gt;0"}&amp;nbsp; &amp;gt;} Cant )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wade&lt;/P&gt;&lt;P&gt;serviambi.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 20:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450401#M168047</guid>
      <dc:creator>wms_manis</dc:creator>
      <dc:date>2013-01-23T20:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450402#M168048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I put something together quickly that uses a calculated dimension to generate the thresholds used in the pie chart.&amp;nbsp; Please see the attached document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 20:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450402#M168048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T20:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450403#M168049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sandro,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check and let me know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 21:21:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450403#M168049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T21:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450404#M168050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Your answer&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;works perfect&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;but I need to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;separate the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;monthly average.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If&lt;SPAN style="font-size: 8pt;"&gt;(Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cant)/3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=500,'0-500',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cant)/3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;=1000,'500-1000',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Cant)/3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=1000,'&amp;gt;1000'))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;and this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;fails.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 21:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450404#M168050</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2013-01-23T21:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450405#M168051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please check the attachment of qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 21:43:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450405#M168051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-23T21:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450406#M168052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shaik &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Your&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is empty.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 09:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450406#M168052</guid>
      <dc:creator>spividori</dc:creator>
      <dc:date>2013-01-24T09:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450407#M168053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may make sense to build this dimension in the script using the group by function.&amp;nbsp; I think the issue you're seeing is that when you try to use Sum(Cant) in the calculated dimension, it doesn't know what group of records needs to be summed.&amp;nbsp; Try something like what I did in the script of the attached doc.&amp;nbsp; One thing to note, is that I'm not sure what field you're trying to sum for, so you may need to change the producto fields in the attached script.&amp;nbsp; At the very least this should give you a starting point to work from.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2013 13:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pie-chart-dimensions/m-p/450407#M168053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-24T13:42:18Z</dc:date>
    </item>
  </channel>
</rss>

