<?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: Line chart Multiple expressions and One line in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401396#M512636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Found a little mistake. The vVL expression should be like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=chr(39)&amp;amp;concat({&amp;lt;year={"&amp;gt;$(=max(year)-3) &amp;lt;=$(=max(year))"}&amp;gt;}year,chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;to make list of three values (in previous expression returns only one - which was selected)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 12:55:43 GMT</pubDate>
    <dc:creator>Sergey_Shuklin</dc:creator>
    <dc:date>2017-11-02T12:55:43Z</dc:date>
    <item>
      <title>Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401391#M512631</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;Is it possible to have in a line chart multiple expressions , one dimension in one line.&lt;/P&gt;&lt;P&gt;Expressions are ( sales N-3 ,sales N-2, sales N-1, budget N, sales N), dimension Year&lt;/P&gt;&lt;P&gt;please see the screenshot to better understand my needs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="181844" alt="qlikk1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181844_qlikk1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401391#M512631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T11:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401392#M512632</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;For such charts you can use ValueList() function for defining different dimensions.&lt;/P&gt;&lt;P&gt;So, when you select Line Chart go to the dimensions tab, click on Add Calcalated Dimension and write the followin:&lt;/P&gt;&lt;P&gt;ValueList('2010', '2011', '2012', '2013b', '2013')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Expression you should use such syntaxis:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333px;"&gt;ValueList('2010', '2011', '2012', '2013b', '2013')='2010', sum({&amp;lt;year={2010}&amp;gt;}sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ValueList('2010', '2011', '2012', '2013b', '2013')='2011', sum({&amp;lt;year={2011}&amp;gt;}sales),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;and so on&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After that you can copy this value, make another one with dots (instead of lines) and change sum() function to some relative calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401392#M512632</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-02T11:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401393#M512633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much for answring quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution you gave me suppose that the chart is fixe, i mean im going to have always the same years, however the final user want it to be dynamic , if he select year 2016 , the year N-1 going to be 2015 , the year N-2= 2014 and so on. so the result depends on the year selected.&amp;nbsp; i think i need to use set analysis with year = max(year).&lt;/P&gt;&lt;P&gt;but it doesn't gave me the view i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:43:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401393#M512633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T11:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401394#M512634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hm, in that conditions you can do a little trick.&lt;/P&gt;&lt;P&gt;The ValueList() function can be used with dynamic generated list of values.&lt;/P&gt;&lt;P&gt;You should use Concat() function to reach this, but first let take a look at this table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * inline&lt;/P&gt;&lt;P&gt;[year, val&lt;/P&gt;&lt;P&gt;2011,20&lt;/P&gt;&lt;P&gt;2012,15&lt;/P&gt;&lt;P&gt;2013,13&lt;/P&gt;&lt;P&gt;2014,7&lt;/P&gt;&lt;P&gt;2015,18];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's little different from yours but it's made just for good explanation.&lt;/P&gt;&lt;P&gt;Now, if you use this construction as variable:&lt;/P&gt;&lt;P&gt;=chr(39)&amp;amp;concat({&amp;lt;year={"&amp;gt;$(=max(year)-3)"}&amp;gt;}year,chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;Call this variable vVL. It will return the list of year depending on User's selection.&lt;/P&gt;&lt;P&gt;After that we can use not just ValueList(2011, 2012...) but ValueList($(vVL))&lt;/P&gt;&lt;P&gt;And expression will be:&lt;/P&gt;&lt;P&gt;pick(match(&lt;SPAN style="font-size: 13.3333px;"&gt;ValueList($(vVL)),&lt;SPAN style="font-size: 13.3333px;"&gt;$(vVL)), sum({&amp;lt;condition for year - 3&amp;gt;}sales), &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;condition for year - 2&amp;gt;}sales), &lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;condition for year - 1&amp;gt;}sales) and so on)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It's little complicate, but more flexible, because you can made different calculations in the front-end.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If you wish I can prepare some example (for now I don't have such opportunity - locating on workplace).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401394#M512634</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-02T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401395#M512635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much for your help.&lt;/P&gt;&lt;P&gt;i will try that method,&amp;nbsp; if i fail in getting the result, i will ask you for a qvw example if its possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much for&amp;nbsp; all your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401395#M512635</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T12:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401396#M512636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Found a little mistake. The vVL expression should be like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=chr(39)&amp;amp;concat({&amp;lt;year={"&amp;gt;$(=max(year)-3) &amp;lt;=$(=max(year))"}&amp;gt;}year,chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;to make list of three values (in previous expression returns only one - which was selected)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401396#M512636</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-02T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401397#M512637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found a way to bring you a little example. Hope it will help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 13:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401397#M512637</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-02T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401398#M512638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to display the chart basing on what i understand ( im sorry im afraid of not really understanding the solution you proposed).&lt;/P&gt;&lt;P&gt;what i did is :&lt;/P&gt;&lt;P&gt;for the expressions :&amp;nbsp; N-3 : Sum({$&amp;lt;ANNEE={$(=MAX(ANNEE)-3)}&amp;gt;}CA_NET_EN_DH)&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N-2 : Sum({$&amp;lt;ANNEE={$(=MAX(ANNEE)-2)}&amp;gt;}CA_NET_EN_DH) &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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N-1 :Sum({$&amp;lt;ANNEE={$(=MAX(ANNEE)-1)}&amp;gt;}CA_NET_EN_DH) &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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Budget N :Sum({$&amp;lt;ANNEE={$(=MAX(ANNEE))}&amp;gt;}CA_NET_EN_DH)&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales N : Sum({$&amp;lt;ANNEE={$(=MAX(ANNEE))}&amp;gt;}BUDGET_CA_NET_EN_DH)&lt;/P&gt;&lt;P&gt;Dimensions:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year&lt;/P&gt;&lt;P&gt;here is the result i get: its not really what i want &lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikkk.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181877_qlikkk.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;l need to have continous line between the points and for the year N i need to have separate points for sales and budget, juste like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikk1.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/181878_qlikk1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401398#M512638</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-02T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401399#M512639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You set four expressions and the chart is returning four dots. There is a little more different way to achieve this.&lt;/P&gt;&lt;P&gt;Please check the picture below and the attachement.&lt;/P&gt;&lt;P&gt;I think you can implement this solution to your project just with renamed fields.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vl_pic.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181936_vl_pic.png" style="height: 263px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Hope it will help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 06:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401399#M512639</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-03T06:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401400#M512640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i implemented the solution you proposed and it seems working. Im juste facing a little probleme , the budget point is not displaying do. (Error garbage after expression :see screenshot)&lt;/P&gt;&lt;P&gt;the expression i ued is calculated = &lt;STRONG style="font-size: 13.3333px;"&gt;CA_NET_EN_DH / CA_NET_EN_LITRE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;here is the dimension i use (vVL variable): &lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;chr(39)&amp;amp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//condition to prevent error when min year is selected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(len(Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE))=0,max(ANNEE),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//combining year field values to the string separated by comma and single quotes &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE,chr(39)&amp;amp;','&amp;amp;chr(39)) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;chr(39)&amp;amp;','&amp;amp;chr(39) //additional commas and quotes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;'budget-'&amp;amp;Right(max(ANNEE),2)&amp;amp;chr(39) //add a budget point&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;','&amp;amp;chr(39)&amp;amp;max(ANNEE)&amp;amp;chr(39) //add the last point with max year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the expression (vvl_exp): &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//prevent error when min year is selected&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(len(Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE))=0,'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)',&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//create a string with expressions&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}'sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)',',') &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;','&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}BUDGET_CA_NET_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}BUDGET_CA_NET_LITRE)' //expression for budget calculation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;','&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)' //expression for max year&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik21.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181984_qlik21.png" style="height: 378px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 09:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401400#M512640</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T09:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401401#M512641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide a screenshot with blue text boxes with yours description of dimensions and expressions? (they are under the chart)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401401#M512641</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-03T10:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401402#M512642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is the screeshot, now its okey&amp;nbsp; the budget is display but still have the error msg under the chart,don't know why &lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik22.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181994_qlik22.png" style="height: 218px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 10:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401402#M512642</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T10:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401403#M512643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's ok, some formulas gets this error but still works.&lt;/P&gt;&lt;P&gt;You can go to the Dimensions tab and set a Lable for ValueList() dimension, like "year" (as in my example was).&lt;/P&gt;&lt;P&gt;And I'm glad that you've got the result &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt; now you can do some cosmetics and add some years by changing this parameter:&lt;/P&gt;&lt;P&gt;{"&amp;gt;$(=max(ANNEE)&lt;STRONG style="text-decoration: underline;"&gt;-3&lt;/STRONG&gt;) &amp;lt;=$(=max(ANNEE)-1)"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 11:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401403#M512643</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-03T11:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401404#M512644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much for your help.&lt;/P&gt;&lt;P&gt;All your answers were very richful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 11:35:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401404#M512644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T11:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401405#M512645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just one more question if you allow, is it possible to display in the chart the pourcentage highlighted in the screenhot , it represents the evolution from a year to another ( positive or negative).&lt;/P&gt;&lt;P&gt;Thank you so much for your help. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlikk1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182021_qlikk1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 14:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401405#M512645</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-03T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401406#M512646</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;You can do this with additional variable (I called it vVL_evo):&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="182119" alt="vl_pic2.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/182119_vl_pic2.png" style="height: 297px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, all you have to do is to add a previous year as a denominator.&lt;/P&gt;&lt;P&gt;In your case it should be like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;'sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;STRONG&gt;-1&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;for each generated expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can move this expression to the right axis, and then split axis for better vizualization:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="182118" alt="vl_pic3.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/182118_vl_pic3.png" style="height: 252px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For text color you can use this expression:&lt;/P&gt;&lt;P&gt;if(pick(Match(ValueList($(vVL)),$(vVL)),$(vVL_evo))&amp;gt;0, Green(), Red())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to hide dots you may use a transparent color function aRGB(0,0,0,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 18:10:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401406#M512646</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-04T18:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401407#M512647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello , thank you so much for your reply,&lt;/P&gt;&lt;P&gt;here is what i did :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1) i create variable with called vVL_evo with this content :&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//prevent error when min year is selected&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;if(len(Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE))=0,'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)'/'sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'-1 ,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;//create a string with expressions&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}'sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;ANNEE&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'/'sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'-1,',')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;amp;','&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;amp;'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}BUDGET_CA_NET_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}BUDGET_CA_NET_LITRE)'/'sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'-1 //expression for budget calculation&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;amp;','&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;amp;'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)'/ 'sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'-1//expression for max year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) i&lt;/STRONG&gt; added the expression in the chart line but i get a memory error and the variable vVL_evo ,didn't even appear in the text box ( please see the screenshot)&lt;/P&gt;&lt;P&gt;is there any error in the variable code??&lt;/P&gt;&lt;P&gt;thank you so much in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik123.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182419_qlik123.png" style="height: 226px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401407#M512647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T16:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401408#M512648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is the expression of vVL_evo too much big, and should be optimized because &lt;SPAN style="font-size: 10pt;"&gt;i checked the free memory, the server still have enough free memory , please see the screenchot:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="182423" alt="qlik_mem.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182423_qlik_mem.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:37:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401408#M512648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T16:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401409#M512649</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;There is a typo in condition. Look:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;if(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&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;&amp;nbsp; len(Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE))=0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #595959;"&gt;'sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; font-family: 'Calibri','sans-serif'; color: red;"&gt;'/'&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #595959;"&gt;sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)'-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #595959;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #595959;"&gt;You should remove single quotes and enclose divided conditions in brakets:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;if(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&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;&amp;nbsp; len(Concat(DISTINCT{&amp;lt;ANNEE={"&amp;gt;$(=max(ANNEE)-3) &amp;lt;=$(=max(ANNEE)-1)"}&amp;gt;}ANNEE))=0,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;'&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; color: #00b0f0;"&gt;(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={"$(=max(ANNEE))"}&amp;gt;}CA_NET_EN_LITRE)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; color: #00b0f0;"&gt;)/(&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_DH)/sum({&amp;lt;ANNEE={'&amp;amp;(ANNEE-1)&amp;amp;'}&amp;gt;}CA_NET_EN_LITRE)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 14.0pt; color: #00b0f0;"&gt;)&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;'-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #595959;"&gt;Should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 04:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401409#M512649</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-11-08T04:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart Multiple expressions and One line</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401410#M512650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so muh for your help it works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i have one point that i don't need because , logically i should have just three values of the evolution since i have 4 values : sales N-2 , sales N-1, budget N and sales N. the value highlighted in red should not appear. &lt;SPAN style="font-size: 13.3333px;"&gt;please see the sreenshot .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;on the other hand i need in other chart to add more values N-3, N-4 and so on, please can You explain to me the expression of vVL_exp so that i would be able to add more years , thank you so much an im so sorry for distrubiing You .&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik_evo.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182520_qlik_evo.png" style="height: 353px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 12:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-Multiple-expressions-and-One-line/m-p/1401410#M512650</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T12:00:39Z</dc:date>
    </item>
  </channel>
</rss>

