<?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 calculated dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188007#M384140</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 have a scenario where a dimension has 4 fields (Columns), for example lets say Dimension is X and 4 fields(Columns) in&amp;nbsp; it be A, B, C, D which have some numerical values. &lt;/P&gt;&lt;P&gt;When I create a pivot table with the dimension&amp;nbsp; X and&amp;nbsp; aggregation function &lt;SPAN style="font-size: 13.3333px;"&gt;(ex: SUM)&amp;nbsp; &lt;/SPAN&gt;in the expression, the output should only show the values of A, B fields(Columns) excluding C and D fields(columns) in the dimension X.&lt;/P&gt;&lt;P&gt; How can this be achieved?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks In advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Pavan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 21:15:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-19T21:15:07Z</dc:date>
    <item>
      <title>calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188007#M384140</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 have a scenario where a dimension has 4 fields (Columns), for example lets say Dimension is X and 4 fields(Columns) in&amp;nbsp; it be A, B, C, D which have some numerical values. &lt;/P&gt;&lt;P&gt;When I create a pivot table with the dimension&amp;nbsp; X and&amp;nbsp; aggregation function &lt;SPAN style="font-size: 13.3333px;"&gt;(ex: SUM)&amp;nbsp; &lt;/SPAN&gt;in the expression, the output should only show the values of A, B fields(Columns) excluding C and D fields(columns) in the dimension X.&lt;/P&gt;&lt;P&gt; How can this be achieved?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks In advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Pavan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 21:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188007#M384140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-19T21:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188008#M384141</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;IMG alt="a+b.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/137938_a+b.png" style="height: 546px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 21:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188008#M384141</guid>
      <dc:creator>el_aprendiz111</dc:creator>
      <dc:date>2016-09-19T21:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188009#M384142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If A,B,C,D are Primary keys, you feel no difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, Pivot is considered for Grouping and Subtotals like below&lt;/P&gt;&lt;P&gt;If A distinct values, B--&amp;gt; Grouped to A value Categories and so on..., like a hierarchy.&lt;/P&gt;&lt;P&gt;So, Considering A and B categories will give you only upper level totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg: Region--&amp;gt; Country---&amp;gt;State--&amp;gt;City&lt;/P&gt;&lt;P&gt;If you leave State and City in Pivot, you can see sum to Region level and Country level only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 21:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188009#M384142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-19T21:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188010#M384143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;X&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;X = {'A', 'B'}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;X -= {'C', 'D'}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can use calculated dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(X, 'A', 'B'), X)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;If(Not Match(X, 'C', 'D'), X)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(With calculated dimension, remember to select 'Suppress When Value Is Null' on the dimensions tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;Sum(Measure)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 00:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188010#M384143</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-20T00:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculated dimension</title>
      <link>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188011#M384144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used a simple expression like If (X = 'A' or X='B', X,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 17:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/calculated-dimension/m-p/1188011#M384144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T17:05:17Z</dc:date>
    </item>
  </channel>
</rss>

