<?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: Use variable within brackets in an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680703#M726646</link>
    <description>&lt;P&gt;Create your variable for X and Y. Let's call it vTest. Then your formula will be something like this:&lt;/P&gt;&lt;P&gt;=Min($(='[First Year '&amp;amp;'$(vTest)'&amp;amp;']'))&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 01:23:10 GMT</pubDate>
    <dc:creator>_ylc</dc:creator>
    <dc:date>2020-03-02T01:23:10Z</dc:date>
    <item>
      <title>Use variable within brackets in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680702#M726645</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to dynamically change text within brackets (variable name within an expression). I have a variable that a user can determine with a dropdown, and this can be either X or Y. I would like to use this value to populate the expressions below:&lt;/P&gt;&lt;P&gt;Aggr(Min({$&amp;lt;[Year] = &amp;gt;}[First Year &lt;STRONG&gt;X&lt;/STRONG&gt;]),[%ID])&lt;/P&gt;&lt;P&gt;Aggr(Min({$&amp;lt;[Year] = &amp;gt;}[First Year &lt;STRONG&gt;Y&lt;/STRONG&gt;]),[%ID])&lt;/P&gt;&lt;P&gt;I would like to replace X or Y with a variable, but am not sure about the syntax; something like "[First Year " &amp;amp; variable &amp;amp; "]" would be great.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680702#M726645</guid>
      <dc:creator>mahmad</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable within brackets in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680703#M726646</link>
      <description>&lt;P&gt;Create your variable for X and Y. Let's call it vTest. Then your formula will be something like this:&lt;/P&gt;&lt;P&gt;=Min($(='[First Year '&amp;amp;'$(vTest)'&amp;amp;']'))&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 01:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680703#M726646</guid>
      <dc:creator>_ylc</dc:creator>
      <dc:date>2020-03-02T01:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable within brackets in an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680704#M726647</link>
      <description>This worked beautifully - thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Mar 2020 01:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-within-brackets-in-an-expression/m-p/1680704#M726647</guid>
      <dc:creator>mahmad</dc:creator>
      <dc:date>2020-03-02T01:31:18Z</dc:date>
    </item>
  </channel>
</rss>

