<?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: Sum of set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717292#M475784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM($(&lt;/SPAN&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Streefhuur)&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-Nettohuur) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2014 14:56:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-07T14:56:05Z</dc:date>
    <item>
      <title>Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717283#M475775</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've created some variables that I use to calculate a column in a table(graph). The problem I'm facing now is that when I want to show the total value of that entire column in a pie chart, I either get the message: no values (I've got the dutch version so pardon me if the translation of the error isn't correct), when I set the dimension limits to 5 for example I get the error: all values below limit.&lt;/P&gt;&lt;P&gt;The variables I use:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Streefperc&lt;/EM&gt;, this is a variable that can be set by a slider and can take a value in the range of 0-1. It is used to calculate a percentage.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Streefhuur = 'Streefperc&lt;/EM&gt;*Maxhuur&lt;EM&gt;'&amp;nbsp; (&lt;/EM&gt;Maxhuur is a field, Streefhuur is, for example, 70% of Maxhuur)&lt;/P&gt;&lt;P&gt;In the graph table I then use as expression &lt;EM&gt;Streefhuur&lt;/EM&gt;-Nettohuur, to calculate the marge between Nettohuur and streefhuur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create a pie chart with the same dimension and the expression: SUM(&lt;EM&gt;Streefhuur&lt;/EM&gt;-Nettohuur) I get the errors.&lt;/P&gt;&lt;P&gt;I've also tried to create a separate variable Marge, which calculated &lt;EM&gt;Streefhuur&lt;/EM&gt;-Nettohuur, and tried the sum of that variable, and even a variable that wàs the sum of the variable marge. Still get the same errors. Also tried to expand the vars, so sum($(=$Marge))) of sum($Marge)). No good. I don't think the dimension is the problem because i've tested with several logical dimension, one consists of three groups, so that shouldn't be a limit problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm really stuck at this and could use some help. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717283#M475775</guid>
      <dc:creator />
      <dc:date>2014-07-04T13:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart with variables in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717284#M475776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ruud,&lt;/P&gt;&lt;P&gt;Do you can to show the QVW file ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717284#M475776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T13:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart with variables in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717285#M475777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I can, i still have a personal edition of Qlikview, I'm travelling at the moment but i'll add some clarifying screenshots later this evening&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717285#M475777</guid>
      <dc:creator />
      <dc:date>2014-07-04T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pie chart with variables in the expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717286#M475778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added some screenshots of the script, the second example shows the two tables, I want to project the total marge, which is also shown in the top of the table, in a pie chart. The dimension I use consists of 3 values, district 1, district 2 and district 3. When I use this dimension Qlickview gives the error "no values to be shown" (as in example 2) When I change the dimension limit to only show the highest 3, QV gives the error "all values below limit" (example 3)&lt;BR /&gt;Hope this clarifies my problem a little bit more!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 18:36:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717286#M475778</guid>
      <dc:creator />
      <dc:date>2014-07-04T18:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717287#M475779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 13:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717287#M475779</guid>
      <dc:creator />
      <dc:date>2014-07-07T13:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717288#M475780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in a pie chart you can't show negative values. It is possible that there are negative values as shown in picture 2.&lt;/P&gt;&lt;P&gt;First try another chart type (bar chart)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 13:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717288#M475780</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2014-07-07T13:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717289#M475781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bar chart doesn't work either. It's true that "Marge" can have negative values, but I'm interested in the sum, which is positive. At the top of the table it already shows the sum of Marge: 87.951,69. What I want is that the user can see how this total is divided per district.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 13:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717289#M475781</guid>
      <dc:creator />
      <dc:date>2014-07-07T13:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717290#M475782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a screenshot from the table view?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 13:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717290#M475782</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2014-07-07T13:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717291#M475783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add the dimension Location and use as expression sum(&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Streefhuur)&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-sum(Nettohuur), but if there is a negative value in one of the Locations, the pie chart will not be shown&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 14:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717291#M475783</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2014-07-07T14:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717292#M475784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SUM($(&lt;/SPAN&gt;&lt;EM style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Streefhuur)&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-Nettohuur) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 14:56:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717292#M475784</guid>
      <dc:creator />
      <dc:date>2014-07-07T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717293#M475785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The strange thing is, when I use this the chart only show 3 negative values.. But your answer got it almost right:&lt;/P&gt;&lt;P&gt;SUM((Streefperc*Maxhuur))-SUM(Nettohuur) Did the trick. Because of some strange reason using the variable Streefhuur (which calculates streefperc*maxhuur) was the bottleneck.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I thank you sir!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 17:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717293#M475785</guid>
      <dc:creator />
      <dc:date>2014-07-07T17:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sum of set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717294#M475786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already tried this one, didn'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>Mon, 07 Jul 2014 17:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-of-set-analysis/m-p/717294#M475786</guid>
      <dc:creator />
      <dc:date>2014-07-07T17:31:05Z</dc:date>
    </item>
  </channel>
</rss>

