<?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 Qlik sense - Set Analysis - Sum ignoring one dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429861#M34302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, this weekend im working on a report to obtain % of participation of each combination of zone and type of product in all sales channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To this i need obtain the subtotal or sum all cambinations of zone and product by all sales channels and&amp;nbsp; after that divide this by sum of complete combination of channel, zone and product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15056646019949334 jive_text_macro" jivemacro_uid="_15056646019949334"&gt;
&lt;P&gt;Sum({&amp;lt;[Sales Channel]={'Channel1','Channel2','Channel3','Channel4'}&amp;gt;}[Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this expression sum the same values like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_150566458639345 jive_text_macro" jivemacro_uid="_150566458639345"&gt;
&lt;P&gt;Sum([Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i put the word Totals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1505664657245123 jive_text_macro" jivemacro_uid="_1505664657245123"&gt;
&lt;P&gt;Sum(Totals{&amp;lt;[Sales Channel]={'Channel1','Channel2','Channel3','Channel4'}&amp;gt;}[Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qliksense calculate the full total without discrimination of zone or product &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I upload an example to what i want to obtain.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Column D =&amp;nbsp; Sum of &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; C and F &lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; E =&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; C / &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; D&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column G = &lt;SPAN style="font-size: 13.3333px;"&gt;Sum of &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border-bottom: 1px dashed red; font-size: 13.3333px;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="border-bottom: 1px dashed red; font-size: 13.3333px;"&gt;F&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column H = Column F / Column G&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176857_Captura.PNG" style="height: 201px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is possible obtain this values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adavance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Sep 2017 16:18:22 GMT</pubDate>
    <dc:creator>agarciaguillen</dc:creator>
    <dc:date>2017-09-17T16:18:22Z</dc:date>
    <item>
      <title>Qlik sense - Set Analysis - Sum ignoring one dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429861#M34302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, this weekend im working on a report to obtain % of participation of each combination of zone and type of product in all sales channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To this i need obtain the subtotal or sum all cambinations of zone and product by all sales channels and&amp;nbsp; after that divide this by sum of complete combination of channel, zone and product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15056646019949334 jive_text_macro" jivemacro_uid="_15056646019949334"&gt;
&lt;P&gt;Sum({&amp;lt;[Sales Channel]={'Channel1','Channel2','Channel3','Channel4'}&amp;gt;}[Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this expression sum the same values like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_150566458639345 jive_text_macro" jivemacro_uid="_150566458639345"&gt;
&lt;P&gt;Sum([Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if i put the word Totals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1505664657245123 jive_text_macro" jivemacro_uid="_1505664657245123"&gt;
&lt;P&gt;Sum(Totals{&amp;lt;[Sales Channel]={'Channel1','Channel2','Channel3','Channel4'}&amp;gt;}[Quantity])&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qliksense calculate the full total without discrimination of zone or product &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I upload an example to what i want to obtain.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Column D =&amp;nbsp; Sum of &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; C and F &lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; E =&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; C / &lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt; D&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column G = &lt;SPAN style="font-size: 13.3333px;"&gt;Sum of &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border-bottom: 1px dashed red; font-size: 13.3333px;"&gt;C&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; and &lt;/SPAN&gt;&lt;SPAN style="border-bottom: 1px dashed red; font-size: 13.3333px;"&gt;F&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Column H = Column F / Column G&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/176857_Captura.PNG" style="height: 201px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is possible obtain this values ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adavance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 16:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429861#M34302</guid>
      <dc:creator>agarciaguillen</dc:creator>
      <dc:date>2017-09-17T16:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense - Set Analysis - Sum ignoring one dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429862#M34303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alvaro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your case, you don't need to use Set Analysis at all. Your chart has 3 Dimensions - Channel, Zone, and Product, and you need to calculate total by Zone and Product, disregarding Channel. The syntax is simple, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( TOTAL &amp;lt;Zone, Product&amp;gt; Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to learn more about Set Analysis, AGGR, TOTAL, and other advanced techniques, I'm inviting you to listen to my lecture at the &lt;A href="https://masterssummit.com/"&gt;Masters Summit for Qlik&lt;/A&gt;, or to read my book &lt;A href="https://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=098202df27917ab9836332cf063c51f5"&gt;QlikView Your Business&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Sep 2017 19:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429862#M34303</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2017-09-17T19:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik sense - Set Analysis - Sum ignoring one dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429863#M34304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really thanks, you answer was helpful to me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 19:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-sense-Set-Analysis-Sum-ignoring-one-dimension/m-p/1429863#M34304</guid>
      <dc:creator>agarciaguillen</dc:creator>
      <dc:date>2017-09-18T19:24:55Z</dc:date>
    </item>
  </channel>
</rss>

