<?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: Ratio in a bar chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152733#M888098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Frequency)/(Sum(TOTAL &amp;lt;Month&amp;gt; Frequency)-Sum(Frequency)) should work. Can you share your app please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Sep 2016 16:02:13 GMT</pubDate>
    <dc:creator>Jason_Michaelides</dc:creator>
    <dc:date>2016-09-07T16:02:13Z</dc:date>
    <item>
      <title>Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152729#M888094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still a rookie and need some simple help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I show the ratio within a field in a bar chart every month? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fx. for one month I have a field "PRODUCT" within the field i have "Product 1" "Product 2" etc. If I chose "Product 1" I can see that it has been sold 10 times(frequency), for "Product 2" 30 times&lt;SPAN style="font-size: 13.3333px;"&gt;(frequency)&lt;/SPAN&gt; etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make a bar that show the ratio between "Product 1" and the others. If we only had the two products for one month the ratio would be 10/30 = 33.3 %. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need me to clarify anything &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152729#M888094</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152730#M888095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Frequency)/(Sum(TOTAL Frequency)-Sum(Frequency))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 16:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152730#M888095</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2016-09-06T16:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152731#M888096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3366ff;"&gt;MonthYearField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PRODUCT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(PRODUCT)/(Count(TOTAL &amp;lt;&lt;SPAN style="color: #3366ff;"&gt;MonthYearField&lt;/SPAN&gt;&amp;gt; PRODUCT) - &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Count(PRODUCT))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152731#M888096</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-06T23:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152732#M888097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have chosen Month and Product as dimension and as expression the text you have wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values are wrong and I get a bar chart with all the products I have, I only need to show Product 1 / Product(all products) and then on a monthly basis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 07:13:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152732#M888097</guid>
      <dc:creator />
      <dc:date>2016-09-07T07:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152733#M888098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Frequency)/(Sum(TOTAL &amp;lt;Month&amp;gt; Frequency)-Sum(Frequency)) should work. Can you share your app please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152733#M888098</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2016-09-07T16:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152734#M888099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you replace MonthYearField with Month? MonthYearField was a placeholder and needed to be replaced with the field you were using in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;A href="https://community.qlik.com/people/jason.michaelides"&gt;jason.michaelides&lt;/A&gt;‌ mentioned, try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(Frequency)/(Sum(TOTAL &amp;lt;Month&amp;gt; Frequency)-Sum(Frequency))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 16:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152734#M888099</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-07T16:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152735#M888100</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;one example might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/136762_QlikCommunity_Thread_231679_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/136756_QlikCommunity_Thread_231679_Pic1.JPG" style="max-width: 620px; height: auto;" /&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/136760_QlikCommunity_Thread_231679_Pic2.JPG" style="height: 355px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic4.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/136763_QlikCommunity_Thread_231679_Pic4.JPG" style="height: 358px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic5.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/136764_QlikCommunity_Thread_231679_Pic5.JPG" style="height: 356px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic6.JPG" class="jive-image image-6" src="https://community.qlik.com/legacyfs/online/136765_QlikCommunity_Thread_231679_Pic6.JPG" style="height: 255px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic7.JPG" class="jive-image image-7" src="https://community.qlik.com/legacyfs/online/136766_QlikCommunity_Thread_231679_Pic7.JPG" style="height: 327px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;or to avoid "Errors in expression" enumerating all fields of the dimension group in the total qualifier (instead of the group name itself): &lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic8.JPG" class="image-8 jive-image" src="https://community.qlik.com/legacyfs/online/136767_QlikCommunity_Thread_231679_Pic8.JPG" style="height: 89px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One note: If you compared the sales of one product to the sales of all products (including itself), the usage of stacked bars might be an option:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_231679_Pic9.JPG" class="image-9 jive-image" src="https://community.qlik.com/legacyfs/online/136768_QlikCommunity_Thread_231679_Pic9.JPG" style="height: 351px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&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;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 00:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152735#M888100</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-09-08T00:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152736#M888101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked! Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 07:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152736#M888101</guid>
      <dc:creator />
      <dc:date>2016-09-09T07:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ratio in a bar chart</title>
      <link>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152737#M888102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working - thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 07:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Ratio-in-a-bar-chart/m-p/1152737#M888102</guid>
      <dc:creator />
      <dc:date>2016-09-09T07:56:00Z</dc:date>
    </item>
  </channel>
</rss>

