<?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 select list from list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414036#M1164398</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;=sum(Discharges) / sum(&lt;STRONG style="font-size: 12px;"&gt;{1}&lt;/STRONG&gt; total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This wil help you.. Can you provide a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 14:54:49 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-09-17T14:54:49Z</dc:date>
    <item>
      <title>Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414030#M1164392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok so what I'm trying to do is sum all values in a list box (100%) of values but only display the ones I have selected in the list box. The sum function I'm using works (sum(Discharges) / sum( total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges) ) to show me the correct values in the graph, but when I only select 2 or 3 fields from the list box it changes the values in the graph and they become the 100%. How do i keep a sum of 100% but only select a few fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yellow = 5&lt;/P&gt;&lt;P&gt;blue = 20&lt;/P&gt;&lt;P&gt;green =50&lt;/P&gt;&lt;P&gt;black=10&lt;/P&gt;&lt;P&gt;red =15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all will total 100% and I could put this in a graph, but the minute I select Yellow and green (to display in the graph)&amp;nbsp; I still want to see yellow is 5% and green is 50%, and not the new selected (yellow and green) having the values 90% and 10%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:37:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414030#M1164392</guid>
      <dc:creator />
      <dc:date>2012-09-17T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414031#M1164393</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you mean, no change in the graph value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if so, use Sum({1}Discharges) / sum({1} total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Edit:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Discharges) / sum({1} total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414031#M1164393</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-17T14:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414032#M1164394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try disregarding your selection in the total calculation, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Discharges) / sum(&lt;STRONG&gt;{1}&lt;/STRONG&gt; total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414032#M1164394</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-17T14:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414033#M1164395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, no change to the graph value, but it would only display yellow and green.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414033#M1164395</guid>
      <dc:creator />
      <dc:date>2012-09-17T14:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414034#M1164396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't want to disregard the select because I now only want to display Yellow and green, not all in the list box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414034#M1164396</guid>
      <dc:creator />
      <dc:date>2012-09-17T14:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414035#M1164397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I've understood, as I said, only disregard selection for the total value calculation.&lt;/P&gt;&lt;P&gt;Works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just give it a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414035#M1164397</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-17T14:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414036#M1164398</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;=sum(Discharges) / sum(&lt;STRONG style="font-size: 12px;"&gt;{1}&lt;/STRONG&gt; total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This wil help you.. Can you provide a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414036#M1164398</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-17T14:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414037#M1164399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the correct answer, but now I'm getting a odd fraction in %'s. I know I'm talking about discharges... but my example I would have like .82% for yellow and .3% fro green. Graph still looks correct, just not sure how to get the values back 90% and 10 % values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 14:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414037#M1164399</guid>
      <dc:creator />
      <dc:date>2012-09-17T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414038#M1164400</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For 90% and 10%, use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(Discharges) / sum(total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 5% and 50%&lt;/P&gt;&lt;P&gt;=sum(Discharges) / sum(&lt;STRONG style="font-size: 12px;"&gt;{1}&lt;/STRONG&gt; total &amp;lt;DischargeYear,DischargeQuarter&amp;gt; Discharges)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414038#M1164400</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-17T15:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sum select list from list box</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414039#M1164401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a small sample file? Probably there is some more complexity in your data than in the sample above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 21:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-select-list-from-list-box/m-p/414039#M1164401</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-17T21:04:18Z</dc:date>
    </item>
  </channel>
</rss>

