<?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: Used variable and dimension exclude each other in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933215#M322417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try:&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;&lt;BR /&gt;&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;Sum({$&amp;lt;product_type={'additional_feature'}&amp;gt;} Price)/Count({$&amp;lt;product =,product_type={'main_feature'}&amp;gt;} feature_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2015 09:46:22 GMT</pubDate>
    <dc:creator>simenkg</dc:creator>
    <dc:date>2015-09-29T09:46:22Z</dc:date>
    <item>
      <title>Used variable and dimension exclude each other</title>
      <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933213#M322415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following issue and would appreciate any advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data model is quite complex so I tried to translate it to a more simple scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have several cars (field 'car') in my database. &lt;/P&gt;&lt;P&gt;Each car can (but does not need to) have special products (field 'product').&lt;/P&gt;&lt;P&gt;These products can be categorized; so each product is either a "main_feature" or an "additional_feature" (field 'product_type', values = main feature or additional feature). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate and display the following variable (the average money I make with additional feature for every sold main feature):&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;product_type={'additional_feature'}&amp;gt;} Price)/Count({$&amp;lt;product_type={'main_feature'}&amp;gt;} feature_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine, but I want to display the result for each additional_feature. When I select the dimension 'product', it just shows the total value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this clear? Does anyone know how I would need to modify my variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and KR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 12:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933213#M322415</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2015-09-24T12:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Used variable and dimension exclude each other</title>
      <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933214#M322416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, does nobody have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:44:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933214#M322416</guid>
      <dc:creator>nigel987</dc:creator>
      <dc:date>2015-09-29T09:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Used variable and dimension exclude each other</title>
      <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933215#M322417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try:&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;&lt;BR /&gt;&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;Sum({$&amp;lt;product_type={'additional_feature'}&amp;gt;} Price)/Count({$&amp;lt;product =,product_type={'main_feature'}&amp;gt;} feature_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:46:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933215#M322417</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2015-09-29T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Used variable and dimension exclude each other</title>
      <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933216#M322418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your requirement is not really clear. I suggest that you post a sample qvw containing representative data and your expected results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933216#M322418</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-29T09:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Used variable and dimension exclude each other</title>
      <link>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933217#M322419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to make your expressions independent from any or certain selections. This could be done with adjusted identifier and qualifier like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;STRONG&gt;1&lt;/STRONG&gt; {$&amp;lt;product_type={'additional_feature'}&amp;gt;} &lt;STRONG&gt;TOTAL&lt;/STRONG&gt; Price)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A good explanation will you find here: &lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Used-variable-and-dimension-exclude-each-other/m-p/933217#M322419</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-29T09:52:23Z</dc:date>
    </item>
  </channel>
</rss>

