<?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 Color Expression for mapping points not mapping correctly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189886#M22316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have about 80 points that i'm mapping.&lt;/P&gt;&lt;P&gt;I'm using the expression:&lt;/P&gt;&lt;P&gt;If (CPM&amp;lt;=40.0,RGB(0,254,0),(If(CPM&amp;gt;=100.0,RGB(254,0,0),RGB(0,0,254))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of CPM for just south of Dallas is 35.4 and 35.7 (which has two readings at same geo location), each of those should map as Green, given the expression; however, it's drawn as blue (which is the default).&amp;nbsp; Is it rounding, are there issues with the mapping of color/point/function pairs?&amp;nbsp; It's working correctly on other locations.&amp;nbsp; Open to any ideas to test. - Paul&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-09-21 at 1.17.49 PM.png" class="jive-image image-1" src="/legacyfs/online/138208_Screen Shot 2016-09-21 at 1.17.49 PM.png" style="height: 361px; width: 620px;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 18:24:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-21T18:24:19Z</dc:date>
    <item>
      <title>Color Expression for mapping points not mapping correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189886#M22316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have about 80 points that i'm mapping.&lt;/P&gt;&lt;P&gt;I'm using the expression:&lt;/P&gt;&lt;P&gt;If (CPM&amp;lt;=40.0,RGB(0,254,0),(If(CPM&amp;gt;=100.0,RGB(254,0,0),RGB(0,0,254))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value of CPM for just south of Dallas is 35.4 and 35.7 (which has two readings at same geo location), each of those should map as Green, given the expression; however, it's drawn as blue (which is the default).&amp;nbsp; Is it rounding, are there issues with the mapping of color/point/function pairs?&amp;nbsp; It's working correctly on other locations.&amp;nbsp; Open to any ideas to test. - Paul&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-09-21 at 1.17.49 PM.png" class="jive-image image-1" src="/legacyfs/online/138208_Screen Shot 2016-09-21 at 1.17.49 PM.png" style="height: 361px; width: 620px;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189886#M22316</guid>
      <dc:creator />
      <dc:date>2016-09-21T18:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression for mapping points not mapping correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189887#M22317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would break up your expression and test each piece to make sure that it is not a data issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the CPM&amp;lt;=40.0 and see if the 2 locations near Dallas are green or blue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 19:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189887#M22317</guid>
      <dc:creator>rittermd</dc:creator>
      <dc:date>2016-09-21T19:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression for mapping points not mapping correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189888#M22318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paul,&lt;BR /&gt;If I got you right, you have two CPM values for the same exact location.&amp;nbsp; That means CPM value here is not defined for the purpose of the color expression.&lt;BR /&gt;If my assumption is correct, you need to change your dimension.&amp;nbsp; Or, depending on what you need, replace CPM with avg(CPM) in your color expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 20:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189888#M22318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-21T20:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Color Expression for mapping points not mapping correctly</title>
      <link>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189889#M22319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that was the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 20:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Color-Expression-for-mapping-points-not-mapping-correctly/m-p/1189889#M22319</guid>
      <dc:creator />
      <dc:date>2016-09-22T20:04:57Z</dc:date>
    </item>
  </channel>
</rss>

