<?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: Restricting Data Basis for Scatter Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643000#M235591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need an aggregation function around your expression. &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you you should probably change your "OR" to an "AND".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 15:41:01 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2014-06-10T15:41:01Z</dc:date>
    <item>
      <title>Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642987#M235578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i have two scatter charts.&lt;/P&gt;&lt;P&gt;Each has to use different data basis ie - i have only one table and the first chart has to use the whole dataset, and the second chart has to use only subset of the initial dataset.&lt;/P&gt;&lt;P&gt;My question is - when defining dimension in scatter chart (it's actually bubble chart) how can I make this SUBSET available to the chart?&lt;BR /&gt;Now both charts have the following dimensin "Unique_ID".&lt;/P&gt;&lt;P&gt;The second chart has to have Unique_ID when the condition is met - when values in a column&amp;nbsp; "M" are not NULL and are not empty strings. &lt;/P&gt;&lt;P&gt;How can I implement this behaviour? With set analysis syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 13:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642987#M235578</guid>
      <dc:creator />
      <dc:date>2014-06-06T13:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642988#M235579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expressions in a Scatter chart are the x and y positions of the dots. If you use an expression like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Avg( If( Len(Trim( M )) &amp;gt;0, Xpos )) &lt;/P&gt;&lt;P&gt;you will restrict the number of data points just like you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To use set analysis, it is simplest if you define the above condition as a field in the script:&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Len(Trim( M )) &amp;gt;0, 1, 0 ) as M_IsOK&lt;/P&gt;&lt;P&gt;and then use the following expression&lt;/P&gt;&lt;P&gt;&amp;nbsp; Avg( {$&amp;lt;M_IsOK={1}&amp;gt;} Xpos )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642988#M235579</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-06T14:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642989#M235580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Henric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it best practice to always put the $ identifier rather than leave it blank?&amp;nbsp; I am hosting a webinar today on set analysis and would like to clarify that if there is a compelling reason to include rather than exclude as the default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642989#M235580</guid>
      <dc:creator />
      <dc:date>2014-06-06T14:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642990#M235581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The $ identifier denotes that you're specifying the set that you're looking at are the current selections.&amp;nbsp; In most cases you'll probably want to use that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:22:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642990#M235581</guid>
      <dc:creator />
      <dc:date>2014-06-06T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642991#M235582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, there is no compelling reason in one or the other direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I personally think it is important to be explicit - so my code and my formulas are easy to read. So I always use {$&amp;lt;...&amp;gt;} instead of {&amp;lt;...&amp;gt;}, so the dollar sign is clearly visible. But the two expressions are in most cases the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only case when they are not the same, is if you use alternate states. Then {$&amp;lt;...&amp;gt;} means &lt;EM&gt;&lt;STRONG&gt;default state&lt;/STRONG&gt;&lt;/EM&gt; whereas {&amp;lt;...&amp;gt;} means &lt;EM&gt;&lt;STRONG&gt;inherited state&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image4.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60245_Image4.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642991#M235582</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-06T14:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642992#M235583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you Henric!&amp;nbsp; One more question I want to clarify before my webinar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the -= (not equal to) is always followed by the red underline indicating an error in the formula even though it works.&amp;nbsp; Is this a bug or is there another step needed to take to remove this.&amp;nbsp; I have just lived with it over the years.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok, maybe 2 questions&lt;/P&gt;&lt;P&gt;In addition, when you put in a field name in an aggregate function and you do not get the case correct but you spelled it correctly, it will not give you an error indicator but the expression will obviously not work.&amp;nbsp; We found this at at the first master summit and it took us a bit to notice the case problem.&amp;nbsp; Is this also a bug or is it just not possible for it to recognize case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:38:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642992#M235583</guid>
      <dc:creator />
      <dc:date>2014-06-06T14:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642993#M235584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert.&amp;nbsp; Using the $ is the same as omitting it so i was wanting to confirm if there is any reason at all that would benefit by including rather than omitting it as default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:46:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642993#M235584</guid>
      <dc:creator />
      <dc:date>2014-06-06T14:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642994#M235585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found in my limited experience that the editor is not always accurate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642994#M235585</guid>
      <dc:creator />
      <dc:date>2014-06-06T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642995#M235586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob, would love to get your feedback on other things you may have noticed.&amp;nbsp; So far I have only experienced the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-= issue and the case issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working with Qlikview for about 7 years now I think, I am losing track but I am still learning new things every single day.&amp;nbsp; There is so much flexibility with Qlikview. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 15:02:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642995#M235586</guid>
      <dc:creator />
      <dc:date>2014-06-06T15:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642996#M235587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you could classify both as bugs. The problem is that the color coding doesn't always follow syntax...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 15:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642996#M235587</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-06T15:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642997#M235588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jacob is basically saying that sometimes the editor will say an expression is invalid, when, in fact, it is a correct and legitimate expression that runs completely fine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 19:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642997#M235588</guid>
      <dc:creator />
      <dc:date>2014-06-06T19:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642998#M235589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a open url action associated with a button, and within this I use dollar sign expansion with a subfield(concat()) statement. Towards the end of the concat statement and for the rest of my url expression everything is underlined red. However at the top left it says Expression OK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 19:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642998#M235589</guid>
      <dc:creator />
      <dc:date>2014-06-06T19:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642999#M235590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not getting the output I was expecting.&lt;/P&gt;&lt;P&gt;The expression I am using is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;If( Len(Trim( M )) &amp;gt; 0&lt;/TD&gt;&lt;TD&gt;OR&lt;/TD&gt;&lt;TD&gt;M &amp;lt;&amp;gt; 0, &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do-the-calculation-you-should-do&lt;/P&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, when I select "0" from the field, I get the same dots on the left graph (which should take the reduced data set and where I did implemented the formula above) as in the right graph (the whole dataset is basis for this graph.)&lt;/P&gt;&lt;P&gt;By the way - the M attribute is defined as INTEGER in database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="upload.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60386_upload.png" style="width: 620px; height: 213px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/642999#M235590</guid>
      <dc:creator />
      <dc:date>2014-06-10T15:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643000#M235591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need an aggregation function around your expression. &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you you should probably change your "OR" to an "AND".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 15:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643000#M235591</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-10T15:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643001#M235592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Henric! It worked when I changed "OR" operator into "AND".&lt;BR /&gt;However, why should I use an&amp;nbsp; aggregation function?&lt;/P&gt;&lt;P&gt;Here is my complete expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;If( Len(Trim( DSL_BB_Down )) &amp;gt; 0&lt;/TD&gt;&lt;TD&gt;AND&lt;/TD&gt;&lt;TD&gt;DSL_BB_Down &amp;lt;&amp;gt; 0, &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;round (256*pow(2,($(var_zoom)-1)))+( avg(Longitude)&amp;nbsp; *((256*pow(2,$(var_zoom)))/360))&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the expression itself (&lt;STRONG&gt;round...&lt;/STRONG&gt;) is complex.&lt;BR /&gt;The way it is constructed now, it will do the calculation only when the IF conditon is met.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 08:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643001#M235592</guid>
      <dc:creator />
      <dc:date>2014-06-11T08:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643002#M235593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there always is one and only one value of DSL_BB_Down per dimensional value, then your expression will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you have several values, your expression will not work. Then it is better to write a formula that always work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See more on &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/08/06/it-s-all-aggregations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 08:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643002#M235593</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-11T08:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643003#M235594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understood you correctly, the expressions for longitude (X-axis) and lattitude (Y-axis) should look as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Longitude:&lt;BR /&gt;old version: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;round (256*pow(2,($(var_zoom)-1)))+( avg(Longitude)&amp;nbsp; *((256*pow(2,$(var_zoom)))/360))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;new version: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;round (256*pow(2,($(var_zoom)-1)))+( &lt;STRONG&gt;Avg( If( Len(Trim( Longitude )) &amp;gt;0 AND DSL_BB_Down &amp;lt;&amp;gt; 0, Longitude ))&lt;/STRONG&gt; *((256*pow(2,$(var_zoom)))/360))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What is with the ROUND function in this case? Do I need to wrap it inside some aggregation function as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lattitude:&lt;/P&gt;&lt;P&gt;old version:&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; ((256*pow(2,($(var_zoom)-1)))+((0.5*log((1+(sin((avg(Latitude))*pi()/180)))/(1-(sin((avg(Latitude))*pi()/180)))))*((-256*pow(2,$(var_zoom)))/(2*pi()))))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;new version: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;((256*pow(2,($(var_zoom)-1)))+((0.5*log((1+(sin((&lt;STRONG&gt;Avg( If( Len(Trim( Latitude )) &amp;gt;0 AND DSL_BB_Down &amp;lt;&amp;gt; 0, Latitude )))&lt;/STRONG&gt;*pi()/180)))/(1-(sin((&lt;STRONG&gt;Avg( If( Len(Trim( Latitude )) &amp;gt;0 AND DSL_BB_Down &amp;lt;&amp;gt; 0, Latitude )))&lt;/STRONG&gt;*pi()/180)))))*((-256*pow(2,$(var_zoom)))/(2*pi()))))&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643003#M235594</guid>
      <dc:creator />
      <dc:date>2014-06-11T11:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643004#M235595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have the Round() as your outermost function, i.e. outside the aggregation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643004#M235595</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-06-11T11:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting Data Basis for Scatter Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643005#M235596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does that mean that the expression for longitude is built as you suggested in your article, and that I only need to edit the expression for longitude by adding ROUND(---original_expression---) function for the original expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second question is: do you suggest this approach, or approach that includes defining a variable that contains the mentioned condition, and working with set?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 12:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-Data-Basis-for-Scatter-Chart/m-p/643005#M235596</guid>
      <dc:creator />
      <dc:date>2014-06-11T12:16:26Z</dc:date>
    </item>
  </channel>
</rss>

