<?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 Filtering on a calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988946#M337111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to see if someone can help understand how filtering on a calculated dimension works. Right now I have 3 fields: Attr1, Attr2, and Attr3. I want to create a filter that is 1 when all three meet a certain criteria, and 0 when not (SEE ATTACHMENT). Hence I create&amp;nbsp; a listbox whose expression is =if(Attr1='Y' or Attr2='T' or Attr2='V' or Attr3='3',1,0). However, when I click "1", no observations leave the analysis. There are clearly cases where this condition does not hold (observations 13,14,16,17,19,20), Even stranger, when I create a chart with dimension as that expression and count(Obs), the number comes out right. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 21:51:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-12T21:51:39Z</dc:date>
    <item>
      <title>Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988946#M337111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking to see if someone can help understand how filtering on a calculated dimension works. Right now I have 3 fields: Attr1, Attr2, and Attr3. I want to create a filter that is 1 when all three meet a certain criteria, and 0 when not (SEE ATTACHMENT). Hence I create&amp;nbsp; a listbox whose expression is =if(Attr1='Y' or Attr2='T' or Attr2='V' or Attr3='3',1,0). However, when I click "1", no observations leave the analysis. There are clearly cases where this condition does not hold (observations 13,14,16,17,19,20), Even stranger, when I create a chart with dimension as that expression and count(Obs), the number comes out right. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 21:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988946#M337111</guid>
      <dc:creator />
      <dc:date>2015-11-12T21:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988947#M337112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesse,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some overlap in the conditions of your calculated dimension e.g. in come cases the selections could return both a 1 or 0 because of the relationships between Attr1, Attr2 and Attr3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to review this calculated expression and replace OR with AND eg:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attr1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='Y' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attr2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='T' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attr2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='V') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Attr3&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;='3',1,0) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 22:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988947#M337112</guid>
      <dc:creator />
      <dc:date>2015-11-12T22:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988948#M337113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are selecting in a chart or list box with the calculated dimension, you are not selecting the records (primary key obs), but the field values of the fields used in the calculated dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, when you filtering on zero, you will see it work as expected. If you select 1, you would expect to see this table:&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Obs&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Attr1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Attr2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Attr3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;V&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;V&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;V&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;9&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;11&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Y&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;T&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;12&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;V&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;15&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;19&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;N&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see, all Attr fields show all possible field values. Thats's what is being selected when selecting 1 in your list box, all values in Attr1, all values in Attr2, all values in Attr3. Unfortunately, as you can see, this won't filter off the zeor flagged values anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do so, you need to let QV filter on a primary key. Use this as calculated dimension in your chart:&lt;/P&gt;&lt;P&gt;=aggr( if(Attr1='Y' or Attr2='T' or Attr2='V' or Attr3='3',1,0),Obs)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 23:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988948#M337113</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-12T23:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988949#M337114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I understand your answer, what you need to do is create a temporary table where, at the obs level, we calculate the condition, then filter on that temp table. I think this makes sense. It's still a little weird to me that the above does not work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 00:06:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988949#M337114</guid>
      <dc:creator />
      <dc:date>2015-11-13T00:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988950#M337115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I think Stefan's explanation put it well. The calculated dimension is a transient and exists only when the chart is calculated, so there is no way to store a selection on the calculated dimension, nor any way to communicate that selection to all the other sheet objects. It is the same with expressions. Either way, the selection is made in the underlying dimensions in the data model. That way the selection persists and applies to all objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could define a derived field in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(Attr1='Y' or Attr2='T' or Attr2='V' or Attr3='3',1,0) As Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use Flag as the dimension and make selections...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 05:44:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988950#M337115</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-11-13T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988951#M337116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree that selecting on calculated dimensions (and similar apply to multiple dimensions in a chart) might not be intuitive, since people tend to assume they made selections on the specific combination of dimension values (if they assume selections on dimension value at all - many tend to assume they've selected expression values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as discussed above, that's not the case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Jonathan showed, creating a flag in the data model would be the best solution, but that's not always possible, when you want dynamic dimensions. &lt;/P&gt;&lt;P&gt;And I also understood your OP, that you are trying to understand the inner logic of the selections, not to look essentially for a workaround.&lt;/P&gt;&lt;P&gt;If this is true, is it now somewhat clear how the selections are made on calculated dimensions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 13:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988951#M337116</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-13T13:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988952#M337117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a similar issue which will not work.&lt;/P&gt;&lt;P&gt;I have a straigth table with a calculatet expression.&lt;/P&gt;&lt;P&gt;The same expression I will use as a calculatet dimension.&lt;/P&gt;&lt;P&gt;Expression: =sum(BDG)/count(DISTINCT %TypID)/count(DISTINCT %LProduktID)&lt;/P&gt;&lt;P&gt;Dimension: &lt;/P&gt;&lt;P&gt;=aggr(if((sum(BDG)/count(DISTINCT %TypID)/count(DISTINCT %LProduktID))&amp;gt;vPlanBDG, '▲',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if((sum(BDG)/count(DISTINCT %TypID)/count(DISTINCT %LProduktID)) &amp;lt;vPlanBDG, '▼','►')),Produkt_Name,Typ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vPlanBDG is just a number, as an example 104. So it puts the right Symbols if above under or equal, I tried it also with the number as a result which would be:&lt;/P&gt;&lt;P&gt;=aggr(sum(BDG)/count(DISTINCT %TypID)/count(DISTINCT %LProduktID),Produkt_Name,Typ)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Problem is, everything looks fine, but the filter, I mean choosing the dimension does not exclude all lets say above value, neither if I choose the version whith numbers....&lt;/P&gt;&lt;P&gt;Moreover, if I habe choosen the dimension, and qlik it again to get back, it does not work either...&lt;/P&gt;&lt;P&gt;I built a reset button, but this is not user friendly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea or you Need some more inputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by the way, the same table, but just with one more dimension, in this case Produkt_Name, works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988952#M337117</guid>
      <dc:creator />
      <dc:date>2017-03-21T09:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988953#M337118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using a prímary key, e.g. create a key made of Produkt_Name and Typ in your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Produkt_Name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Typ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutonumberHash256(Produkt_Name, Typ) as ProduktNameTypKey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this key in your calculated dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988953#M337118</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-21T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988954#M337119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your quick Reply.&lt;/P&gt;&lt;P&gt;Produkt_Name and Typ are in 2 different Dimensions in my Datamodell, so I think this would not work.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Datamodell.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/156948_Datamodell.png" style="width: 620px; height: 389px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 09:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988954#M337119</guid>
      <dc:creator />
      <dc:date>2017-03-21T09:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988955#M337120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be a combined key of %ProduktID and %TypID in your Fakten table, though not 100% sure (is Produkt_Name showing a 1:1 relation to %ProduktID?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988955#M337120</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-21T10:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on a calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988956#M337121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Produkt_Name is linke trough a linked table, which actually is a relation between which Produkt is sold by GA. In the fact Table is the combined %LProduktID which consist of the concatenated Key, like GA 1, Produkt 1, is 1_1 and so on. Typ, just describes what Kind of business, in other words, new, existing and leaving (Costumer) Produkt. I do try to combine those keys in the fact table and then use it as a dimension...&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 10:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-on-a-calculated-dimension/m-p/988956#M337121</guid>
      <dc:creator />
      <dc:date>2017-03-21T10:52:29Z</dc:date>
    </item>
  </channel>
</rss>

