<?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: Stacked Bar Charts &amp;amp; Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Charts-amp-Dimensions/m-p/1723954#M506087</link>
    <description>&lt;P&gt;Generally to receive help on these types of questions, you will need to submit a sample QVW file/application such that the Members can see the actual data model and expressions being used to try to assist in providing ideas on how to go about things.&amp;nbsp; Without the additional information, it is less likely you will get the help you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best area to which I could point you to look around would be the Design Blog area:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may be able to find some posts there that will put you on the right track.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2020 11:40:07 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2020-07-01T11:40:07Z</dc:date>
    <item>
      <title>Stacked Bar Charts &amp; Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Charts-amp-Dimensions/m-p/1708236#M506086</link>
      <description>&lt;P&gt;Hello all!&lt;/P&gt;&lt;P&gt;I'm working on a stacked bar chart which aims to provide two sets of related data. Not sure how to achieve this though.&lt;/P&gt;&lt;P&gt;Let's say the aim is to provide view of 'Predicted Sales' and 'Actual Sales' across 3 types of Products (Bakery, Canned Goods and Frozen Foods), the result being 6 bars with 'Predicted Sales' to one side and 'Actual Sales' to the other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What I have so far is something like:&lt;/P&gt;&lt;P&gt;=IF(MATCH(Product,'Bakery'),'Bakery',IF(MATCH(Product,'Canned Goods'),'Canned Goods',IF(MATCH(Product,'Frozen Foods'),'Frozen Foods')))&lt;/P&gt;&lt;P&gt;This will give me 3 bars. I'm not sure how to add in Fields [Predicted Sales] and [Actual Sales] in to this to split them out, result in 6 bars. No doubt an AND statement is missing, but again unsure how to apply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Measures&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have a multiple measures which then create the stacked volumes using code like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Bakery:&amp;nbsp;&lt;/EM&gt;SUM({[Produce]={'Bread','Pastry','Cake',}}[Actual Sales])&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Canned Goods&lt;/EM&gt;:&amp;nbsp;SUM({[Produce]={'Beans','Peas','Soup'}}[Actual Sales])&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Frozen Foods&lt;/EM&gt;:&amp;nbsp;SUM({[Produce]={'Frozen Vegetables','Ice Cream','Frozen Pizza',}}[Actual Sales])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll need to add the same again for [Predicted Sales] once the Dimension is updated to handle it. For now they only add to the existing 3 bars if I do. Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 14:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Charts-amp-Dimensions/m-p/1708236#M506086</guid>
      <dc:creator>Luigi_Qlik</dc:creator>
      <dc:date>2020-06-04T14:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar Charts &amp; Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Stacked-Bar-Charts-amp-Dimensions/m-p/1723954#M506087</link>
      <description>&lt;P&gt;Generally to receive help on these types of questions, you will need to submit a sample QVW file/application such that the Members can see the actual data model and expressions being used to try to assist in providing ideas on how to go about things.&amp;nbsp; Without the additional information, it is less likely you will get the help you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The best area to which I could point you to look around would be the Design Blog area:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may be able to find some posts there that will put you on the right track.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 11:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stacked-Bar-Charts-amp-Dimensions/m-p/1723954#M506087</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-07-01T11:40:07Z</dc:date>
    </item>
  </channel>
</rss>

