<?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: Stack bar using a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537753#M555006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. &lt;EM&gt;Crosstable&lt;/EM&gt; is a transformation method used in the script in order to transpose your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2013 12:46:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-28T12:46:27Z</dc:date>
    <item>
      <title>Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537748#M555001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following data and want to create a stack bar chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is for the X-axis to be the month, the expressions (2013 Sales Per Member and 2012 Sales Per Member) to the be the bars side by side for each month. Then I want the other dimension (line of Business) to be stacked for each expression. Can't see what I am doing different from a few of the examples I looked at on this site - but I can't figure how to stack them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="355" style="width: 602px; height: 355px;" width="602"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Incurred Month&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="172"&gt;Line of Business&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="159"&gt;2013 Sales Per Member&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="142"&gt;2012 Sales Per Member&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none;"&gt;296.76&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;316.61&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Electronics&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.19&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Electronics&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.76&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.53&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Electronics&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2.94&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3.45&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Electronics&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3.45&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;3.15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Furniture&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;9.92&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12.13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Furniture&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10.09&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12.65&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Furniture&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;10.59&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12.41&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Furniture&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12.77&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;12.31&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Feb&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Kitchen&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;57.48&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;63.01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Mar&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Kitchen&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;59.01&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;67.60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Apr&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Kitchen&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;60.88&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;58.68&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;Jan&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Kitchen&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;64.69&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;66.18&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 20:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537748#M555001</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-08-27T20:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537749#M555002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are trying to make a chart that is both grouped and stacked - the two expressions side by side require a grouped chart, while the Line of Business require a stacked chart. This is not something you can implement in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if it was possible, the visual effect would be really hard to process - you'd need to follow monthly trend, through comparing year by year and divided by Line of Business... Too complex...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to reduce the complexity by one dimension - either show a stacked chart of monthly trends by Line of Business, or show a grouped chart of Monthly Trends comparing Year over Year, but without the distribution by Line of Business.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oleg Troyansky &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 00:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537749#M555002</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2013-08-28T00:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537750#M555003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 11:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537750#M555003</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-08-28T11:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537751#M555004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can convert the field name of the sales fields into a dimension, using Crosstable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crosstable(Year, Sales, 2)&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Incurred Month, Line of Business, 2013 Sales Per Member, 2012 Sales Per Member&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, Electronics, 2.19, 2.51&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, Electronics, 2.76, 2.53&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, Electronics, 2.94, 3.45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, Electronics, 3.45, 3.15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, Furniture, 9.92, 12.13&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, Furniture, 10.09, 12.65&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, Furniture, 10.59, 12.41&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, Furniture, 12.77, 12.31&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb, Kitchen, 57.48, 63.01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar, Kitchen, 59.01, 67.60&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apr, Kitchen, 60.88, 58.68&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan, Kitchen, 64.69, 66.18&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus will result a table containing Month, Line of&amp;nbsp; Business, Year and Sales.&lt;/P&gt;&lt;P&gt;Afterwards you can create a bar chart, having month and LoB as dimensions, sum(sales) as expression, and, of course, Stacked option selected within the Chart's Properties &amp;gt;&amp;gt; Style.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 12:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537751#M555004</guid>
      <dc:creator />
      <dc:date>2013-08-28T12:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537752#M555005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not familiar with the crosstable function. So this would need to be utilized in the&amp;nbsp; script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 12:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537752#M555005</guid>
      <dc:creator>zagzebski</dc:creator>
      <dc:date>2013-08-28T12:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Stack bar using a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537753#M555006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. &lt;EM&gt;Crosstable&lt;/EM&gt; is a transformation method used in the script in order to transpose your data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 12:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stack-bar-using-a-dimension/m-p/537753#M555006</guid>
      <dc:creator />
      <dc:date>2013-08-28T12:46:27Z</dc:date>
    </item>
  </channel>
</rss>

