<?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: How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471708#M176156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Djschafe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I believe that the answer is the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;1) Go to the chart properties and click on the expression tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;2) Click on the expression &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Sum([# Departures Performed]) &lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;(or whichever label you choose)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; on the expression square of the upper left corner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;3) Once the expression is highlighted, go to the presentations tab and click on the Add... button on Reference Lines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;4) Set the Location to Primary Y and the expression to the value you want to enter (no need to put the expression, just enter the value). Then click OK twice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;You can do the same procedure for the other expressions, this will apply a different reference line per chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Iván&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 19:27:30 GMT</pubDate>
    <dc:creator>ivanmorgan</dc:creator>
    <dc:date>2015-08-12T19:27:30Z</dc:date>
    <item>
      <title>How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471705#M176153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following are grouped as an expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp1: Sum([# Departures Performed])&lt;/P&gt;&lt;P&gt;exp2: Sum([# Transported Passengers])&lt;/P&gt;&lt;P&gt;expr3: Sum([# Transported Freight])&lt;/P&gt;&lt;P&gt;exp4: Sum([# Transported Mail])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wondered if could use the Reference Line feature on the Presentation tab to display different reference lines depending on which expression is being shown in the cycle. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This possible, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 21:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471705#M176153</guid>
      <dc:creator />
      <dc:date>2013-03-23T21:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471706#M176154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I am missing a simple solution using grouped expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using grouped expressions, you can try using conditional expressions, and re-use the variable / field used to trigger the condtion in the reference line expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[edit]: Another possible solution might be this, suggested by John some time ago:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/8165#8165" title="http://community.qlik.com/message/8165#8165"&gt;http://community.qlik.com/message/8165#8165&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Mar 2013 22:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471706#M176154</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-03-23T22:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471707#M176155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the comment.&amp;nbsp; I will give the conditional expression a look since I have not done much there previously. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did think about using the GetCurrentField solution and have the group in a dimension versus an expression.&amp;nbsp; I did something like that in a QA dashboard I build a couple years ago. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not currently a requirement, I was trying to understand if I was missing something or not with easy solution for Reference Lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Mar 2013 04:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471707#M176155</guid>
      <dc:creator />
      <dc:date>2013-03-24T04:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to have different Reference Lines for Expressions that are grouped, what Reference Line Condition and/or Expression can be used?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471708#M176156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Djschafe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I believe that the answer is the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;1) Go to the chart properties and click on the expression tab.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;2) Click on the expression &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;Sum([# Departures Performed]) &lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Helvetica','sans-serif'; color: #3d3d3d;"&gt;(or whichever label you choose)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; on the expression square of the upper left corner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;3) Once the expression is highlighted, go to the presentations tab and click on the Add... button on Reference Lines.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;4) Set the Location to Primary Y and the expression to the value you want to enter (no need to put the expression, just enter the value). Then click OK twice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;You can do the same procedure for the other expressions, this will apply a different reference line per chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Iván&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 19:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-have-different-Reference-Lines-for-Expressions-that-are/m-p/471708#M176156</guid>
      <dc:creator>ivanmorgan</dc:creator>
      <dc:date>2015-08-12T19:27:30Z</dc:date>
    </item>
  </channel>
</rss>

