<?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 Data restriction even on non-related fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371852#M138243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that this behavior is because there is no relation between Month and DimMonth precisely. When you are selecting DimMonth, there is no selection about Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were using the same expression but with DimMonth instead Month, I think your formula would be right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;sum({$ &amp;lt;DimMonth=P(DimMonth), Group=&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;I`m not sure about that but may be is the answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2012 18:04:35 GMT</pubDate>
    <dc:creator>chematos</dc:creator>
    <dc:date>2012-05-28T18:04:35Z</dc:date>
    <item>
      <title>Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371851#M138242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a behavior I don't understand when QV is calculating an expression with a separate dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Month, Group, Elem, Value&lt;/P&gt;&lt;P&gt;1, AAA, 1, 10001&lt;/P&gt;&lt;P&gt;1, AAA, 2, 10002&lt;/P&gt;&lt;P&gt;1, AAA, 3, 10004&lt;/P&gt;&lt;P&gt;2, AAA, 1, 10000001&lt;/P&gt;&lt;P&gt;2, AAA, 2, 10000002&lt;/P&gt;&lt;P&gt;2, AAA, 3, 10000004&lt;/P&gt;&lt;P&gt;3, AAA, 1, 10000000001&lt;/P&gt;&lt;P&gt;3, AAA, 2, 10000000002&lt;/P&gt;&lt;P&gt;3, AAA, 3, 10000000004&lt;/P&gt;&lt;P&gt;1, BBB, 3, 10008&lt;/P&gt;&lt;P&gt;1, BBB, 4, 10016&lt;/P&gt;&lt;P&gt;1, BBB, 5, 10032&lt;/P&gt;&lt;P&gt;2, BBB, 3, 10000008&lt;/P&gt;&lt;P&gt;2, BBB, 4, 10000016&lt;/P&gt;&lt;P&gt;2, BBB, 5, 10000032&lt;/P&gt;&lt;P&gt;3, BBB, 3, 10000000008&lt;/P&gt;&lt;P&gt;3, BBB, 4, 10000000016&lt;/P&gt;&lt;P&gt;3, BBB, 5, 10000000032&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DimMonth:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT Month AS DimMonth&lt;/P&gt;&lt;P&gt;RESIDENT Data&lt;/P&gt;&lt;P&gt;ORDER BY Month ASC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2012-05-28_170624.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/14803_2012-05-28_170624.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, there is no relation between the "Data" table and the "DimMonth" table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a straight table, I use the following expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;sum({$ &amp;lt;Month=P(DimMonth), Group=&amp;gt;} Value)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to have all the values regarding the selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;num(DimMonth)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;to know the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can calculate an "average value" by dividing the 1st by the 2nd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should return the same graph if I make a selection on "Group" or not, because the first expression contains a set analysis that says "override the selection on "Month" dimension" and the second deals with dimensions that are not linked to the "Group" field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, when I make a selection on "Group", I don't have all the values I want in the "num(DimMonth)" expression: it's empty in some lines, even it's there is no relation with the field where there is a selection...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2012-05-28_171940.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14804_2012-05-28_171940.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can use the following formula to have the correct value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;num(only({$ &amp;lt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;Group=&amp;gt;&lt;/SPAN&gt;} DimMonth))&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I want to understand &lt;STRONG&gt;WHY &lt;/STRONG&gt;there is this behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 15:20:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371851#M138242</guid>
      <dc:creator />
      <dc:date>2012-05-28T15:20:50Z</dc:date>
    </item>
    <item>
      <title>Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371852#M138243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that this behavior is because there is no relation between Month and DimMonth precisely. When you are selecting DimMonth, there is no selection about Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were using the same expression but with DimMonth instead Month, I think your formula would be right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;sum({$ &amp;lt;DimMonth=P(DimMonth), Group=&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;I`m not sure about that but may be is the answer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 18:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371852#M138243</guid>
      <dc:creator>chematos</dc:creator>
      <dc:date>2012-05-28T18:04:35Z</dc:date>
    </item>
    <item>
      <title>Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371853#M138244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jose is right. You need to use Concat() here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;Month={$(=Concat('"' &amp;amp;amp; DimMonth &amp;amp;amp; '"',','))}, Group=&amp;gt;} Value)&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;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 18:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371853#M138244</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-28T18:27:14Z</dc:date>
    </item>
    <item>
      <title>Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371854#M138245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PS - ignore the 'amp'. That's my iPhone misbehaving!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 18:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371854#M138245</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-28T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371855#M138246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are selecting DimMonth, there is no selection about Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I want: no direct selection, but the link is done in the set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;sum({$ &amp;lt;DimMonth=P(DimMonth), Group=&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what purpose ?!?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;DimMonth=P(DimMonth) &lt;/SPAN&gt;--&amp;gt; this is totally useless, isn't it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jose is right. You need to use Concat() here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I don't!&lt;/P&gt;&lt;P&gt;I don't have any problem with the "sum" expression with the set analysis, I just don't understand why the "num(DimMonth)" needs a set analysis ("num(only({$ &amp;lt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;Group=&amp;gt;&lt;/SPAN&gt;} DimMonth))") whereas there is no link between the selection "Month" and "DimMonth".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(please look at the screenshots)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 18:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371855#M138246</guid>
      <dc:creator />
      <dc:date>2012-05-28T18:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371856#M138247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nicolas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed reply to this...if you have worked it out already then well done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I first looked at this and made my comment above I was on my phone on a train and couldn't open the qvw you helpfully posted.&amp;nbsp; Now I have had a chance to look at it and believe I can explain this for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, your quote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;I know I can use the following formula to have the correct value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote" style="font-size: 12px; margin: 10px 20px; padding-left: 10px; quotes: none; overflow: auto; color: #636363; font-family: Arial;"&gt;&lt;P&gt;num(only({$ &amp;lt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;Group=&amp;gt;&lt;/SPAN&gt;} DimMonth))&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't belive this should work either (and in my tests on your app, it didn't - see attached) for the same reason as "Values/Num(DimMonth)" doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for this behaviour is that although there is no association between Group and DimMonth, you are forcing one by the use of Elem in your chart dimensions.&amp;nbsp; there is an association between Elem and Group, and by using DimMonth in an expression you are forcing an association between DimMonth and Elem.&amp;nbsp; Obviously, there isn't one, so when you select a Group value that changes the available Values, you get nothing.&amp;nbsp; If you select certain Month values you will see the same behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis allows you to override &lt;STRONG&gt;selections&lt;/STRONG&gt;; it doesn't override chart dimension values.&amp;nbsp; For this, you need to use the &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; qualifier.&amp;nbsp; So, the correct expression for what you need is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Values / num(only(TOTAL DimMonth))&lt;/EM&gt;&lt;/STRONG&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;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 08:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371856#M138247</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-07T08:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data restriction even on non-related fields</title>
      <link>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371857#M138248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;Thanks to your explaination, I now understand a little better why there is a "link" whereas there is no link.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why I still don't understand is why for the "sum({$ &amp;lt;Month=P(DimMonth), Group=&amp;gt;} Value)" expression, the restriction is not apllied, but on "only({$ &amp;lt;Month=P(DimMonth), Group=&amp;gt;} distinct DimMonth)" it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only({$ &amp;lt;Month=P(DimMonth), Group=&amp;gt;} distinct Month) --&amp;gt; no restriction&lt;/P&gt;&lt;P&gt;only({$ &amp;lt;Month=P(DimMonth), Group=&amp;gt;} distinct DimMonth) --&amp;gt; restriction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2012-06-07_105436.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15544_2012-06-07_105436.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rule is: there is a real relation between "Month", "Elem" and "Group", so when I modify the set analysis on 1 of those dimension (if they are not used as dimension in the chart), the set analysis is applied.&lt;/P&gt;&lt;P&gt;There is no relation between "DimMonth", "Elem" and "Group", so when I modify the set analysis, it does nothing for the expression that uses "DimMonth".&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;I don't really get the order of the tests made by QlikView.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;if (link between field in expression and field in dimension)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. look at the set analysis in the expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. make the calulation for each values&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. display all values in the dimension that have a value calculated in step "2"&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;} else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. don't look the set analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. list every values of possible for the dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. then, for each of these values, make the calculation of the expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-family: 'Lucida Grande', Arial, Helvetica, sans-serif;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes it's the dimension that is firstly checked, sometimes it's the expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt; &lt;STRONG&gt;&lt;EM&gt;Values / num(only(TOTAL DimMonth))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Your solution with the "total" is good...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a tendency to forget this keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 09:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-restriction-even-on-non-related-fields/m-p/371857#M138248</guid>
      <dc:creator />
      <dc:date>2012-06-07T09:06:45Z</dc:date>
    </item>
  </channel>
</rss>

