<?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 Multiple cummulative distribution functions (CDFs) in one chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269924#M578850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I do remove the [my_product] from the dimension, it will result in showing only 1 CDF if I select both apples and bananas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I try to see is a CDF for each one of them going up to 100%.&lt;/P&gt;&lt;P&gt;Do you know of any other way to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2012 08:14:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-02-13T08:14:15Z</dc:date>
    <item>
      <title>Multiple cummulative distribution functions (CDFs) in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269922#M578848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, I can create a cumulative distribution by using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Class(my_value,1)&lt;/P&gt;&lt;P&gt;my_product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;count(my_product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tick Relative &amp;amp; Full accumulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine for one CDF so probability goes from&amp;nbsp; 0 to 100% but if I add another my_product, it will split the count between those two,&lt;/P&gt;&lt;P&gt;so I will have 1 CDF going from 0 - 60% second one from 0 - 40% which adds up to 100%...but I want them both to go to 100%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: josljosl&#xD;
&#xD;
Adding example charts, the good one goes from 0 - 100%, the bad one is only up to 0 - 60%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 09:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269922#M578848</guid>
      <dc:creator />
      <dc:date>2012-02-10T09:17:32Z</dc:date>
    </item>
    <item>
      <title>Multiple cummulative distribution functions (CDFs) in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269923#M578849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's the second dimension my_product that is causing the two lines. If you get rid of it, you will not have this problem and the cumulative amount will be the total for both products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Feb 2012 08:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269923#M578849</guid>
      <dc:creator />
      <dc:date>2012-02-11T08:21:33Z</dc:date>
    </item>
    <item>
      <title>Multiple cummulative distribution functions (CDFs) in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269924#M578850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erica,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I do remove the [my_product] from the dimension, it will result in showing only 1 CDF if I select both apples and bananas. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I try to see is a CDF for each one of them going up to 100%.&lt;/P&gt;&lt;P&gt;Do you know of any other way to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2012 08:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269924#M578850</guid>
      <dc:creator />
      <dc:date>2012-02-13T08:14:15Z</dc:date>
    </item>
    <item>
      <title>Multiple cummulative distribution functions (CDFs) in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269925#M578851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Jos, I wasn't clear what you wanted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "relative" button only calculates the distribution relative to the entire total of the expression. This is equivalent to&lt;/P&gt;&lt;P&gt;[unticking relative]&lt;/P&gt;&lt;P&gt;=count(my_product)/count(total my_product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case your chart is calculating&lt;/P&gt;&lt;P&gt;[cumulative apples] / [total cumulative apples and bananas] as a %&lt;/P&gt;&lt;P&gt; resulting in the unusual total %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To fix this, you need to do the expression manually, then divide by the &lt;STRONG&gt;total of just the fruit&lt;/STRONG&gt;. To do this, use the &amp;lt;&amp;gt; brackets after the total to total by just the type of fruit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Untick the relative box, and enter in&lt;/P&gt;&lt;P&gt;=count(my_product)/count ( total &amp;lt;my_product&amp;gt; my_product)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as the expression. This should solve your problem.&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;Erica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 22:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269925#M578851</guid>
      <dc:creator />
      <dc:date>2012-02-15T22:32:35Z</dc:date>
    </item>
    <item>
      <title>Multiple cummulative distribution functions (CDFs) in one chart</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269926#M578852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erica, that did the trick !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 16:54:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-cummulative-distribution-functions-CDFs-in-one-chart/m-p/269926#M578852</guid>
      <dc:creator />
      <dc:date>2012-02-20T16:54:03Z</dc:date>
    </item>
  </channel>
</rss>

