<?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 Excluding dimensions but NOT selections in a chart expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240446#M90977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This might be a very basic problem, but I've found no way of working around it yet.&lt;/P&gt;&lt;P&gt;For four different lengths of treatment (for a disease), '1 to 7 days', '8 - 14 days', '15 - 21 days', '22 - 28 days', I have recorded the numbers of males and females that were involved in each. I also have recorded for each participant an age segmentation, eg. '15 - 20' or '20 - 25'.&lt;/P&gt;&lt;P&gt;What I would like to show is a bar graph displaying, for males AND females (two separate series) the %ages, out of the selection, that occupy each age segmentation. The selection, in this case, is the length of treatment as described above.&lt;/P&gt;&lt;P&gt;So essentially I am looking to make a bar graph, showing %ages against age segmentation, with two series, male and female, with a list box containing each length of treatment. When each length of treatment is selected/deselected accordingly, the %ages alter.&lt;/P&gt;&lt;P&gt;The only way I can see of doing this (with my limited knowledge) is to involve, in each expression, a metric calculating the total number of participants that includes the selection but EXCLUDES the dimension, since I am calculating the %age out of the count over all the age brackets.&lt;/P&gt;&lt;P&gt;I know that you can exclude the current selection with {1&amp;lt;, and also exclude BOTH dimension and selection, but I can't find a way of excluding the dimension from the metric but including the current selection. Is this impossible, or is there a simple (or not simple) way of doing this?&lt;/P&gt;&lt;P&gt;Thanks to anyone who can help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2010 14:23:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-02-17T14:23:23Z</dc:date>
    <item>
      <title>Excluding dimensions but NOT selections in a chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240446#M90977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This might be a very basic problem, but I've found no way of working around it yet.&lt;/P&gt;&lt;P&gt;For four different lengths of treatment (for a disease), '1 to 7 days', '8 - 14 days', '15 - 21 days', '22 - 28 days', I have recorded the numbers of males and females that were involved in each. I also have recorded for each participant an age segmentation, eg. '15 - 20' or '20 - 25'.&lt;/P&gt;&lt;P&gt;What I would like to show is a bar graph displaying, for males AND females (two separate series) the %ages, out of the selection, that occupy each age segmentation. The selection, in this case, is the length of treatment as described above.&lt;/P&gt;&lt;P&gt;So essentially I am looking to make a bar graph, showing %ages against age segmentation, with two series, male and female, with a list box containing each length of treatment. When each length of treatment is selected/deselected accordingly, the %ages alter.&lt;/P&gt;&lt;P&gt;The only way I can see of doing this (with my limited knowledge) is to involve, in each expression, a metric calculating the total number of participants that includes the selection but EXCLUDES the dimension, since I am calculating the %age out of the count over all the age brackets.&lt;/P&gt;&lt;P&gt;I know that you can exclude the current selection with {1&amp;lt;, and also exclude BOTH dimension and selection, but I can't find a way of excluding the dimension from the metric but including the current selection. Is this impossible, or is there a simple (or not simple) way of doing this?&lt;/P&gt;&lt;P&gt;Thanks to anyone who can help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 14:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240446#M90977</guid>
      <dc:creator />
      <dc:date>2010-02-17T14:23:23Z</dc:date>
    </item>
    <item>
      <title>Excluding dimensions but NOT selections in a chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240447#M90978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can exclude dimensions in a aggregate function using the TOTAL modifier.&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If you want to exclude most dimensions, but include one, you can use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(TOTAL &amp;lt;Respect&amp;gt; Sales)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Both of those functions will respect the selections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 15:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240447#M90978</guid>
      <dc:creator />
      <dc:date>2010-02-17T15:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding dimensions but NOT selections in a chart expression</title>
      <link>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240448#M90979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using this:&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;dimension_name={'dimension_value'}&amp;gt;} metric)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 16:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Excluding-dimensions-but-NOT-selections-in-a-chart-expression/m-p/240448#M90979</guid>
      <dc:creator />
      <dc:date>2013-07-24T16:41:53Z</dc:date>
    </item>
  </channel>
</rss>

