<?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: Help needed with brackets to show trend arrow in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708015#M474449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would simplify the expression. If I understand your expression right then there are 3 blocks of arrows which return the same result - therefore you could merge them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2, 22, 56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;= ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further you could use for such expressions parametrized variables. It meant to write the expression as variable and all dynamic values will be replaced by a $:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={$1, $2, $3},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;= ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(eMyExpression(2, 22, 56))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look within the help and here &lt;A href="/t5/forums/searchpage/tab/message?q=variables parameter"&gt;http://community.qlik.com/search.jspa?q=variables+parameter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Sep 2014 11:15:24 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2014-09-16T11:15:24Z</dc:date>
    <item>
      <title>Help needed with brackets to show trend arrow</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708014#M474448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Can anyone help me with the following??&amp;nbsp; I am trying to show a trend arrow for each scenario but think my brackets are wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;I have got it to work for other metrics that didnt have the division in them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Any help greatly appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Rhona&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Pick&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;ValueList&lt;/SPAN&gt;('% of all attendees at ED who are discharged or admitted within 6 hours AMAU registration','% of medical patients who are discharged or admitted from AMAU within 6 hours AMAU registration','% of elective surgical inpatients who had principal procedure conducted on day of admission'), &lt;BR /&gt;&lt;BR /&gt;'% of all attendees at ED who are discharged or admitted within 6 hours AMAU registration', '% of medical patients who are discharged or admitted from AMAU within 6 hours AMAU registration', '% of elective surgical inpatients who had principal procedure conducted on day of admission'),&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))&amp;gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))&amp;lt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))=&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={1},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))), 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_e.png', &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))&amp;gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))&amp;lt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))=&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={22},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={23},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))), 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_e.png', &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;STRONG style="color: #ff0000;"&gt;(&lt;/STRONG&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))&amp;gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))&amp;lt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))),'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png',&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM))&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;)))=((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))/((&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={57},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;={&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(#=Max(ReferredMM)-1)&lt;/EM&gt;&lt;/STRONG&gt;&amp;gt;}&lt;SPAN style="color: #800000;"&gt;ActualValue&lt;/SPAN&gt;))), 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_e.png')))&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 10:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708014#M474448</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2014-09-16T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with brackets to show trend arrow</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708015#M474449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would simplify the expression. If I understand your expression right then there are 3 blocks of arrows which return the same result - therefore you could merge them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={2, 22, 56},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;= ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further you could use for such expressions parametrized variables. It meant to write the expression as variable and all dynamic values will be replaced by a $:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;SPAN style="color: #0000ff;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;[Improving Inpatient Experience]&lt;/SPAN&gt;={$1, $2, $3},&lt;SPAN style="color: #800000;"&gt;ReferredMM&lt;/SPAN&gt;= ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression looks like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(eMyExpression(2, 22, 56))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look within the help and here &lt;A href="/t5/forums/searchpage/tab/message?q=variables parameter"&gt;http://community.qlik.com/search.jspa?q=variables+parameter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708015#M474449</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-09-16T11:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed with brackets to show trend arrow</title>
      <link>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708016#M474450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks marcus that makes sense will try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rhona Corcoran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2014 11:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-needed-with-brackets-to-show-trend-arrow/m-p/708016#M474450</guid>
      <dc:creator>rcorcoran</dc:creator>
      <dc:date>2014-09-16T11:30:45Z</dc:date>
    </item>
  </channel>
</rss>

