<?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: Variable as expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478327#M551788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the whole thing again in a different QVW and there it also works fine.&lt;/P&gt;&lt;P&gt;No idea why it doesn't work in the original file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks that you checked it for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2013 15:03:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-22T15:03:51Z</dc:date>
    <item>
      <title>Variable as expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478325#M551786</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'm trying to use a variable as an expression.&lt;/P&gt;&lt;P&gt;It works but only half. Can anybody shed some light please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a inputbox with predefined values only, being 'EUR' and 'Local'.&lt;/P&gt;&lt;P&gt;Whatever is selected in the inputbox, goes to a variable &lt;EM&gt;vCurrency.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I use the variable in another variable &lt;EM&gt;vCurrAmount.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;In that variable I define the following:&lt;/P&gt;&lt;P&gt;if(vCurrency = 'EUR', [Amount EUR Curr], [Amount Transaction Curr])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my chart, I use the variable vCurrAmount as expression.&lt;/P&gt;&lt;P&gt;sum($(vCurrAmount))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine if in the inputbox the option 'EUR' is selected.&lt;/P&gt;&lt;P&gt;If I select the option 'Local', the expression doesn't work anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried a lot of different thing with $ signs and = marks.&lt;/P&gt;&lt;P&gt;Nothing seems to give me the correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;Evelien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 14:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478325#M551786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-22T14:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478326#M551787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you currently have works fine for me (see attached).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are seeing something different, you will need to post a .qvw with that behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 14:28:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478326#M551787</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-11-22T14:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variable as expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478327#M551788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nicole,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the whole thing again in a different QVW and there it also works fine.&lt;/P&gt;&lt;P&gt;No idea why it doesn't work in the original file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks that you checked it for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2013 15:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-as-expression/m-p/478327#M551788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-22T15:03:51Z</dc:date>
    </item>
  </channel>
</rss>

