<?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: Chart: Problem with Total (sum) in Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378529#M572313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;image 2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only looks like the expression is missing (becouse the expression generate the same result)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it by changing this chart from line chart to straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 13:15:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-16T13:15:32Z</dc:date>
    <item>
      <title>Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378527#M572311</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;I have a chart that looks like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20294" class="jive-image-thumbnail jive-image" onclick="" alt="start_chart.bmp" src="https://community.qlik.com/legacyfs/online/20294_start_chart.bmp" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I would like to have another chart line displaying the total of all current lines, to achieve this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20295" class="jive-image-thumbnail jive-image" onclick="" alt="Desired_Chart.JPG" src="https://community.qlik.com/legacyfs/online/20295_Desired_Chart.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;However when i try to add a new expression with the total using this Set Analysis &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SUM&lt;SPAN style="font-size: 8pt;"&gt;({$ &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Life&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ExtGSV$&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems it removes the other 4 lines and i am left with this result, only total is displayed:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20296" class="jive-image-thumbnail jive-image" onclick="" alt="Result_Chart.JPG" src="https://community.qlik.com/legacyfs/online/20296_Result_Chart.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me, i have attached an example to better understand. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot in advance for your attention and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 12:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378527#M572311</guid>
      <dc:creator />
      <dc:date>2012-08-16T12:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378528#M572312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the first chart on the qvw file (att by you) is exacly what you are asking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cant find the problem you've got:/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 13:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378528#M572312</guid>
      <dc:creator />
      <dc:date>2012-08-16T13:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378529#M572313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;image 2 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only looks like the expression is missing (becouse the expression generate the same result)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check it by changing this chart from line chart to straight table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 13:15:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378529#M572313</guid>
      <dc:creator />
      <dc:date>2012-08-16T13:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378530#M572314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for your reply Pari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the first chart is what i am after. see below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="20309" class="jive-image-thumbnail jive-image" onclick="" alt="wanted_chart.JPG" src="https://community.qlik.com/legacyfs/online/20309_wanted_chart.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;but it was created limiting each line using a separate expression using the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the total:&lt;/P&gt;&lt;P&gt;SUM({$ &amp;lt;Life = {"*"} &amp;gt;} ExtGSV$) &lt;/P&gt;&lt;P&gt;for each line:&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'A(&amp;lt;50%)'} &amp;gt;}ExtGSV$) &lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'B(50-70%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'C(70-85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'D(&amp;gt;85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however doing it this way it will not be possible to drill-down clicking on each line and this is a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to be able to obtain the same result using a single expression to display the 4 lines for (LIFE) using this Sum(ExtGSV$) &lt;/P&gt;&lt;P&gt;and add another expression for the total. i have tried using SUM({$ &amp;lt;Life = {"*"} &amp;gt;} ExtGSV$) but as mentioned it doesn't work. &lt;/P&gt;&lt;P&gt;In my example on the second bottom chart if you disable the first expression (&lt;SPAN style="font-size: 8pt;"&gt;Total GSV$&lt;/SPAN&gt;) you will see the 4 lines appear correctly but when i try to get the 5th line with the total it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you can better understand me. &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;/SPAN&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, 16 Aug 2012 13:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378530#M572314</guid>
      <dc:creator />
      <dc:date>2012-08-16T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378531#M572315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you did't say you want to drill down before:)&lt;/P&gt;&lt;P&gt;if you want to drill down you should prepare group dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;for the total:&lt;/P&gt;&lt;P&gt;SUM({$ &amp;lt;Life = {"*"} &amp;gt;} ExtGSV$) &lt;/P&gt;&lt;P&gt;for each line:&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'A(&amp;lt;50%)'} &amp;gt;}ExtGSV$) &lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'B(50-70%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'C(70-85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'D(&amp;gt;85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however doing it this way it will not be possible to drill-down clicking on each line and this is a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you answer what you want to see after "drill-down clicking on each line"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 13:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378531#M572315</guid>
      <dc:creator />
      <dc:date>2012-08-16T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Chart: Problem with Total (sum) in Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378532#M572316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;clicking on each line should create an equivalent of a selection and therefore if i click on one line will filter/display data in other objects based on the selection. For example if i click on the green line it shall filter by 'Life D(&amp;gt;85%)'.&lt;/P&gt;&lt;P&gt;If i use the following as in my example won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the total:&lt;/P&gt;&lt;P&gt;SUM({$ &amp;lt;Life = {"*"} &amp;gt;} ExtGSV$) &lt;/P&gt;&lt;P&gt;for each line:&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'A(&amp;lt;50%)'} &amp;gt;}ExtGSV$) &lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'B(50-70%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'C(70-85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;Sum({$ &amp;lt;Life = {'D(&amp;gt;85%)'} &amp;gt;}ExtGSV$)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 14:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Problem-with-Total-sum-in-Expression/m-p/378532#M572316</guid>
      <dc:creator />
      <dc:date>2012-08-16T14:00:33Z</dc:date>
    </item>
  </channel>
</rss>

