<?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: Multiple expressions in same chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360873#M575484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="QV Image.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14592_QV+Image.bmp" width="450" /&gt; Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion but i can see either national market share or market share by territory but i cant see both at the same time.I have attached a screen shot which shows how i want to see my final result.dotted line is the national MS%.But i made that using 2 charts by overlapping together but i want to get the same result by using one chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2012 21:18:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-21T21:18:13Z</dc:date>
    <item>
      <title>Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360865#M575476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a chart that has 2 expressions and 2 dimensions. I need 1 of the expressions to calculate for both dimensions and other expression to only consider 1 dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I am trying to create a chart that shows Market Share (measure 1) of a product for each territory (dimesion 1) over Time (dimeison 2), and I want to show national market share (measure 2) over time. Since its national market share, it should not consider any territory. When I put both expressions in the same chart, the X axis shows both the dimensions instead of just showing the time dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached the sample that I am working on. You'll see 2 charts, I want to be able to merge those into 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360865#M575476</guid>
      <dc:creator />
      <dc:date>2012-05-21T12:29:59Z</dc:date>
    </item>
    <item>
      <title>Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360866#M575477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To exclude a dimension from your expression calculations you need to use the TOTAL qualifier.&amp;nbsp; For example, if you have a chart with Region and ProductCategory and an expression Sum(Sales), to exclude the ProductCategory dimension you would use Sum(TOTAL &amp;lt;Region&amp;gt; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 12:41:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360866#M575477</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-21T12:41:47Z</dc:date>
    </item>
    <item>
      <title>Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360867#M575478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jason! I tried that and few other options but I am not excluding just the data of a dimension but I need this to think that I dont even have a another dimension attribute on the dimension tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do the TOTAL, the X-axis shows both of the dimensions and the numbers do not make sense with that view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 13:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360867#M575478</guid>
      <dc:creator />
      <dc:date>2012-05-21T13:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360868#M575479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry mate - only thing I can think of is to overlay two charts with a static y-axis max value. See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360868#M575479</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-05-21T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360869#M575480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think with a line chart you can show 1 line with two dimensions (like your first chart), OR you can show multiple expressions. AFAIK you cannot have both.&lt;/P&gt;&lt;P&gt;If the number of territories is fixed and known, you could write one expression per territory and then your second expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other option is to overlay two graphs. This can work but can cause problems when selections are made the the two overlaid charts get out of alignment. Overriding or limiting selections can reduce this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 14:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360869#M575480</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-21T14:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360870#M575481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another suggestion came to mind - create a calculated dimension or an island dimension with the territory name and the final expression name. Then in your expression, write something like (call the dimension TerrDim for sake of example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(TerrDim &amp;lt;&amp;gt; 'National MS%', .... your MS% expression here ...., .... your National MS% expression here)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load the final expression name last and sort by load order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 15:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360870#M575481</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-21T15:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360871#M575482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please eloborate the part about creating calculated dimension? I am not sure I could follow that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 15:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360871#M575482</guid>
      <dc:creator />
      <dc:date>2012-05-21T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360872#M575483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I prefer the approach with an logical island dimension - I think it will probably perform better than the calculated dimension and also simpifies the expression. You can create this in script from the data already loaded:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Products, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Territory, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRX&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Island:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT Territory As TerrDim&lt;/P&gt;&lt;P&gt;Resident Data&lt;/P&gt;&lt;P&gt;Order By &lt;SPAN style="font-family: monospace; white-space: pre; background-color: #ffffff;"&gt;Territory;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate (Island)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: monospace; white-space: pre; background-color: #ffffff;"&gt;LOAD 'National MS%' As TerrDim&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Autogenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use TerrDim as the second dimension in the chart and the expression that I described earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 18:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360872#M575483</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-21T18:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple expressions in same chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360873#M575484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="QV Image.bmp" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14592_QV+Image.bmp" width="450" /&gt; Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion but i can see either national market share or market share by territory but i cant see both at the same time.I have attached a screen shot which shows how i want to see my final result.dotted line is the national MS%.But i made that using 2 charts by overlapping together but i want to get the same result by using one chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 21:18:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-expressions-in-same-chart/m-p/360873#M575484</guid>
      <dc:creator />
      <dc:date>2012-05-21T21:18:13Z</dc:date>
    </item>
  </channel>
</rss>

