<?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 Dynamic Chart Expression to use Variable name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-Expression-to-use-Variable-name/m-p/337056#M124276</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;A rather strange straight table is requested with given names for rows. The expressions for the individual rows have their indvidual evaluations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an Excel sheet with the RowName, the VariableName and the Expression for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;RowName,VariableName,Expression&lt;/P&gt;&lt;P&gt;R1, V1, sum(x)&lt;/P&gt;&lt;P&gt;R2, V2, sum(y)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the Excel data and create Variables for each of the Expressions given. (e.g. V1 is shown as "sum(x)" in the variables list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I thought I would load the Row Names and Variable Names into a new table ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable: LOAD&lt;/P&gt;&lt;P&gt;RowName, VariableName&lt;/P&gt;&lt;P&gt;from "excelsheet"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the table looks like&lt;/P&gt;&lt;P&gt;RowName, VariableName&lt;/P&gt;&lt;P&gt;R1, V1&lt;/P&gt;&lt;P&gt;R2, V2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for the display create a straight table with Dimension set to RowName and for the Expression I thought I could use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evaluate(VariableName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but bad luck - function can not be used in chart expressions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would a QVPro solve such a situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2012 14:41:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-03T14:41:29Z</dc:date>
    <item>
      <title>Dynamic Chart Expression to use Variable name</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Chart-Expression-to-use-Variable-name/m-p/337056#M124276</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;A rather strange straight table is requested with given names for rows. The expressions for the individual rows have their indvidual evaluations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created an Excel sheet with the RowName, the VariableName and the Expression for each row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;RowName,VariableName,Expression&lt;/P&gt;&lt;P&gt;R1, V1, sum(x)&lt;/P&gt;&lt;P&gt;R2, V2, sum(y)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the Excel data and create Variables for each of the Expressions given. (e.g. V1 is shown as "sum(x)" in the variables list)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I thought I would load the Row Names and Variable Names into a new table ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable: LOAD&lt;/P&gt;&lt;P&gt;RowName, VariableName&lt;/P&gt;&lt;P&gt;from "excelsheet"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the table looks like&lt;/P&gt;&lt;P&gt;RowName, VariableName&lt;/P&gt;&lt;P&gt;R1, V1&lt;/P&gt;&lt;P&gt;R2, V2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and for the display create a straight table with Dimension set to RowName and for the Expression I thought I could use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; evaluate(VariableName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but bad luck - function can not be used in chart expressions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would a QVPro solve such a situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2012 14:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Chart-Expression-to-use-Variable-name/m-p/337056#M124276</guid>
      <dc:creator />
      <dc:date>2012-08-03T14:41:29Z</dc:date>
    </item>
  </channel>
</rss>

