<?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 AW:selected divided by not selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224426#M76837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in Set Analysis you find P() for selected and E() for not selected!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 18:07:16 GMT</pubDate>
    <dc:creator>brenner_martina</dc:creator>
    <dc:date>2011-02-21T18:07:16Z</dc:date>
    <item>
      <title>selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224425#M76836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikview community&lt;BR /&gt;&lt;BR /&gt; how can I divide the value in a selection by the sum without selection?&lt;BR /&gt;&lt;BR /&gt; See Screenshot: I choose Berlin and receive the value 1540 But I want this selected value divided by their sum total.&lt;/P&gt;&lt;P&gt;In this case like (1540) divided by (1200 +1500 +1540 +1750 +1850).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt; Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224425#M76836</guid>
      <dc:creator />
      <dc:date>2011-02-21T18:04:16Z</dc:date>
    </item>
    <item>
      <title>AW:selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224426#M76837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in Set Analysis you find P() for selected and E() for not selected!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224426#M76837</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-02-21T18:07:16Z</dc:date>
    </item>
    <item>
      <title>AW:selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224427#M76838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;BR /&gt; how would my formula look like? Unfortunately, I dont understand the documentation &lt;IMG alt="Tongue Tied" src="http://community.qlik.com/emoticons/emotion-7.gif" /&gt;&lt;/P&gt;&lt;P&gt;Can you please give me an example? Thank you very much.&lt;BR /&gt;&lt;BR /&gt; Best regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224427#M76838</guid>
      <dc:creator />
      <dc:date>2011-02-21T18:26:33Z</dc:date>
    </item>
    <item>
      <title>AW:selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224428#M76839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will be something like this:&lt;BR /&gt;sum(Revenue)/sum({$&amp;lt;Unit=E({$} Unit)&amp;gt;} Revenue)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:35:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224428#M76839</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-21T18:35:23Z</dc:date>
    </item>
    <item>
      <title>selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224429#M76840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;please See attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;kaushal Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224429#M76840</guid>
      <dc:creator>kaushalview</dc:creator>
      <dc:date>2011-02-21T18:54:34Z</dc:date>
    </item>
    <item>
      <title>selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224430#M76841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See attached example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kaushal Mehta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 18:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224430#M76841</guid>
      <dc:creator>kaushalview</dc:creator>
      <dc:date>2011-02-21T18:55:40Z</dc:date>
    </item>
    <item>
      <title>AW:selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224431#M76842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Michael,&lt;BR /&gt;&lt;BR /&gt;unfortunately I cant use the shown example on my final formula.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;= sum( aggr(sum([HEL_DATA_Imps mit Defaults]) * (SAL_OPPORTUNITYLINEITEM_UnitPrice), SAL_OPPORTUNITYLINEITEM_UnitPrice))&lt;/P&gt;&lt;P&gt;How should look my final formula and what i have to change ? I tried to transform your example in to mine like this:&lt;BR /&gt;&lt;BR /&gt;= sum( {$&amp;lt;Unit=E({$} Unit)&amp;gt;} aggr(sum( [HEL_DATA_Imps mit Defaults] ) * (SAL_OPPORTUNITYLINEITEM_UnitPrice), SAL_OPPORTUNITYLINEITEM_UnitPrice))&lt;BR /&gt;&lt;BR /&gt;But it didnt work ! What's wrong &lt;IMG alt="Indifferent" src="http://community.qlik.com/emoticons/emotion-8.gif" /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 19:32:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224431#M76842</guid>
      <dc:creator />
      <dc:date>2011-02-21T19:32:48Z</dc:date>
    </item>
    <item>
      <title>AW:selected divided by not selected</title>
      <link>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224432#M76843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Onur,&lt;/P&gt;&lt;P&gt;the problem is that Set Analysis will not work on your expression because it only works on functions like SUM. You have to rewrite your expression to avoid the multiplication outside the SUM function like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;= 'Totalprice PLAN IST: ' &amp;amp; sum({1} aggr({1} sum({1} [HEL_DATA_Imps mit Defaults] * SAL_OPPORTUNITYLINEITEM_UnitPrice), SAL_OPPORTUNITYLINEITEM_UnitPrice))&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;This example will calculate the wrong figure in your case I guess. But, it shows how the Set Analysis would work.&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 21:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/selected-divided-by-not-selected/m-p/224432#M76843</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2011-02-21T21:13:48Z</dc:date>
    </item>
  </channel>
</rss>

