<?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 Frequency Histogram as % of Total, with Calculated Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Frequency-Histogram-as-of-Total-with-Calculated-Dimensions/m-p/716147#M538187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am struggling to create a histogram showing the count of an item as % of total across one standard dimension (Year) when the 'buckets' are a calculated dimension. Displaying the actual frequencies works fine but in order to work out percentage of total for a given year, I need to use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;count(DISTINCT &lt;STRONG&gt;total &amp;lt;Year&amp;gt;&lt;/STRONG&gt; UserID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totalling by Year (which is not a calculated dimension) does not seem to work when another calculated dimension is involved, and each row is evaluated as a proportion of itself, leading to all percentages showing as 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached simplified example in which I am counting the number of brands shopped with across two years for a handful of users. The frequency chart (top left) works fine but when trying to show it as a % of total this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note I need a solution entirely within the chart - I can't consider pre-aggregation in the load script, as my actual case needs to be far more dynamic and I can't pre-calculate every possible option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Oct 2014 14:48:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-13T14:48:40Z</dc:date>
    <item>
      <title>Frequency Histogram as % of Total, with Calculated Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Frequency-Histogram-as-of-Total-with-Calculated-Dimensions/m-p/716147#M538187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am struggling to create a histogram showing the count of an item as % of total across one standard dimension (Year) when the 'buckets' are a calculated dimension. Displaying the actual frequencies works fine but in order to work out percentage of total for a given year, I need to use the statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;count(DISTINCT &lt;STRONG&gt;total &amp;lt;Year&amp;gt;&lt;/STRONG&gt; UserID)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totalling by Year (which is not a calculated dimension) does not seem to work when another calculated dimension is involved, and each row is evaluated as a proportion of itself, leading to all percentages showing as 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached simplified example in which I am counting the number of brands shopped with across two years for a handful of users. The frequency chart (top left) works fine but when trying to show it as a % of total this does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note I need a solution entirely within the chart - I can't consider pre-aggregation in the load script, as my actual case needs to be far more dynamic and I can't pre-calculate every possible option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 14:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Frequency-Histogram-as-of-Total-with-Calculated-Dimensions/m-p/716147#M538187</guid>
      <dc:creator />
      <dc:date>2014-10-13T14:48:40Z</dc:date>
    </item>
  </channel>
</rss>

