<?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: How to get calculated dimension value in Expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472911#M485114</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for the help.Actually I have max transaction number in my calculated dimension list and based on max number I have to put its related column "Amount" whatever the amount is max or min.in expression it shows me max transaction number but its correspondant amount column shows me max value which I don't want.I want the transaction numbers and its related amount .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 04:33:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-20T04:33:33Z</dc:date>
    <item>
      <title>How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472908#M485111</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;I have calculated dimension and I gave its label name "Transaction." but When I tried to get dimension value in expression by using its label name "Transaction".I can't get the value.Please help me how can I access dimesion value in expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible please attach sample wlikview document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;saifur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 08:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472908#M485111</guid>
      <dc:creator />
      <dc:date>2013-05-19T08:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472909#M485112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried repeating your calculated dimension definition in your expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this, having a calculated dimension &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Month(Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check the dimension value in your expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(if (Month(Date) &amp;lt; 7, Sales, Budget))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 15:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472909#M485112</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-19T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472910#M485113</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;You can create a variable and pass the value of calculated dimension in that variable. In this way, you can call this variable in your calculated dimension and in your expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;1. Create a variable vName and place your calculated dimension.&lt;/P&gt;&lt;P&gt;$(vName) = Aggr(only(Name),Names)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Create a calculated dimension and place your variable inside&lt;/P&gt;&lt;P&gt;=$(vName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Create an expression and call the created variable&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Name = {$(vName) }&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Janzen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 03:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472910#M485113</guid>
      <dc:creator />
      <dc:date>2013-05-20T03:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472911#M485114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks for the help.Actually I have max transaction number in my calculated dimension list and based on max number I have to put its related column "Amount" whatever the amount is max or min.in expression it shows me max transaction number but its correspondant amount column shows me max value which I don't want.I want the transaction numbers and its related amount .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 04:33:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472911#M485114</guid>
      <dc:creator />
      <dc:date>2013-05-20T04:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472912#M485115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Hi Thanks for the help.Actually I have max transaction number in my calculated dimension list and based on max number I have to put its related column "Amount" whatever the amount is max or min.in expression it shows me max transaction number but its correspondant amount column shows me max value which I don't want.I want the transaction numbers and its related amount .&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 06:27:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472912#M485115</guid>
      <dc:creator />
      <dc:date>2013-05-20T06:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472913#M485116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of a calculated dimension, try two expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=max([Transaction Number])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= FirstSortedValue(Amount, -[Transaction Number] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assuming that your Transaction Number is a pure number, not a string.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 12:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472913#M485116</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-20T12:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472914#M485117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply.All possible expression I have already checked.I have attached the excel file where u will get two sheet.one sheet holds raw data and another holds the sample output.If possible please check.It will be very helpful if I got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;saifur&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 05:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472914#M485117</guid>
      <dc:creator />
      <dc:date>2013-05-21T05:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to get calculated dimension value in Expressions</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472915#M485118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I don't really understand your sample output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understood you want to show per ItemNumber one line with the highest Transaction number and its corresponding date and stock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your example, I see two lines for ItemNumber 110111081501110, and I don't see the highest transaction number, which as far as I've taken from your sample data, is 3675275.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you looking at a specific warehouse?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a sample application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 08:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-calculated-dimension-value-in-Expressions/m-p/472915#M485118</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-05-21T08:35:36Z</dc:date>
    </item>
  </channel>
</rss>

