<?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: Custom irregular classes pie chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35386#M5984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! Problem solved ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 13:50:43 GMT</pubDate>
    <dc:creator>jankobelair</dc:creator>
    <dc:date>2018-05-04T13:50:43Z</dc:date>
    <item>
      <title>Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35381#M5979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a pie chart :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="c.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/201099_c.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension :&lt;/P&gt;&lt;P&gt;=Replace(Class(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID), $(vDistrParVolume_Step)), '&amp;lt;= x &amp;lt;', '-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression :&lt;/P&gt;&lt;P&gt;=Num(Count (DISTINCT CONTRACT_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get these class but I haven't found the way yet :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0 - 0.05&lt;/P&gt;&lt;P&gt;0.05 - 0.5&lt;/P&gt;&lt;P&gt;0.5 - 1&lt;/P&gt;&lt;P&gt;1- 2&lt;/P&gt;&lt;P&gt;2 - 5&lt;/P&gt;&lt;P&gt;5 - 10&lt;/P&gt;&lt;P&gt;10 - 20&lt;/P&gt;&lt;P&gt;20 - 50&lt;/P&gt;&lt;P&gt;&amp;gt; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 13:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35381#M5979</guid>
      <dc:creator>jankobelair</dc:creator>
      <dc:date>2018-04-30T13:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35382#M5980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be look here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3821"&gt;Buckets&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35382#M5980</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-30T15:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35383#M5981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you that's perfect &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.05, '0 - 50 MO', &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.5, '50 - 500 MO', &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 1, '500 MO - 1 GO',&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 2, '1 - 2 GO',&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 5, '2 - 5 GO', &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 10, '5 - 10 GO',&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 20, '10 - 20 GO',&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 50, '20 - 50 GO', '&amp;gt; 50 GO'&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 13:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35383#M5981</guid>
      <dc:creator>jankobelair</dc:creator>
      <dc:date>2018-05-02T13:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35384#M5982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have another problem. I want to sort to get the same order as in the IF I wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried an expression like this to sort :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.05, 0, &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.5, 1, &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 1, 2,&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 2, 3,&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 5, 4, &lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 10, 5,&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 20, 6,&lt;/P&gt;&lt;P&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 50, 7, 8&lt;/P&gt;&lt;P&gt;))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the lines are not sorted.... I get :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10 - 20 GO&lt;/P&gt;&lt;P&gt;20 - 50 GO&lt;/P&gt;&lt;P&gt;&amp;gt; 50 GO&lt;/P&gt;&lt;P&gt;5 - 10 GO&lt;/P&gt;&lt;P&gt;2 - 5 GO&lt;/P&gt;&lt;P&gt;1 - 2 GO&lt;/P&gt;&lt;P&gt;50 - 500 MO&lt;/P&gt;&lt;P&gt;500 MO - 1 GO&lt;/P&gt;&lt;P&gt;0 - 50 MO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 18:54:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35384#M5982</guid>
      <dc:creator>jankobelair</dc:creator>
      <dc:date>2018-05-03T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35385#M5983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a numerically sort with this slightly modified calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.05, Dual('0 - 50 MO', 1),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 0.5, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'50 - 500 MO', 2),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 1, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'500 MO - 1 GO', 3),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 2, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'1 - 2 GO', 4),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 5, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'2 - 5 GO', 5),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 10, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'5 - 10 GO', 6),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 20, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'10 - 20 GO', 7),&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Aggr(Sum(VOLUME_TOTAL)/1024, CONTRACT_ID) &amp;lt; 50, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'20 - 50 GO', 8), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dual(&lt;/SPAN&gt;'&amp;gt; 50 GO', 9)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2018 23:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35385#M5983</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-03T23:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Custom irregular classes pie chart</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35386#M5984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great ! Problem solved ! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 13:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-irregular-classes-pie-chart/m-p/35386#M5984</guid>
      <dc:creator>jankobelair</dc:creator>
      <dc:date>2018-05-04T13:50:43Z</dc:date>
    </item>
  </channel>
</rss>

