<?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: SIMPLE (i guess) limiting selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389951#M145513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;EM&gt;TOTAL&lt;/EM&gt; keyword only ignores the listed fields in your dimensions, not in any selections that are external to your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, use &lt;EM&gt;ALL&lt;/EM&gt; if you want to ignore all reductions (both selections and dimension values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use set analysis to get a mix of allowed/ignored selections but observe possible associative effects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(ALL Sales_QTY)&lt;/EM&gt; is the same as &lt;EM&gt;sum({1} TOTAL Sales_QTY)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for set analysis in QV Desktop help. There are some nice examples and you'll have to understand the syntax anyway if you want this to work in your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2012 11:46:53 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2012-11-29T11:46:53Z</dc:date>
    <item>
      <title>SIMPLE (i guess) limiting selections</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389950#M145512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear QV-Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have loaded market information (market shares by model and brand) ina nice flat file.&lt;/P&gt;&lt;P&gt;Basically the issue is that i wan to CALCULATE the share by dividing the model sales to the TTL market.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i select the market, The year etc and then i create a simple table.&lt;/P&gt;&lt;P&gt;At the moment i used the TOTAL &amp;lt;include&amp;gt; command in the sum inorder to ignore some selections. AND IT WORKS.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when i want to see the entire market i see all the brands and the correct market share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOW THE ISSUE:&lt;/P&gt;&lt;P&gt;This market share changes when i only select some brands but in fact the market share should stay the same:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jiveImage" src="https://community.qlik.com/" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To calculate the share i use: sum(Sales_QTY) / sum(TOTAL &amp;lt;CY,CM,Region,Type&amp;gt; Sales_QTY)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there is another way using sum(${.... but i dont know the sytax for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Seb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 11:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389950#M145512</guid>
      <dc:creator />
      <dc:date>2012-11-29T11:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE (i guess) limiting selections</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389951#M145513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The &lt;EM&gt;TOTAL&lt;/EM&gt; keyword only ignores the listed fields in your dimensions, not in any selections that are external to your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, use &lt;EM&gt;ALL&lt;/EM&gt; if you want to ignore all reductions (both selections and dimension values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use set analysis to get a mix of allowed/ignored selections but observe possible associative effects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum(ALL Sales_QTY)&lt;/EM&gt; is the same as &lt;EM&gt;sum({1} TOTAL Sales_QTY)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for set analysis in QV Desktop help. There are some nice examples and you'll have to understand the syntax anyway if you want this to work in your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 11:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389951#M145513</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2012-11-29T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: SIMPLE (i guess) limiting selections</title>
      <link>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389952#M145514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay i can understadn that you are annoyed by all thenewbee's but its simply thetruth &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your ALL command butitstill does not work - i need to limit.&lt;/P&gt;&lt;P&gt;The Market share of a brand for one month should NOT change wheniselect 1,2 or 5 brands - they always have thesame market share - this i cannot achieve. the 'ALL' command just takes all data - thats not workable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways - thanx a lot&lt;/P&gt;&lt;P&gt;Seb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2012 17:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SIMPLE-i-guess-limiting-selections/m-p/389952#M145514</guid>
      <dc:creator />
      <dc:date>2012-11-29T17:38:28Z</dc:date>
    </item>
  </channel>
</rss>

