<?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: grouped and stacked bar charts issues in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801913#M1034391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, but if I do&amp;nbsp; what you suggested I lose the "grouped" feature ... and I definetly need to display as groups. Isn't there any other possibility? I am also in the situation that I can change the structure of my data source, so the most important is that I can realize the shown bar format. Any ideas someone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 09:12:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-16T09:12:51Z</dc:date>
    <item>
      <title>grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801911#M1034389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hey all,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I try to realize a flexible grouped and stacked bar chart. The main aspect is to show data of different people in two dimensions. First dimension is the year and second a category. The data should be stacked and grouped at the same time. Until now I got all this done and it works quite fine, but I also would like to get some flexibility in changing the apperance of the bar chart by selecting combinations.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Following table is my data source.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;year&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;category&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Peter&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Paul&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Tobias&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2014&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;10&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;45&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;DIV&gt;2016&lt;/DIV&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;21&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;In the load script I simply loaded this table and created a combination of year and category.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;data:&lt;BR /&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ategory&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Peter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Paul&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Tobias&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;amp;'-'&amp;amp; c&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ategory&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;combination&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; sample_data.xlsx&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ooxml&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Tabble1); &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;The bar chart result works as defined: &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="75468" alt="bar-chart-normal.png" class="image-1 jive-image" height="278" src="https://community.qlik.com/legacyfs/online/75468_bar-chart-normal.png" width="392" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;But when I want to display data in a flexible way I stand in front of a big problem. How can I disable the display of the empty dimensions? The result just should display year 2014 with category A &amp;amp; B, year 2015 only with category B, and year 2016 only with categroy A. So the "empty" dimension should disappear. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="75469" alt="flexible.png" class="image-1 jive-image" height="323" src="https://community.qlik.com/legacyfs/online/75469_flexible.png" width="449" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;I tried to write some if-functions in the dimensions area. So something like if(sum of data in this dimension is &amp;lt;= 0, 0, year). But it didn't work out ...&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks for reply!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;BR&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;Henrik&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801911#M1034389</guid>
      <dc:creator />
      <dc:date>2015-01-16T08:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801912#M1034390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't if you want to use two dimensions for the x-axis. You can try using a calculated dimension that concatenates the Year and Category dimensions: = Year &amp;amp; ' - ' &amp;amp; Category.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801912#M1034390</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-16T08:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801913#M1034391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, but if I do&amp;nbsp; what you suggested I lose the "grouped" feature ... and I definetly need to display as groups. Isn't there any other possibility? I am also in the situation that I can change the structure of my data source, so the most important is that I can realize the shown bar format. Any ideas someone?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 09:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801913#M1034391</guid>
      <dc:creator />
      <dc:date>2015-01-16T09:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801914#M1034392</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;You can simply go to chart properties and under the dimension tab just select the check box displaying 'Suppress when value is null '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 09:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801914#M1034392</guid>
      <dc:creator />
      <dc:date>2015-01-16T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801915#M1034393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that was the first thing I tried, but unfortunately it doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 09:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801915#M1034393</guid>
      <dc:creator />
      <dc:date>2015-01-16T09:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801916#M1034394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does really no one see a solution for my problem? I am still struggeling with that. And again I am 100% flexible with the table structure!!! I just need to realise the diagram results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 10:52:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801916#M1034394</guid>
      <dc:creator />
      <dc:date>2015-01-28T10:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: grouped and stacked bar charts issues</title>
      <link>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801917#M1034395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want the grouped feature, but you don't want it to act like the grouped feature. Well, that's simply not possible. If you use two dimensions on the same axis then space is reserved for each dimension value (A and B in your example) even if no data is available.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 13:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/grouped-and-stacked-bar-charts-issues/m-p/801917#M1034395</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-01-28T13:07:03Z</dc:date>
    </item>
  </channel>
</rss>

