<?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 lines for a single expresion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486980#M557349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have multiple lines, set up with multiple expressions that are similar in this way.&lt;/P&gt;&lt;P&gt;Could it be that you are using only() instead of sum(). Only() will only return datapoints if there is just the one value.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 11:56:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-06-19T11:56:48Z</dc:date>
    <item>
      <title>Line chart: multiple lines for a single expresion</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486979#M557348</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;I have a line chart with 2 expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;exp1:=Only({$&amp;lt;kpi={'$(vFirstKpiSelected)'}}&amp;gt;}data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;exp2:=Only({$&amp;lt;kpi={'$(vSecondKpiSelected)'}}&amp;gt;}data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: &lt;STRONG&gt;can I have multiple lines in chart (based on multiple selection from a listbox) for a single expresion?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;exp1:=Only({$&amp;lt;kpi={'$(vFirstKpiSelected)'}, &lt;STRONG&gt;ITEM_CODE={'item1','item2','item3'}&lt;/STRONG&gt;}&amp;gt;}data)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;exp2:=Only({$&amp;lt;kpi={'$(vSecondKpiSelected)'}, &lt;STRONG&gt;ITEM_CODE={'item1','item2','item3'}&lt;/STRONG&gt;}&amp;gt;}data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 11:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486979#M557348</guid>
      <dc:creator />
      <dc:date>2013-06-19T11:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart: multiple lines for a single expresion</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486980#M557349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have multiple lines, set up with multiple expressions that are similar in this way.&lt;/P&gt;&lt;P&gt;Could it be that you are using only() instead of sum(). Only() will only return datapoints if there is just the one value.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 11:56:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486980#M557349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-19T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart: multiple lines for a single expresion</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486981#M557350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried sum &lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;=Sum({$&amp;lt;kpi={'$(vPanel_KPI1_KPI1)'}&amp;gt;}data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; but still doesn't work, I have still one line per expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please check attached image:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; -&lt;STRONG&gt; the solid line &lt;/STRONG&gt;is for&amp;nbsp; kpi1&amp;nbsp; has expresion1 :&amp;nbsp; -&amp;gt;&amp;nbsp; &lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;exp1:=Only({$&amp;lt;kpi={'$(vFirstKpiSelected)'}}&amp;gt;}data)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;the dashed line &lt;/STRONG&gt;is for kpi2 has expresion2 : -&amp;gt; &lt;SPAN style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;exp2:=Only({$&amp;lt;kpi={'$(vSecondKpiSelected)'}}&amp;gt;}data)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;blue solid and dashed line&lt;/STRONG&gt; are for&amp;nbsp; product1&lt;/P&gt;&lt;P&gt;- &lt;STRONG&gt;red solid and dashed line&lt;/STRONG&gt; are for&amp;nbsp; product1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to achieve is to have blue &lt;STRONG&gt;solid&lt;/STRONG&gt;+red &lt;STRONG&gt;solid &lt;/STRONG&gt;for exp 1 &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;&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; blue &lt;STRONG&gt;dashed &lt;/STRONG&gt;+ red &lt;STRONG&gt;dashed &lt;/STRONG&gt;for exp2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 12:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486981#M557350</guid>
      <dc:creator />
      <dc:date>2013-06-19T12:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart: multiple lines for a single expresion</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486982#M557351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So do you have the lines coming out ok ? Is it just the formatting you are working on now ?&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 06:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486982#M557351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-06-20T06:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Line chart: multiple lines for a single expresion</title>
      <link>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486983#M557352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thx for your help.&lt;/P&gt;&lt;P&gt;I managed to find a solution:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/message/336572#336572"&gt;http://community.qlik.com/message/336572#336572&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;For lines you can use two dimensions and one expression or one dimension and lots of expressions. If you need more than you'll have to use two charts and overlay them and give the top chart a transparent plot are&lt;/SPAN&gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 13:24:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Line-chart-multiple-lines-for-a-single-expresion/m-p/486983#M557352</guid>
      <dc:creator />
      <dc:date>2013-06-20T13:24:55Z</dc:date>
    </item>
  </channel>
</rss>

