<?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 Calculated dimensions in scattered chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427604#M567000</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;After some months following the forum I write my first post hoping someone can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a large document containing sales data. I defined an expression to calculate a "segment" to each client based on the average monthly sales range for the selected period (months).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m trying to draw a graph (not sure scattered/grid) to represent segments on the X axis. Y axis should represent total sales for clients of each segment and bubble diameter represents number of clients in the segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The X axis (segments) is defined using a calculated dimension, and maybe this is my problem. I can´t define an expression for Y axis using segment values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about defining segments in script, but that would make my graph static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a sample QVW to better explain the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone has been in a similar situation and can help where I´m absolutely stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 18:14:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-11T18:14:48Z</dc:date>
    <item>
      <title>Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427604#M567000</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;After some months following the forum I write my first post hoping someone can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a large document containing sales data. I defined an expression to calculate a "segment" to each client based on the average monthly sales range for the selected period (months).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m trying to draw a graph (not sure scattered/grid) to represent segments on the X axis. Y axis should represent total sales for clients of each segment and bubble diameter represents number of clients in the segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The X axis (segments) is defined using a calculated dimension, and maybe this is my problem. I can´t define an expression for Y axis using segment values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought about defining segments in script, but that would make my graph static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach a sample QVW to better explain the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone has been in a similar situation and can help where I´m absolutely stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 18:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427604#M567000</guid>
      <dc:creator />
      <dc:date>2012-12-11T18:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427605#M567001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try =Aggr(Sum(Sales),Client) as your second calculated dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 18:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427605#M567001</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-11T18:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427606#M567002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me that a few things about your approach need to be revised. First of all, I think you are using the wrong chart type. You are using a grid chart, but should be using a scatter chart (bottom-left icon on the General tab). Second, you should give some thought as to what a "bubble" represents. From your description, it sounds like a bubble should be a Segment. If that's the case, then it does not make sense to have the X-Axis also represent Segment...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 21:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427606#M567002</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2012-12-11T21:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427607#M567003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At first, that expression seemed to work, but the resulting dimension doesn´t aggregate client results. There are two clients in segment E, client 4 (sales 20000) and client 5 (sales 20000), and the graph shows 20000 in total for segment E instead of 40000. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried aggregating the results in the expression, but then I get a dimension error, and that´s the point where I was before.&lt;/P&gt;&lt;P&gt;=Sum(Aggr(Sum(Sales),Client))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 09:22:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427607#M567003</guid>
      <dc:creator />
      <dc:date>2012-12-12T09:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427608#M567004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I understand what you say. In your approach, data should be represented as in the image I attach.&lt;/P&gt;&lt;P&gt;It makes sense but I think the other representation does it as well and, in theory, it should be possible, and it would if segmentation was in a column in the script instead of calculated in graph dimension.&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;IMG __jive_id="26736" class="jive-image-thumbnail jive-image" onclick="" alt="scatter_chart.jpg" src="https://community.qlik.com/legacyfs/online/26736_scatter_chart.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2012 09:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427608#M567004</guid>
      <dc:creator />
      <dc:date>2012-12-12T09:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated dimensions in scattered chart</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427609#M567005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At last I followed Vlad´s advice and suggested alternative graphs at it seems that my initial approach wasn´t possible or wasn´t correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 15:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-dimensions-in-scattered-chart/m-p/427609#M567005</guid>
      <dc:creator />
      <dc:date>2012-12-18T15:54:17Z</dc:date>
    </item>
  </channel>
</rss>

