<?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: How to make a PIE Chart using 1 value as 100% in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026750#M926982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Sector-={OP4}&amp;gt;} Cost)&lt;/P&gt;&lt;P&gt;this will sum all cost types which selected (or all if nothing is selected) but not Sector = OP4&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Mar 2016 13:43:43 GMT</pubDate>
    <dc:creator>martinpohl</dc:creator>
    <dc:date>2016-03-31T13:43:43Z</dc:date>
    <item>
      <title>How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026749#M926981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New QlikView user here &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; (and bear with me, english is not my native tongue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to create a Pie Chart to show the total expenses for a specific project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields I'm using are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sector:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cost:&lt;/P&gt;&lt;P&gt;OP1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 150&lt;/P&gt;&lt;P&gt;OP2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200&lt;/P&gt;&lt;P&gt;OP3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 125&lt;/P&gt;&lt;P&gt;OP4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example:&lt;/P&gt;&lt;P&gt;OP1 = construction materials&lt;/P&gt;&lt;P&gt;OP2 = labor&lt;/P&gt;&lt;P&gt;OP3 = Misc&lt;/P&gt;&lt;P&gt;OP4 = TOTAL REVENUE of this specific project&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get all the data from our ERP and this include the total value of the project that will be paid once it's completed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I create my PIE chart so each OP (1 to 3) is substracted from the total (OP4) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I show amounts for all fields so I got a nice incorrect chart as the "Total Revenue" should be the full amount and not another value added to the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that I need to be able to use this chart with all the projects so adding a fixed value is not possible since it will change depending wich project I select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that I'm clear enough...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026749#M926981</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026750#M926982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Sector-={OP4}&amp;gt;} Cost)&lt;/P&gt;&lt;P&gt;this will sum all cost types which selected (or all if nothing is selected) but not Sector = OP4&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026750#M926982</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2016-03-31T13:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026751#M926983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are OP1...OP4 individual fields? &lt;/P&gt;&lt;P&gt;Use Sum(OP1), Sum(OP2), Sum(OP3) as expressions, and calculate the 4th slice , '&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Others', with the expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Sum(RangeSum(OP3, -OP1, -OP2, -OP3))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026751#M926983</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2016-03-31T13:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026752#M926984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will check your solution but to answer your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OP 1 - 4 are values from the same field SECTOR&lt;/P&gt;&lt;P&gt;The data I work with contains all codes for expenses and revenues in this specific field.&lt;/P&gt;&lt;P&gt;The amounts displayed in COST contains both revenues and expenses (&lt;SPAN style="font-size: 13.3333px;"&gt;I should have called it AMOUNT in my example, for better clarity) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the whole PIE to = OP4&amp;nbsp; so I can see my expenses compared to the rest of my revenues&lt;/P&gt;&lt;P&gt;(sorry if the terms I'm using are not correct...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say that my client will pay 1000.- for this project (amount designed as OP4)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I should be able to show my PIE = 1000 and if I have, like in my example, 3 specific expenses, I should see 4 slices &amp;gt;&lt;/P&gt;&lt;P&gt;OP1, OP2, OP3 AND the remaining amount from OP4 (1000 - (OP1 + OP2 + OP3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps to better understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026752#M926984</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2016-03-31T14:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026753#M926985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabien, not quite sure how this chart should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you sum up OP1 to OP3, this makes 475, so there is a difference of 25 to your OP4 value. That's good for your business, I guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how should your pie chart (or any other chart, in case Gysbert is looking into this) look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which segments do you want to show and which value should each segment show?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026753#M926985</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-31T14:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026754#M926986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use four expressions, similar to what Jonathan suggested:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Sector = {OP1}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Sum({&amp;lt;Sector = {OP2}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Sum({&amp;lt;Sector = {OP3}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Sum({&amp;lt;Sector = {OP4}&amp;gt;} Amount) - &lt;SPAN style="font-size: 13.3333px;"&gt;Sum({&amp;lt;Sector = {OP1,OP2,OP3}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:34:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026754#M926986</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-31T14:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026755#M926987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'FOCD', 'FOCDST' and 'FODO' are EXPENSES (109865, 70, 37670)&lt;/P&gt;&lt;P&gt;'DBCD' is the total revenue of the project (266510)&lt;/P&gt;&lt;P&gt;I would like DBCD to be the whole PIE&lt;BR /&gt;the 3 other values are expenses and should be deducted from the total&lt;BR /&gt;So each time that we have an expense (we buy metal for example), the slice FOCD (wich in my case is the code for our orders) should grow bigger and the and the total amount should shrink to show the balance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically it should show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;266510 - (109865 + 70 + 37670) = 118905&lt;/P&gt;&lt;P&gt;&lt;IMG alt="pie.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120062_pie.PNG" style="height: 386px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clarify...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your answers so far !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026755#M926987</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2016-03-31T15:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026756#M926988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, and what do you see when you are using my suggested expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 15:15:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026756#M926988</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-31T15:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a PIE Chart using 1 value as 100%</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026757#M926989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems to do the trick !! &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;&lt;IMG alt="pie5.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120169_pie5.PNG" style="height: 447px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;266510 - (101512 + 70 + 35221) = 129705&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to all who helped, I appreciate it greatly.&lt;/P&gt;&lt;P&gt;Have a nice week-end&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:58:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-a-PIE-Chart-using-1-value-as-100/m-p/1026757#M926989</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2016-04-01T08:58:22Z</dc:date>
    </item>
  </channel>
</rss>

