<?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 in equation string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-variable-in-equation-string/m-p/1664577#M728489</link>
    <description>&lt;P&gt;I figured it out..&lt;BR /&gt;&lt;BR /&gt;Fractile(Aggr(avg($(vPick)),[PROGRAM],$(vPick)), 0.5)&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 19:40:35 GMT</pubDate>
    <dc:creator>NancyG</dc:creator>
    <dc:date>2020-01-10T19:40:35Z</dc:date>
    <item>
      <title>Use variable in equation string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-in-equation-string/m-p/1664450#M728488</link>
      <description>&lt;P&gt;I have a whisker plot a specific parameter of my data, ACTUAL_CE_PH1_MJ.&amp;nbsp; One of the Expressions for the Plot is:&lt;/P&gt;&lt;P&gt;Fractile(Aggr(avg(ACTUAL_CE_PH1_MJ),[PROGRAM],[ACTUAL_CE_PH1_MJ]), 0.25)&lt;/P&gt;&lt;P&gt;I have a list box that contains a list of parameters available in the data set and I have created a variable, &lt;STRONG&gt;vPick&lt;/STRONG&gt; = GetFieldSelections(&lt;EM&gt;listbox_name&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;How do I change the formula above to use &lt;STRONG&gt;vPick&lt;/STRONG&gt; instead of a specific parameter name?&amp;nbsp; I don’t understand the $ operator well enough to know why/when to use it.&lt;BR /&gt;&lt;BR /&gt;I’ve tried this and while the Expression is okay (per the edit box), I don’t get the same plot as when I use hard coded the parameter name.&lt;/P&gt;&lt;P&gt;Fractile(Aggr(avg(&lt;STRONG&gt;&lt;EM&gt;$(=vPick&lt;/EM&gt;&lt;/STRONG&gt;),[PROGRAM],&lt;STRONG&gt;&lt;EM&gt;$(=vPick)&lt;/EM&gt;&lt;/STRONG&gt;), 0.25)&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-in-equation-string/m-p/1664450#M728488</guid>
      <dc:creator>NancyG</dc:creator>
      <dc:date>2024-11-16T01:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Use variable in equation string</title>
      <link>https://community.qlik.com/t5/QlikView/Use-variable-in-equation-string/m-p/1664577#M728489</link>
      <description>&lt;P&gt;I figured it out..&lt;BR /&gt;&lt;BR /&gt;Fractile(Aggr(avg($(vPick)),[PROGRAM],$(vPick)), 0.5)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 19:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-variable-in-equation-string/m-p/1664577#M728489</guid>
      <dc:creator>NancyG</dc:creator>
      <dc:date>2020-01-10T19:40:35Z</dc:date>
    </item>
  </channel>
</rss>

