<?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 definition in Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569074#M212131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I suggest you to read the doc I have written on Dynamic Tables &amp;amp; Graphes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-5733"&gt;http://community.qlik.com/docs/DOC-5733&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;It may be what you are looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jan 2014 16:39:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-25T16:39:14Z</dc:date>
    <item>
      <title>Variable definition in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569073#M212130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to create a table containing several lines and columns, and with different expressions on each line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Activity&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Development Cost&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Transportation&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;License Costs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the expression for Development Cost should be based on a variable =vDevelopment&lt;/P&gt;&lt;P&gt;The Expression for Transportation should be based on variable =vTransport&lt;/P&gt;&lt;P&gt;The Expression for "License Cost" should be calculated from =vDevelopment*2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to do that i created an inline table containing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Activity, USD, Notes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Development Cost, =vDevelopment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transportation, =vTransport&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; License Cost, =vDevelopment * 2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works if i make $()-expansion in the load script, i will get the value as when the script was loaded, but i dont manage to make it dynamical as i can use a slider to change vDevelopment and update the table directly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the variable name to be stored in the field and the expression in the chart to evaluate the variable content...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 15:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569073#M212130</guid>
      <dc:creator>daniel_wennstro</dc:creator>
      <dc:date>2014-01-25T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Variable definition in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569074#M212131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I suggest you to read the doc I have written on Dynamic Tables &amp;amp; Graphes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-5733"&gt;http://community.qlik.com/docs/DOC-5733&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;It may be what you are looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 16:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569074#M212131</guid>
      <dc:creator />
      <dc:date>2014-01-25T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable definition in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569075#M212132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Fabrice&lt;/SPAN&gt;, but i did not find what i asked for in your document..&lt;/P&gt;&lt;P&gt;What i Want is to be able to put a variable name in a table and then in the variables put in different expressions, that makes it possible to use different expressions for different records without a lot of if-statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569075#M212132</guid>
      <dc:creator>daniel_wennstro</dc:creator>
      <dc:date>2014-01-30T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Variable definition in Field</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569076#M212133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know, the $ expansion will evaluate once the content of the expression and will redirect to the appropriate one. In your case, you want for each line, redirect to the content of a different variable.&lt;/P&gt;&lt;P&gt;that is the same with Set Analysis: single evaluation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would say that it is impossible. But I hope for you that experts will say something else.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Fabrice&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 10:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-definition-in-Field/m-p/569076#M212133</guid>
      <dc:creator />
      <dc:date>2014-01-30T10:44:11Z</dc:date>
    </item>
  </channel>
</rss>

