<?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: Referring to Calculated Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549572#M1148051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been struggling with calculating the share % on a calculated dimension for a while myself, and just came up with this.&amp;nbsp; It seems to work so far in my pivot table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(NUMBER)/ bottom(rangesum(above(sum(NUMBER),0,NoOfRows())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 04:08:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-20T04:08:20Z</dc:date>
    <item>
      <title>Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549569#M1148048</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;First post &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need help to improve an expression of mine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have at pivot table with one horizontal and one veritical dimension, both calculated (class intervals). Are there any way to reference the column/column value in expressions e.g.&amp;nbsp; in an IF or TOTAL modifier statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The wanted result should be something like SUM(NUMBER)/SUM (TOTAL &amp;lt;"Calculated Dimesion"&amp;gt; NUMBER) or an equivalent SUM(IF).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 09:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549569#M1148048</guid>
      <dc:creator />
      <dc:date>2013-07-08T09:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549570#M1148049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't use calculated dimensions as field name when using the total modifier. You can only use real field names. In an if statement you can use the expression of the calculated dimension. You might want to put that expression in a variable in that case to make reuse easier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 09:40:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549570#M1148049</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-07-08T09:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549571#M1148050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is the calculated dimension are a class interval so the expression result would be 500 &amp;lt;= x &amp;lt; 550 which are not direct usable in an IF statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also gets compared to all values in the SUM statement meaning that null or missing values in the data makes the expression returns a NULL.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 09:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549571#M1148050</guid>
      <dc:creator />
      <dc:date>2013-07-08T09:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549572#M1148051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been struggling with calculating the share % on a calculated dimension for a while myself, and just came up with this.&amp;nbsp; It seems to work so far in my pivot table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(NUMBER)/ bottom(rangesum(above(sum(NUMBER),0,NoOfRows())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works for you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 04:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549572#M1148051</guid>
      <dc:creator />
      <dc:date>2013-09-20T04:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549573#M1148052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying in an old discussion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work entirely correct but you got me on the right track. You divide by the sum of rows i was looking for columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fixed it with following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=SUM(NUMBER)/RangeSUM(First(TOTAL SUM(NUMBER),1,NoOfColumns()))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 09:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549573#M1148052</guid>
      <dc:creator />
      <dc:date>2013-09-20T09:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Referring to Calculated Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549574#M1148053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool! ☺&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 13:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Referring-to-Calculated-Dimension/m-p/549574#M1148053</guid>
      <dc:creator />
      <dc:date>2013-09-20T13:30:15Z</dc:date>
    </item>
  </channel>
</rss>

