<?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: Variable which controls the functionality of an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159797#M378028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(=v_expression&amp;amp;'('&amp;amp;'data'&amp;amp; &lt;SPAN style="color: #ff0000;"&gt;If(v_expression = 'Fractile', ', 0.95') &amp;amp;&lt;/SPAN&gt; ')')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136687_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 12:42:23 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-07T12:42:23Z</dc:date>
    <item>
      <title>Variable which controls the functionality of an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159796#M378027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlikview User&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a technqiue via another post where the functionality of an expression is controlled through a variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I would now like to add other functions to this technique, but am unsure on how to do so&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone kindly take a look at the attached document and kindly help me as to how I could get it to work with 95th Centile, using the fractile function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159796#M378027</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-09-07T12:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Variable which controls the functionality of an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159797#M378028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(=v_expression&amp;amp;'('&amp;amp;'data'&amp;amp; &lt;SPAN style="color: #ff0000;"&gt;If(v_expression = 'Fractile', ', 0.95') &amp;amp;&lt;/SPAN&gt; ')')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136687_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159797#M378028</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-07T12:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variable which controls the functionality of an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159798#M378029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perfect! This works for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 12:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159798#M378029</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-09-07T12:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variable which controls the functionality of an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159799#M378030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SunnyT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if you could kindly help me amend the expression for this post from earlier today&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add another button which counts the ID when a wait is over 4 hours&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I incorporate the following expression so that a button can activate the equation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(If(ED_Total_Wait&amp;gt;240,ED_ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the following, but it it erroring, perhaps I am asking too much of the technique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=v_expression&amp;amp;'('&amp;amp; v_data &amp;amp; &lt;/P&gt;&lt;P&gt;If(v_expression = 'Fractile', ', 0.95') &lt;/P&gt;&lt;P&gt;&amp;amp; &lt;/P&gt;&lt;P&gt;If(v_expression = 'Count', ', If(ED_Total_Wait&amp;gt;240,ED_ID))'&lt;/P&gt;&lt;P&gt;')')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 14:02:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159799#M378030</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2016-09-07T14:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable which controls the functionality of an expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159800#M378031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what ED_Total_wait and ED_ID correspond to in the sample above, but may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(=If(v_expression = 'count', v_expression &amp;amp;'(If(ED_Total_Wait &amp;gt; 240, ED_ID))',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; v_expression &amp;amp; '(' &amp;amp; 'data' &amp;amp; If(v_expression = 'Fractile', ', 0.95') &amp;amp; ')'))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Corresponding expression for your sample:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=$(=If(v_expression = 'count', v_expression &amp;amp;'(If(data &amp;gt; 240, dimension))',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; v_expression &amp;amp; '(' &amp;amp; 'data' &amp;amp; If(v_expression = 'Fractile', ', 0.95') &amp;amp; ')'))&lt;/STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136741_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 00:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-which-controls-the-functionality-of-an-expression/m-p/1159800#M378031</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-08T00:14:38Z</dc:date>
    </item>
  </channel>
</rss>

