<?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 Concatenated Dimension in Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenated-Dimension-in-Chart/m-p/473547#M557757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like a chart to handle multiple dimensions.&amp;nbsp; The bottom chart, titled Separate Dimensions, calculates correctly when in Pivot Table mode.&amp;nbsp; I have no issues with that.&amp;nbsp; When in Bar Chart mode, however, I would like to see the bars created for the last dimension (Type) only.&amp;nbsp; I understand that Bar Charts may not work that way in QlikView (or anywhere else) so I am prepared to concatenate the dimensions (except Month) into a single, concatenated Dimension.&amp;nbsp; When I do that, the bars seem grouped as I might expect for concatenated dimensions but the Percent is no longer accurate. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached QVW, please find some simplified dummy data (viewable in a Table Box) as well as 2 chart objects, which each have Fast Change icons to toggle between Bar Charts and Pivot tables so you can see what's going on.&amp;nbsp; &lt;/P&gt;&lt;P&gt; - Both charts have the same Dimensions, in the same order.&amp;nbsp; The top one has them concatenated into a single string.&amp;nbsp; The bottom has them separated out.&lt;/P&gt;&lt;P&gt; - Both charts have the same Expression for Percent.&amp;nbsp; They each also have disabled Expressions for Numerator and Denominator which you can use to see what I'm talking about.&amp;nbsp; &lt;/P&gt;&lt;P&gt; - The top chart has reasonable-looking bars but the answers are incorrect so that doesn't really help.&lt;/P&gt;&lt;P&gt; - The bottom chart has the correct calculated answers when in Pivot Table mode but not the correct bars when in Bar Chart mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option that has been suggested in-house for my REAL qvw is to add yet-another-key column but that doesn't work well when my key would need data that goes across tables - and adding new tables with the data pre-aggregated is tempting but adds to the level of complexity of unwarrented keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've also considered the aggr() function but the math seems to work just fine in the bottom grid without it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Jun 2013 17:41:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-06-14T17:41:31Z</dc:date>
    <item>
      <title>Concatenated Dimension in Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-Dimension-in-Chart/m-p/473547#M557757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I would like a chart to handle multiple dimensions.&amp;nbsp; The bottom chart, titled Separate Dimensions, calculates correctly when in Pivot Table mode.&amp;nbsp; I have no issues with that.&amp;nbsp; When in Bar Chart mode, however, I would like to see the bars created for the last dimension (Type) only.&amp;nbsp; I understand that Bar Charts may not work that way in QlikView (or anywhere else) so I am prepared to concatenate the dimensions (except Month) into a single, concatenated Dimension.&amp;nbsp; When I do that, the bars seem grouped as I might expect for concatenated dimensions but the Percent is no longer accurate. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached QVW, please find some simplified dummy data (viewable in a Table Box) as well as 2 chart objects, which each have Fast Change icons to toggle between Bar Charts and Pivot tables so you can see what's going on.&amp;nbsp; &lt;/P&gt;&lt;P&gt; - Both charts have the same Dimensions, in the same order.&amp;nbsp; The top one has them concatenated into a single string.&amp;nbsp; The bottom has them separated out.&lt;/P&gt;&lt;P&gt; - Both charts have the same Expression for Percent.&amp;nbsp; They each also have disabled Expressions for Numerator and Denominator which you can use to see what I'm talking about.&amp;nbsp; &lt;/P&gt;&lt;P&gt; - The top chart has reasonable-looking bars but the answers are incorrect so that doesn't really help.&lt;/P&gt;&lt;P&gt; - The bottom chart has the correct calculated answers when in Pivot Table mode but not the correct bars when in Bar Chart mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option that has been suggested in-house for my REAL qvw is to add yet-another-key column but that doesn't work well when my key would need data that goes across tables - and adding new tables with the data pre-aggregated is tempting but adds to the level of complexity of unwarrented keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've also considered the aggr() function but the math seems to work just fine in the bottom grid without it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2013 17:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-Dimension-in-Chart/m-p/473547#M557757</guid>
      <dc:creator />
      <dc:date>2013-06-14T17:41:31Z</dc:date>
    </item>
  </channel>
</rss>

