<?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: Income - outcome in chart pie in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428139#M159552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you "just" need to flag the transfers and remove them from the calculations?&lt;/P&gt;&lt;P&gt;Do you have any informations about what Account records are just an internal transfer? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2012 13:05:09 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-10-18T13:05:09Z</dc:date>
    <item>
      <title>Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428136#M159549</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;/P&gt;&lt;P&gt;I'm currfently fighting with a:&lt;/P&gt;&lt;P&gt;cannot mix negative and positive in pie chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Imagine you've got expences and income:&lt;/P&gt;&lt;P&gt;Cash +100&lt;/P&gt;&lt;P&gt;Cash -150&lt;/P&gt;&lt;P&gt;Cash +300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you could create an income pie chart for cash with 400 and one with outcome -150. But what I need is to "clear" the values - Cash: +250 (i'm sure that I'll always have a positive value or a zero). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried so far:&lt;/P&gt;&lt;P&gt;=sum({$ &amp;lt;Art={Income}&amp;gt;} Amount) - fabs(sum({$ &amp;lt;Art={Outcome}&amp;gt;} Amount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428136#M159549</guid>
      <dc:creator />
      <dc:date>2012-10-18T12:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428137#M159550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you mean with "to clear the values".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe what you expect to see in the pie chart? Three pieces? What sizes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just don't think that a pie chart is an appropriate visualization for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428137#M159550</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-18T12:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428138#M159551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Imagine you'll create a personal finance dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You've got two accounts. Now you transfer 20'000 from AccountA to AccountB.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Each transaction has a category. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you want to see for what you're spending your money (over all Accounts). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally you'll have data like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account A&lt;/P&gt;&lt;P&gt;10.1.2012, House, -20'000&lt;/P&gt;&lt;P&gt;11.1.2012, Savings, -20'000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account B&lt;/P&gt;&lt;P&gt;11.1.2012, Savings, +20'000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because you only transfer(!) money from A to B it's not really a spending so the pie chart should display only House (20'000). The 20'000 are still in my hands, just transfered from one Account to another. So if you create two pie charts (one with income, one with outcome) you'll have everytime Savings with 20'000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess the same problem is with an Intercompany Statements...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 12:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428138#M159551</guid>
      <dc:creator />
      <dc:date>2012-10-18T12:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428139#M159552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you "just" need to flag the transfers and remove them from the calculations?&lt;/P&gt;&lt;P&gt;Do you have any informations about what Account records are just an internal transfer? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 13:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428139#M159552</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-18T13:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428140#M159553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why not:&lt;/P&gt;&lt;P&gt;sum(if (cash&amp;gt;0,cash,-cash))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 13:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428140#M159553</guid>
      <dc:creator />
      <dc:date>2012-10-18T13:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428141#M159554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, for that example above it would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But imagine that you wanna see cleared values for your house:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You paid 2012/01 -20'000.&lt;/P&gt;&lt;P&gt;Your sister also lives in your house, so she'll pay you +5000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Balance for your house: -15000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't just remove the values, it would lead to wrong values (always depends on what you wanna see...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's the tricky part: I don't have any information about those groups with such records - they're automatically tagged by another system. And it could be that it will add a new category if there are enough customers earning money in that area...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Giovanni: Guess it's the same problem (clears only null balanced values)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 14:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428141#M159554</guid>
      <dc:creator />
      <dc:date>2012-10-18T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Income - outcome in chart pie</title>
      <link>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428142#M159555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I am probably still missing your setting and your requested outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you upload some sample lines of data, and what your requested result should look like? Best as sample qvw application, excel file or INLINE script code snippet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 15:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Income-outcome-in-chart-pie/m-p/428142#M159555</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-10-18T15:17:08Z</dc:date>
    </item>
  </channel>
</rss>

