<?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 AW:How to make stacked-bar charts with each bar showing relative stacks. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153465#M30488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sircute123,&lt;/P&gt;&lt;P&gt;your expression is something like:&lt;/P&gt;&lt;P&gt;Sum(Value)/Sum(Total &amp;lt;Quarter&amp;gt; Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2011 08:55:35 GMT</pubDate>
    <dc:creator>brenner_martina</dc:creator>
    <dc:date>2011-03-10T08:55:35Z</dc:date>
    <item>
      <title>How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153464#M30487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement that seemed simple but once I start doing it..i got stuck [:(]&lt;/P&gt;&lt;P&gt;Let me display a rough mock up of whats required.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="error loading image" class="jive-image error-loading-image" src="https://community.qlik.com/legacyfs/online/-3757_sourceID:3757" /&gt;&lt;/P&gt;&lt;P&gt;Here, my requirement is to display the 'new joinee count' relatively for each bar..with quarter stacked. That is, each year bar will have quarter stacks. Each year bar will show as 100% and its stacks show the relative % of new joinee count for each quarter.&lt;/P&gt;&lt;P&gt;I am using QlikView 9..and my source is a data warehouse. I have YEAR and QUARTER as seperate dimensions. In expression I am giving the sum of NEW_JOINEE_FLAG from the fact table.&lt;/P&gt;&lt;P&gt;In the 'expression' tab, we have an option to check relative...but as u might know..this relativity applies across the bar..that is, it'll show how much percent of the total count over two years does each quarter for each year has. So am totaly stuck here..I feel that there's no inbuilt function for this and there need to be some kind of set analysis expression solution for this.&lt;/P&gt;&lt;P&gt;Expecting guidance from the experts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 08:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153464#M30487</guid>
      <dc:creator />
      <dc:date>2011-03-10T08:31:21Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153465#M30488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sircute123,&lt;/P&gt;&lt;P&gt;your expression is something like:&lt;/P&gt;&lt;P&gt;Sum(Value)/Sum(Total &amp;lt;Quarter&amp;gt; Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 08:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153465#M30488</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-03-10T08:55:35Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153466#M30489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martina,&lt;/P&gt;&lt;P&gt;still some issues and it is not working as expected when I tried it the way you suggested.&lt;/P&gt;&lt;P&gt;I gave it like&lt;/P&gt;&lt;P&gt;Sum (NEW_JOINEE_FLAG) /sum(Total&amp;lt;QUARTER_ABBR&amp;gt; NEW_JOINEE_FLAG)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 09:40:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153466#M30489</guid>
      <dc:creator />
      <dc:date>2011-03-10T09:40:35Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153467#M30490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just thinking the logic visulizing just one bar...&lt;/P&gt;&lt;P&gt;So one bar (one year) will show 100% with quarters as stacked, showing their individual contribution % to make it 100%.&lt;/P&gt;&lt;P&gt;so the expression should be like&lt;/P&gt;&lt;P&gt;(total new joinee count for a quarter (of a year) / total new joinee count of the very same year)&lt;/P&gt;&lt;P&gt;but am not proficient enough to convert it to qlikview set expression .. &lt;IMG alt="Sad" src="http://community.qlik.com/emoticons/emotion-6.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 10:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153467#M30490</guid>
      <dc:creator />
      <dc:date>2011-03-10T10:05:10Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153468#M30491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing QUARTER_ABBR to YEAR in the above expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 10:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153468#M30491</guid>
      <dc:creator />
      <dc:date>2011-03-10T10:08:42Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153469#M30492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks iassen... &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt; it worked finally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sum (NEW_JOINEE_FLAG) /sum(Total&amp;lt;YEAR_NUM&amp;gt; NEW_JOINEE_FLAG))*100&lt;/P&gt;&lt;P&gt;and Martina..thanks for giving the initial hint &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;@ iassen : I am coming across this sum(Total&amp;lt;&amp;gt; value) kind of expression for the first time. It'd be great if you can let me know what it actually does.&lt;/P&gt;&lt;P&gt;If my understanding is correct, from this experience, I feel that the numerator specifies the general expression and denominator tells that its relative specific to each year... Am i right there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 10:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153469#M30492</guid>
      <dc:creator />
      <dc:date>2011-03-10T10:29:35Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153470#M30493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum (NEW_JOINEE_FLAG) - returns the summation of NEW_JOINEE_FLAG for each combination of dimensions that you have in your chart, and in this case that is for each year/quarter combination.&lt;/P&gt;&lt;P&gt;sum(Total&amp;lt;YEAR_NUM&amp;gt; NEW_JOINEE_FLAG) - returns the summation of NEW_JOINEE_FLAG only for the dimension(s) mentioned in the brackets and disregarding the rest of the dimensions that you might have in your chart, and in this case that is the year and the quarter is getting ignored, so for all quarters in the same year, you will get the same value.&lt;/P&gt;&lt;P&gt;HINT: You don't need the (*100) part. Instead, try checking the "Show in Percent (%)" setting for your expression in the properties of your chart, in tab Numbers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 10:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153470#M30493</guid>
      <dc:creator />
      <dc:date>2011-03-10T10:38:23Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153471#M30494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot iassen &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;that was very informative..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 13:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153471#M30494</guid>
      <dc:creator />
      <dc:date>2011-03-10T13:01:10Z</dc:date>
    </item>
    <item>
      <title>AW:How to make stacked-bar charts with each bar showing relative stacks.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153472#M30495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 13:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-stacked-bar-charts-with-each-bar-showing-relative/m-p/153472#M30495</guid>
      <dc:creator />
      <dc:date>2011-03-10T13:27:25Z</dc:date>
    </item>
  </channel>
</rss>

