<?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 Histogram chart with percentages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373208#M138770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i display a histogram as attached (target histogram JPEG file).&lt;/P&gt;&lt;P&gt;I am able to display for each quarter Q1-11,....Q1-12 the amounts (see already done JPEG file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact what i want is to display for each quarter the percentage of each range (&amp;lt;10%,10-20%,.....) against 100% witch represents the total amount for the quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the amount for quarter 1-2011: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;38.581.634------------------&amp;gt;100%&lt;/P&gt;&lt;P&gt;17.676.848------------------&amp;gt; V %&amp;nbsp; (represented by green color 30-40%)&lt;/P&gt;&lt;P&gt;7.579.600--------------------&amp;gt; W %&lt;/P&gt;&lt;P&gt;1.346.846--------------------&amp;gt; X&amp;nbsp; %&lt;/P&gt;&lt;P&gt;8.355.787--------------------&amp;gt; Y %&lt;/P&gt;&lt;P&gt;3.622.551--------------------&amp;gt; Z %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where V+W+X+Y+Z=100 % !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 15:34:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-28T15:34:02Z</dc:date>
    <item>
      <title>Histogram chart with percentages</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373208#M138770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i display a histogram as attached (target histogram JPEG file).&lt;/P&gt;&lt;P&gt;I am able to display for each quarter Q1-11,....Q1-12 the amounts (see already done JPEG file).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact what i want is to display for each quarter the percentage of each range (&amp;lt;10%,10-20%,.....) against 100% witch represents the total amount for the quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example the amount for quarter 1-2011: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;38.581.634------------------&amp;gt;100%&lt;/P&gt;&lt;P&gt;17.676.848------------------&amp;gt; V %&amp;nbsp; (represented by green color 30-40%)&lt;/P&gt;&lt;P&gt;7.579.600--------------------&amp;gt; W %&lt;/P&gt;&lt;P&gt;1.346.846--------------------&amp;gt; X&amp;nbsp; %&lt;/P&gt;&lt;P&gt;8.355.787--------------------&amp;gt; Y %&lt;/P&gt;&lt;P&gt;3.622.551--------------------&amp;gt; Z %&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where V+W+X+Y+Z=100 % !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 15:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373208#M138770</guid>
      <dc:creator />
      <dc:date>2012-06-28T15:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram chart with percentages</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373209#M138771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your expression, you probably want to divide your sum(Amount) by the sum(Amount) per quarter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=sum(Amount) / sum(total&amp;lt;Quarter&amp;gt; Amount)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Quarter is your Quarter dimension field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then change the number format to percentage in number tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 15:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373209#M138771</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-28T15:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram chart with percentages</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373210#M138772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your formula but it didn't work.&lt;/P&gt;&lt;P&gt;In fact i have to manage quarters for several years , so i created i calculated dimension as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil(Month(date)/3) &amp;amp;'-' &amp;amp; year(date), so it displays 1-2011,2-2011 and so on.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i apply your formula using the above dimension i have error : "no data to display"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 08:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373210#M138772</guid>
      <dc:creator />
      <dc:date>2012-06-29T08:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram chart with percentages</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373211#M138773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to list fields in the list after the total (within the &amp;lt;..&amp;gt;), I believe calculated dimensions won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating an additional field in your data model, where you create your calendar fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;date,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ceil(Month(date)/3) &amp;amp;'-' &amp;amp; year(date) as QuarterYear,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM ...;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use QuarterYear in your chart as dimension and in the total qualifier field list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 08:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373211#M138773</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-06-29T08:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Histogram chart with percentages</title>
      <link>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373212#M138774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you stefan for your help. It worked as you showed!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards &lt;/P&gt;&lt;P&gt;Cherif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2012 08:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Histogram-chart-with-percentages/m-p/373212#M138774</guid>
      <dc:creator />
      <dc:date>2012-07-02T08:06:31Z</dc:date>
    </item>
  </channel>
</rss>

