<?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 Scatter chart shows unexpected behaviour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173667#M42763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have tried to understand scatter charts in qlik but am stuck now as I can not see how it works.&lt;/P&gt;&lt;P&gt;I am using a simple table with id, x, y, cat fields&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt; id,x, y, cat&lt;BR /&gt; 1,5, 5, 11&lt;BR /&gt; 2,7, 6, 12&lt;BR /&gt; 3,10, 6, 12&lt;BR /&gt; 4,8, 6, 12&lt;BR /&gt; 5,3, 5, 15&lt;BR /&gt; 6,3, 4, 16&lt;BR /&gt; 7,3, 3, 17&lt;BR /&gt; 8,3, 2, 18&lt;BR /&gt; 9,3, 1, 19&lt;BR /&gt; 10,4, 1,20&lt;BR /&gt; 11,4,2,5&lt;BR /&gt; 12,4,3,5&lt;BR /&gt; 13,4,4,5&lt;BR /&gt; 14,4,5,5&lt;BR /&gt; 15,4,6,5&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I create a scatter chart and assign cat as dimension, x and y as expression.&lt;/P&gt;&lt;P&gt;This shows correct results only for data that has a unique category value. For the category 5 and 12, which have multiple positions, the chart shows nothing.&lt;/P&gt;&lt;P&gt;If I add the id field as first dimension (category second) the chart looks correct but only as long as I have more then one category in my selected data. Making a single category selection removes the category from the chart, shows the id as legend and assigns symbols/colors based on id instead of category.&lt;/P&gt;&lt;P&gt;Any workaround for this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 15:02:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-09-02T15:02:00Z</dc:date>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173667#M42763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have tried to understand scatter charts in qlik but am stuck now as I can not see how it works.&lt;/P&gt;&lt;P&gt;I am using a simple table with id, x, y, cat fields&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;BR /&gt; id,x, y, cat&lt;BR /&gt; 1,5, 5, 11&lt;BR /&gt; 2,7, 6, 12&lt;BR /&gt; 3,10, 6, 12&lt;BR /&gt; 4,8, 6, 12&lt;BR /&gt; 5,3, 5, 15&lt;BR /&gt; 6,3, 4, 16&lt;BR /&gt; 7,3, 3, 17&lt;BR /&gt; 8,3, 2, 18&lt;BR /&gt; 9,3, 1, 19&lt;BR /&gt; 10,4, 1,20&lt;BR /&gt; 11,4,2,5&lt;BR /&gt; 12,4,3,5&lt;BR /&gt; 13,4,4,5&lt;BR /&gt; 14,4,5,5&lt;BR /&gt; 15,4,6,5&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;I create a scatter chart and assign cat as dimension, x and y as expression.&lt;/P&gt;&lt;P&gt;This shows correct results only for data that has a unique category value. For the category 5 and 12, which have multiple positions, the chart shows nothing.&lt;/P&gt;&lt;P&gt;If I add the id field as first dimension (category second) the chart looks correct but only as long as I have more then one category in my selected data. Making a single category selection removes the category from the chart, shows the id as legend and assigns symbols/colors based on id instead of category.&lt;/P&gt;&lt;P&gt;Any workaround for this?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 15:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173667#M42763</guid>
      <dc:creator />
      <dc:date>2009-09-02T15:02:00Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173668#M42764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;think that you have to enter an aggregation-formula as expression, i.e. Sum(x) and Sum(y)&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 15:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173668#M42764</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2009-09-02T15:15:08Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173669#M42765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;tried this but it shows the same behaviour&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 15:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173669#M42765</guid>
      <dc:creator />
      <dc:date>2009-09-02T15:24:39Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173670#M42766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The scatter chart will try toshow one data point for each unique combination of values in the dimensions, so giving only cat as the dimension will generate 1 datapoint for each value of cat, however if you have x, and y as expressions these will evaluate to NULL for cases where there is more than 1 unique value of x or y that value of cat.&lt;/P&gt;&lt;P&gt;As for the legend problem with your second approach, the legend is shown for the last non-degenerate dimension, so as soon as you select a single value from cat, that dimension will be degenerate and the legend will instead show id. You can turn off show legend on the id dimension to not show it, it will however then not show any legend for when a single value of cat is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 16:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173670#M42766</guid>
      <dc:creator>kji</dc:creator>
      <dc:date>2009-09-02T16:11:01Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173671#M42767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;P&gt;Thanks for your explanations to understand what is going on behind the scenes.&lt;/P&gt;&lt;P&gt;What I actually try to achieve is showing stoppoints and buses on a scatter diagram with a google map background (as of map examples found in the share area).&lt;/P&gt;&lt;P&gt;I thought I could simply mix the locations and add the according category to distinct the 2 types of markers on the map.&lt;/P&gt;&lt;P&gt;What I would need then is a more sophisticated version of the scatter chart that would allow to bind dimensions to layers?&lt;/P&gt;&lt;P&gt;I thought of adding multiple scatter charts on top of each other with transparent backgrounds beside the lowest one showing the map but then I lose the option to select markers and show popups (beside being a nighmare to handle the "layers" for changes).&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;P&gt;Thanks, Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 16:55:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173671#M42767</guid>
      <dc:creator />
      <dc:date>2009-09-02T16:55:27Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173672#M42768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't fiddled with maps, but if you make id the dimension, it will plot all the points at their X,Y coordinates. You can add cat as a second dimension as well, in which case each cat will get its own color, and it will connect the points. You can remove the lines or the symbols if desired on the presentation tab. Probably lots of other formatting that you can do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Sep 2009 03:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173672#M42768</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-09-03T03:15:26Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173673#M42769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-style: italic"&gt;"if you have x, and y as expressions these will evaluate to NULL for cases where there is more than 1 unique value of x or y that value of cat."&lt;/P&gt;&lt;P&gt;I'm having the same problem. Is there a way around this? It seems that you should be able to set the dimension to something than can appear more than once in the data set and have the scatter chart plot the expressions as needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173673#M42769</guid>
      <dc:creator />
      <dc:date>2009-11-17T22:40:08Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173674#M42770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;I assume you have to use an artificial ID which is kept unique when loading the data, then have x,y give the position.&lt;/P&gt;&lt;P&gt;The control of the different shapes however looks hard coded and wasn't really what I was looking for.&lt;/P&gt;&lt;P&gt;It's amazing what these map-guys did but - from my point of view - it touches the edges of what can be done at the moment with maps in qlik.&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 22:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173674#M42770</guid>
      <dc:creator />
      <dc:date>2009-11-17T22:55:25Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173675#M42771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;John Banta wrote:&lt;I&gt;"if you have x, and y as expressions these will evaluate to NULL for cases where there is more than 1 unique value of x or y that value of cat."&lt;/I&gt;&lt;BR /&gt;I'm having the same problem. Is there a way around this? It seems that you should be able to set the dimension to something than can appear more than once in the data set and have the scatter chart plot the expressions as needed.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I'm not understanding the problem or what you want to see. Can you post a QVD demonstrating the problem with an explanation of what you want instead from the same data set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173675#M42771</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-17T23:33:23Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173676#M42772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;juergm wrote: I assume you have to use an artificial ID which is kept unique when loading the data, then have x,y give the position.&lt;BR /&gt;&lt;BR /&gt;The control of the different shapes however looks hard coded and wasn't really what I was looking for.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;I just used the data set given in the original post. I don't know if the ID given was "artificial" or not. That said, if I was trying to plot something that should be unique, I would use a unique ID. If there wasn't a unique ID from my source, then I would assign a unique ID, probably with recno() during the load.&lt;/P&gt;&lt;P&gt;I'm not sure what you mean by the control of the different shapes. You mean the big X I used for each data point? The symbol(s) used are controlled by Chart Properties -&amp;gt; Style -&amp;gt; Look, and the size by Chart Properties -&amp;gt; Presentation -&amp;gt; Representation -&amp;gt; Symbol Size. Did you want more control still, like assigning a particular symbol to a particular category of data?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 23:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173676#M42772</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-11-17T23:40:04Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173677#M42773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John&lt;/P&gt;&lt;P&gt;It was a requirement to show different objects and events on a map background and have the symbol represent the type of object / event, yes.&lt;/P&gt;&lt;P&gt;However my customer wanted more than 20 different symbols / icons and making them freely assignable to the object/event types. In addition not only fixed icons but also small diagrams showing variable values, some rotated to fit to the street direction - so rather in the way of using shape files to define the symbol.&lt;/P&gt;&lt;P&gt;Also the examples with the map would need to be extended to react to panning and zooming so not only showing points based on selections but impact selections based on map changes.&lt;/P&gt;&lt;P&gt;I was referring to the "edge" because a lot of calculation for the map representation is in the user code and not "inherent" to Qlik.&lt;/P&gt;&lt;P&gt;Jürg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 14:50:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173677#M42773</guid>
      <dc:creator />
      <dc:date>2009-11-18T14:50:58Z</dc:date>
    </item>
    <item>
      <title>Scatter chart shows unexpected behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173678#M42774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to figure it out after further tinkering. I had an issue in one of the calculated expressions that prevented the multiple instances to be aggregated correctly. Since they were not aggregating/summing, they wouldnt display at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2009 05:49:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scatter-chart-shows-unexpected-behaviour/m-p/173678#M42774</guid>
      <dc:creator />
      <dc:date>2009-11-19T05:49:32Z</dc:date>
    </item>
  </channel>
</rss>

