<?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: Is it possible to re-use a measure in the expression for another measure? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922901#M12740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhihong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this time it remains on our roadmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 14:42:19 GMT</pubDate>
    <dc:creator>Josh_Good</dc:creator>
    <dc:date>2016-03-03T14:42:19Z</dc:date>
    <item>
      <title>Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922896#M12735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps I am missing something obvious, but I am trying to do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I define a measure named [Measure A].&amp;nbsp; This works fine and I can display it in a chart, table, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I would now like to define a second measure named [Measure B] which would be [Measure A] divided by 1,000 (trivial example).&amp;nbsp; I have tried various syntaxes, but none of them work.&amp;nbsp; QlikSense does not complain but always returns a "-" where Measure B should be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this functionality not supported?&amp;nbsp; I am using Qlik Sense Desktop 2.01&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 19:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922896#M12735</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2015-07-30T19:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922897#M12736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes that can be achieved in Qlik Sense but it isn't directly supported as you describe (yet).&amp;nbsp; What you need to do is load the expression in as variables.&amp;nbsp; You can type this in directly in the Data Load editor but I find it much easier to just create a data set (e.g. Excel spreadsheet or database table) that contain the expression information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Data Load Editor you can use a script like the one below to load the expression as variables into Qlik Sense.&amp;nbsp; Then when you create the measures in Qlik Sense use the 'dollar sign expansion' format to tell Qlik Sense to evaluate the text as an expression.&amp;nbsp; For example if the variable called:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vSales&lt;/P&gt;&lt;P&gt;is set to be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;then the expression used for the measure would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; $(vSales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached an excel sheet with some epression in it an a sample QVF to help illustrate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VariablesTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VariableName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VariableValue&lt;/P&gt;&lt;P&gt;FROM [lib://Desktop/Expression Sample.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//* Set Equation variables&lt;/P&gt;&lt;P&gt;//* The following loop allowing for loading numerous variables dynamically,&lt;/P&gt;&lt;P&gt;//* without having to call them by name.&lt;/P&gt;&lt;P&gt;for i=0 to noofrows('VariablesTable')-1&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET var_name= peek('VariableName',i,'VariablesTable');&lt;/P&gt;&lt;P&gt;&amp;nbsp; LET $(var_name) = peek('VariableValue',i,'VariablesTable');&lt;/P&gt;&lt;P&gt;&amp;nbsp; TRACE Load Variable: $(var_name) = $($(var_name));&lt;/P&gt;&lt;P&gt;next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table VariablesTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 21:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922897#M12736</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-07-30T21:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922898#M12737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that makes sense and I've used the approach in QlikView documents before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a good feature to add to Qlik Sense, allowing further for easy reuse of metrics and dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 22:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922898#M12737</guid>
      <dc:creator>kevinpintokpa</dc:creator>
      <dc:date>2015-07-30T22:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922899#M12738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fully agree.&amp;nbsp; It is on our roadmap as an improvement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS please close this discussion if appropriate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 23:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922899#M12738</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2015-07-30T23:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922900#M12739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Josh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an update on this? &lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;Zhihong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922900#M12739</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-03T14:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922901#M12740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhihong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this time it remains on our roadmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Josh&lt;/P&gt;&lt;P&gt;Qlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 14:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922901#M12740</guid>
      <dc:creator>Josh_Good</dc:creator>
      <dc:date>2016-03-03T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922902#M12741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;Can you please send one excel with some dummy entries(max 5 entries) in it? Excel should have 2 sheets; one is Input_data, which u feed to QlikView and second sheet is Output_data, which shows the output. Please share it here. I hope to give you another solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 05:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922902#M12741</guid>
      <dc:creator>joydipp1988</dc:creator>
      <dc:date>2016-03-04T05:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922903#M12742</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;Is there any news on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible in Version 3.0 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/922903#M12742</guid>
      <dc:creator />
      <dc:date>2016-09-13T12:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to re-use a measure in the expression for another measure?</title>
      <link>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/1658026#M49270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there any news on this?&lt;/P&gt;&lt;P&gt;Today is 2019 dec 16!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Genni&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 12:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Is-it-possible-to-re-use-a-measure-in-the-expression-for-another/m-p/1658026#M49270</guid>
      <dc:creator>genissarettic</dc:creator>
      <dc:date>2019-12-16T12:51:33Z</dc:date>
    </item>
  </channel>
</rss>

