<?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: Making variable value execute as an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647146#M237062</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you answered your own question in your posted example. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=only({$&amp;lt;[KPI Rank] = {'1'} &amp;gt;} MetText))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd prefer only() over concat() in this example unless you are actually trying concat multiple values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 22:33:16 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-08-25T22:33:16Z</dc:date>
    <item>
      <title>Making variable value execute as an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647145#M237061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I am trying to create and execute a dynamic expression for each KPI based on the hospital department a user selects. I was able to create an expression dynamically but could not get it to execute.&lt;/P&gt;&lt;P&gt;The following expression:&lt;/P&gt;&lt;P&gt;=Concat({$&amp;lt;[KPI Rank] = {'1'} &amp;gt;} MetText) results in&lt;/P&gt;&lt;P&gt;count(DISTINCT [ACCOUNT_NBR_ENC]).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I use a nested aggregation to make this value evaluate? I would like to see a numeric value.&lt;BR /&gt;In the example above, I would like to see the result of 'count(DISTINCT [ACCOUNT_NBR_ENC])'. Any help is appreciated. I have attached my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 22:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647145#M237061</guid>
      <dc:creator />
      <dc:date>2014-08-25T22:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Making variable value execute as an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647146#M237062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you answered your own question in your posted example. .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=only({$&amp;lt;[KPI Rank] = {'1'} &amp;gt;} MetText))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd prefer only() over concat() in this example unless you are actually trying concat multiple values. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 22:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647146#M237062</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-08-25T22:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Making variable value execute as an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647147#M237063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 22:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Making-variable-value-execute-as-an-expression/m-p/647147#M237063</guid>
      <dc:creator />
      <dc:date>2014-08-25T22:39:35Z</dc:date>
    </item>
  </channel>
</rss>

