<?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 Expression name Variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-name-Variables/m-p/1208097#M626059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have in a table i have the value of different indicators this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="189"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="125"&gt;TYPE&lt;/TD&gt;&lt;TD width="64"&gt;VALUE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;UNITS&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;UNITS_OBJECTIVES&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;COST&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;COST_OBJECTIVES&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that there may be changes so i do not want to work to change all the variable expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible in the scrip to do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if type = units_objectives then type = objective_units.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this i want to do some variables with objective_units, and if the given name changes i just have to change in the script once, reload and have everything ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pd: i have more than 4 types of indicators.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2016 12:02:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-20T12:02:30Z</dc:date>
    <item>
      <title>Expression name Variables</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-name-Variables/m-p/1208097#M626059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have in a table i have the value of different indicators this way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="189"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="125"&gt;TYPE&lt;/TD&gt;&lt;TD width="64"&gt;VALUE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;UNITS&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;UNITS_OBJECTIVES&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;COST&lt;/TD&gt;&lt;TD align="right"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;COST_OBJECTIVES&lt;/TD&gt;&lt;TD align="right"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that there may be changes so i do not want to work to change all the variable expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if it is possible in the scrip to do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if type = units_objectives then type = objective_units.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this i want to do some variables with objective_units, and if the given name changes i just have to change in the script once, reload and have everything ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pd: i have more than 4 types of indicators.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2016 12:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-name-Variables/m-p/1208097#M626059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-20T12:02:30Z</dc:date>
    </item>
  </channel>
</rss>

