<?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: Optional Expressions? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251259#M498474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;beanz wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to use the Conditional enable of expressions in Version 11 but can't find any examples or anything on the forums. The Beta release notes don't have much info yet.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone used this functionality before?&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's pretty straightforward; similar to the show/hide of columns you could do on a straight table pre-v11.&amp;nbsp; For each expression (and also dimensions) you simply specify an expression that will enable/disable the given column.&amp;nbsp; There are numerous ways you could use this to control which columns show/hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ExpressionCondition v11.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7420_ExpressionCondition+v11.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 11:25:18 GMT</pubDate>
    <dc:creator>isaiah82</dc:creator>
    <dc:date>2011-09-21T11:25:18Z</dc:date>
    <item>
      <title>Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251252#M498467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;I have a pivot table&amp;nbsp; with 3 expressions. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;1) FCast/Actual&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;2) Prior Year&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;3) Budget&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;However not all users need to see all 3 expressions&amp;nbsp; at all times. Sometimes they will only want to see the FCast/Actual - other&amp;nbsp; times they would like to see two expressions.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;Is it possible to&amp;nbsp; allow the user to decide what expresssions he/she wants to see? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt; &lt;/SPAN&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial;"&gt;e.g. only show the&amp;nbsp; FCast/Actual initially and then allow then to select to see the Budget and Prior&amp;nbsp; year too if necessary&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;If its not possible at the moment - is it something that is planned in version 11? &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Thanks &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251252#M498467</guid>
      <dc:creator>bdunphy</dc:creator>
      <dc:date>2011-09-09T16:35:17Z</dc:date>
    </item>
    <item>
      <title>Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251253#M498468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe QlikView 11 will solve for this; see "Conditional Enablement of Expressions and Dimensions" in the 11 Beta Release Notes.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively you can use a macro to enable/disable expression columns.&amp;nbsp; Do some searching in the Community for this and you'll find a good few posts.&amp;nbsp; -Isaiah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251253#M498468</guid>
      <dc:creator>isaiah82</dc:creator>
      <dc:date>2011-09-09T16:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251254#M498469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option could be to create separate charts and apply a conditional expresssion in the layout tab that determines which chart is displayed.&amp;nbsp; In my attached exampe, the user can select Chart Type 1, 2 or 3 in the list box.&amp;nbsp; The selection determines which of the 3 pivot charts is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 19:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251254#M498469</guid>
      <dc:creator>john_duffy</dc:creator>
      <dc:date>2011-09-09T19:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251255#M498470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;u could use a variable to contain the field to use in the expression.&lt;/P&gt;&lt;P&gt;I have used and it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the expression will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;&amp;nbsp;&amp;nbsp; ................&amp;nbsp; &amp;gt;} $(variable))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable will contain a conditional expression to choose correct dimension decided by the user connected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 19:55:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251255#M498470</guid>
      <dc:creator />
      <dc:date>2011-09-09T19:55:42Z</dc:date>
    </item>
    <item>
      <title>Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251256#M498471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You shouldn't need version 11 to conditionally enable expressions, though it depends on your chart type.&amp;nbsp; I think only conditionally enabling dimensions is new in version 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a straight table, go to the presentation tab, and click on "conditional" for the column.&amp;nbsp; Enter the condition associated with the column, which will depend on how you want them to select it.&amp;nbsp; You could have a list box and look for the value being possible, or who knows what else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2011 19:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251256#M498471</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-09-09T19:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251257#M498472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attached for the pivot table expression selector without macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2011 23:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251257#M498472</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2011-09-10T23:19:08Z</dc:date>
    </item>
    <item>
      <title>Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251258#M498473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to figure out how to use the Conditional enable of expressions in Version 11 but can't find any examples or anything on the forums. The Beta release notes don't have much info yet.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone used this functionality before?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 08:43:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251258#M498473</guid>
      <dc:creator />
      <dc:date>2011-09-21T08:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251259#M498474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;beanz wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to figure out how to use the Conditional enable of expressions in Version 11 but can't find any examples or anything on the forums. The Beta release notes don't have much info yet.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone used this functionality before?&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's pretty straightforward; similar to the show/hide of columns you could do on a straight table pre-v11.&amp;nbsp; For each expression (and also dimensions) you simply specify an expression that will enable/disable the given column.&amp;nbsp; There are numerous ways you could use this to control which columns show/hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="ExpressionCondition v11.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/7420_ExpressionCondition+v11.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 11:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251259#M498474</guid>
      <dc:creator>isaiah82</dc:creator>
      <dc:date>2011-09-21T11:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251260#M498475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks Guys. Why cant we just have the option of a small dropdown in the caption box to open up a list of checkboxes to enable/disable expressions? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 11:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251260#M498475</guid>
      <dc:creator>bdunphy</dc:creator>
      <dc:date>2011-09-21T11:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251261#M498476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Isiah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a variable vShowExpressions and used eg:vShowExpression='Peer Group' to conditionally enable each expression. &lt;/P&gt;&lt;P&gt;I've listed variable values in an input box, so that the user can select a value and it's changes the variable.&lt;/P&gt;&lt;P&gt;But it only allows me to select 1 variable value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to make a listbox with the variable, so that the user can select multiple values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 12:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251261#M498476</guid>
      <dc:creator />
      <dc:date>2011-09-21T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251262#M498477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any ideas? I think I'm going around in circles. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 13:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251262#M498477</guid>
      <dc:creator />
      <dc:date>2011-09-21T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251263#M498478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out the attached as an example (QV11 only) using a control table to select which columns to show.&amp;nbsp; Focus less on the data and more on how I accomplished the dynamic columnns.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 14:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251263#M498478</guid>
      <dc:creator>isaiah82</dc:creator>
      <dc:date>2011-09-21T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251264#M498479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Isiah. This works like a charm. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251264#M498479</guid>
      <dc:creator />
      <dc:date>2011-09-21T15:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251265#M498480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like your solution.&lt;/P&gt;&lt;P&gt;Is there a way to use an expression like this in the script editor, when you create the inline table:&lt;/P&gt;&lt;P&gt;=Avg({$&amp;lt;Institution= p(Institution2) &amp;gt;} [Actual value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this : &lt;/P&gt;&lt;P&gt;Metric:&lt;/P&gt;&lt;P&gt;replace LOAD recno() as MetricSequence,* INLINE [&lt;/P&gt;&lt;P&gt;Metric, Expression&lt;/P&gt;&lt;P&gt;&amp;nbsp; Average, "AVG({$&amp;lt;Institution={'*'}&amp;gt;}[Actual value])"&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Peer Group", "Avg({$&amp;lt;Institution= p(Institution2) &amp;gt;} [Actual value])"&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it give an error, probably because of the symbols.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to have an expression like this in the inline table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 12:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251265#M498480</guid>
      <dc:creator />
      <dc:date>2011-09-22T12:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251266#M498481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes you can write these type of expressions, but not in inline statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) you can load it from Excel&lt;/P&gt;&lt;P&gt;2.) if you are not using reduce and Reload concept, you can write it in the Grid it self.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) Edit script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Metric table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Metric, SeqID&lt;/P&gt;&lt;P&gt; Average ,1&lt;/P&gt;&lt;P&gt;Peer Group,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.) Front end: &lt;/P&gt;&lt;P&gt;Write below this as your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(SeqID,AVG({$&amp;lt;Institution={'*'}&amp;gt;}[Actual value]),Avg({$&amp;lt;Institution= p(Institution2) &amp;gt;} [Actual value]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.) Add Metric as Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.) Also add Metic as Selector (list box or Multi Box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 20:03:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251266#M498481</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2011-09-30T20:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251267#M498482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you can write these type of expressions, but not in inline statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.) you can load it from Excel&lt;/P&gt;&lt;P&gt;2.) if you are not using reduce and Reload concept, you can write it in the Grid it self.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) Edit script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Metric table:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Metric, SeqID&lt;/P&gt;&lt;P&gt;Average ,1&lt;/P&gt;&lt;P&gt;Peer Group,2&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.) Front end: &lt;/P&gt;&lt;P&gt;Write below this as your expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pick(SeqID,AVG({$&amp;lt;Institution={'*'}&amp;gt;}[Actual value]),Avg({$&amp;lt;Institution= p(Institution2) &amp;gt;} [Actual value]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c.) Add Metric as Dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.) Also add Metic as Selector (list box or Multi Box)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 20:04:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251267#M498482</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2011-09-30T20:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Optional Expressions?</title>
      <link>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251268#M498483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a really great example - thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:20:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Optional-Expressions/m-p/251268#M498483</guid>
      <dc:creator />
      <dc:date>2012-12-06T16:20:12Z</dc:date>
    </item>
  </channel>
</rss>

