<?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 Set Analysis : avoiding specific dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215328#M68800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm...&lt;/P&gt;&lt;P&gt;Good news : it works ! Thank you !&lt;/P&gt;&lt;P&gt;Bad news : I don't understand what "Total &amp;lt;field&amp;gt;" does &lt;B&gt;exactly&lt;/B&gt;. Could you explain me how this key word works ?&lt;/P&gt;&lt;P&gt;I've read a lot on the "set analysis" in the QV manual, but the key word "total" is not explained with it's parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume it's like a "group by" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 18:42:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-01-18T18:42:50Z</dc:date>
    <item>
      <title>Set Analysis : avoiding specific dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215326#M68798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again !&lt;/P&gt;&lt;P&gt;I have a question about set analysis.&lt;/P&gt;&lt;P&gt;Here is a simple project :&lt;/P&gt;&lt;P&gt;[CODE]&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt; Continent, Country, City, Sales, Year&lt;BR /&gt; America, USA, New York, 100, 2009&lt;BR /&gt; America, USA, New York, 10, 2010&lt;BR /&gt; America, USA, Los Angeles, 80, 2009&lt;BR /&gt; America, Canada, Toronto, 20, 2009&lt;BR /&gt; Europe, France, Paris, 25, 2009&lt;BR /&gt; Europe, France, Lyon, 15, 2009&lt;BR /&gt; Europe, UK, London, 25, 2009&lt;BR /&gt; Asia, Japan, Tokyo, 20, 2009&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;[/CODE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a selection on the "Year", and cross table that says :&lt;BR /&gt;- the sum of sales by city --&amp;gt; =sum({$} Sales)&lt;BR /&gt;- the sum of the sales by country --&amp;gt; &lt;B&gt;???&lt;/B&gt;&lt;BR /&gt;- the market share --&amp;gt; =[SUM / City] * 100 / [SUM / Country]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the set analysis, I understand that :&lt;BR /&gt;- "&lt;B&gt;$&lt;/B&gt;" filters with the current dimensions AND the current selection&lt;BR /&gt;- "&lt;B&gt;1&lt;/B&gt;" filters with the current dimensions but NOT the current selection&lt;BR /&gt;- "&lt;B&gt;$&amp;lt;Year=&amp;gt;&lt;/B&gt;" filters with the current dimensions AND the current selection, but NOT the "Year" selection.&lt;BR /&gt;- "&lt;B&gt;1 ... total&lt;/B&gt;" filters without the dimensions and without the selection&lt;/P&gt;&lt;P&gt;I can avoid 1 or many selection (with "&lt;B&gt;{$&amp;lt;[Year]=&amp;gt;}&lt;/B&gt;"). I can consider a selection (with "&lt;B&gt;{1&amp;lt;[Year]=P({$} [Year])&amp;gt;}&lt;/B&gt;"). I can avoid all dimensions (with "&lt;B&gt;{$} total&lt;/B&gt;").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I avoid / consider a specific dimension ? (the "sum of the sales by country" in my exemple wants to filter by the dimensions, except the "City" one)&lt;/P&gt;&lt;P&gt;I dont want to pre-calculate the "sum by country" in my script, because in my real case, it adds circle references.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:04:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215326#M68798</guid>
      <dc:creator />
      <dc:date>2010-01-18T18:04:27Z</dc:date>
    </item>
    <item>
      <title>Set Analysis : avoiding specific dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215327#M68799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Sales by Country, try (you don't need {$}, since that is the default):&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(Total &amp;lt;Country&amp;gt; Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;EDIT: I attached a file with the expression for Total by Country. I didn't look at the third expression, but since that it based on the other two, I figured that would work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215327#M68799</guid>
      <dc:creator />
      <dc:date>2010-01-18T18:27:44Z</dc:date>
    </item>
    <item>
      <title>Set Analysis : avoiding specific dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215328#M68800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmm...&lt;/P&gt;&lt;P&gt;Good news : it works ! Thank you !&lt;/P&gt;&lt;P&gt;Bad news : I don't understand what "Total &amp;lt;field&amp;gt;" does &lt;B&gt;exactly&lt;/B&gt;. Could you explain me how this key word works ?&lt;/P&gt;&lt;P&gt;I've read a lot on the "set analysis" in the QV manual, but the key word "total" is not explained with it's parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume it's like a "group by" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215328#M68800</guid>
      <dc:creator />
      <dc:date>2010-01-18T18:42:50Z</dc:date>
    </item>
    <item>
      <title>Set Analysis : avoiding specific dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215329#M68801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually got that syntax on this forum. My understanding is it totals by that dimension. I think "like a group by" is accurate. You can use multiple dimensions separated by a comma.&lt;/P&gt;&lt;P&gt;From what I was told, the TOTAL &amp;lt;Dimension&amp;gt; is not Set Analysis. Look in the Reference Manual at the introduction to the aggregate functions. The syntax is in there on the tool tip when you are entering the expression. I don't remember if there is much of an explanation in the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 18:51:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-avoiding-specific-dimension/m-p/215329#M68801</guid>
      <dc:creator />
      <dc:date>2010-01-18T18:51:02Z</dc:date>
    </item>
  </channel>
</rss>

