<?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 How to store values in Variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-store-values-in-Variable/m-p/1175201#M21569</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;I am trying to create a Variable but could not get what Iam supposed to. Actually, I want to save sum value in the variable in order to use in calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vTest&lt;/STRONG&gt; = sum(if(COMPANYGROUPNAME = 'Industry',YEAR2_MARKET,0)); &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="color: #3366ff; font-size: 13.3333px;"&gt;YEAR2_MARKET is Decimal value. E.g 1400.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If vTest = 1400; I would like to use 1400 in my Measure expression like below measure expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(YEAR2_MARKETPER))/$(vTest)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Getting 0 values. What I am doing wrong above. I also put same varaible on Data load editor as well but no help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how do I store some value in Variable so I can call other places. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 16:37:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-06-22T16:37:16Z</dc:date>
    <item>
      <title>How to store values in Variable</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-store-values-in-Variable/m-p/1175201#M21569</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;I am trying to create a Variable but could not get what Iam supposed to. Actually, I want to save sum value in the variable in order to use in calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vTest&lt;/STRONG&gt; = sum(if(COMPANYGROUPNAME = 'Industry',YEAR2_MARKET,0)); &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="color: #3366ff; font-size: 13.3333px;"&gt;YEAR2_MARKET is Decimal value. E.g 1400.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If vTest = 1400; I would like to use 1400 in my Measure expression like below measure expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(YEAR2_MARKETPER))/$(vTest)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Result:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Getting 0 values. What I am doing wrong above. I also put same varaible on Data load editor as well but no help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me how do I store some value in Variable so I can call other places. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 16:37:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-store-values-in-Variable/m-p/1175201#M21569</guid>
      <dc:creator />
      <dc:date>2016-06-22T16:37:16Z</dc:date>
    </item>
  </channel>
</rss>

