<?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 Chart with two dimensions and two expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274682#M1190657</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a chart that has on the x-axis hour of day. I then have two expressions, one: total activity (displaying this as a bar). Two: Average time from request to activity performed (displaying this as a line). This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would then like to do is:&lt;/P&gt;&lt;P&gt;- For the bar showing total activity, turn this into a stacked bar which shows the type of activity making up the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 14:31:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-12T14:31:27Z</dc:date>
    <item>
      <title>Chart with two dimensions and two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274682#M1190657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a chart that has on the x-axis hour of day. I then have two expressions, one: total activity (displaying this as a bar). Two: Average time from request to activity performed (displaying this as a line). This works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i would then like to do is:&lt;/P&gt;&lt;P&gt;- For the bar showing total activity, turn this into a stacked bar which shows the type of activity making up the total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 14:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274682#M1190657</guid>
      <dc:creator />
      <dc:date>2011-07-12T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with two dimensions and two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274683#M1190658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you want something like this?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="chart_example.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5816_chart_example.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need an expression for each type of activity, like &lt;/P&gt;&lt;P&gt;Label = type A, expression =count (if (type='A', type))&lt;/P&gt;&lt;P&gt;Label = type B, expression =count(if (type='B', type))&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use style subtype "stacked" and in Expressions display options "line" for the line chart (I also used a second y-axis) and "bar" for the two bar charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You probably tried using a second dimension, I think this is problematic because you don't want it to apply to the line chart (and this results in a non-stacked bar chart).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 17:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274683#M1190658</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-12T17:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with two dimensions and two expressions</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274684#M1190659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; thanks for you help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 14:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-with-two-dimensions-and-two-expressions/m-p/274684#M1190659</guid>
      <dc:creator />
      <dc:date>2011-07-15T14:57:59Z</dc:date>
    </item>
  </channel>
</rss>

