<?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: Trouble with color coding by expression on map in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383501#M31585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you upload sample app if possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 19:04:35 GMT</pubDate>
    <dc:creator>MK9885</dc:creator>
    <dc:date>2017-12-21T19:04:35Z</dc:date>
    <item>
      <title>Trouble with color coding by expression on map</title>
      <link>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383500#M31584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to color code by expression on a map and it's not working ... I believe the calculation to be correct, can anyone help with this? I can send you additional information if needed. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;3,rgb(102,37,6),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;2.5,rgb(153,52,4),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;2,rgb(204,76,2),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;1.5,rgb(236,112,20),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;1,rgb(251,154,41),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;.5,rgb(254,196,79),&lt;/P&gt;&lt;P&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;lt;.5,rgb(254,227,145))))))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 20:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383500#M31584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-11T20:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with color coding by expression on map</title>
      <link>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383501#M31585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you upload sample app if possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:04:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383501#M31585</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-12-21T19:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with color coding by expression on map</title>
      <link>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383502#M31586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erin, you can try creating a table with the field used as map dimension and the expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum([Shrink Dollars])/Sum(Dollars)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;And confirm the values returned are as expected, you can also try setting the color codes between simple quotes to confirm the color code value returned is also correct:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;if (Sum([Shrink Dollars])/Sum(Dollars)&amp;gt;3,'rgb(102,37,6)',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If it seems ok in table maybe is something realted with map settings, a sample will be nice to confirm why is not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 20:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trouble-with-color-coding-by-expression-on-map/m-p/1383502#M31586</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2017-12-21T20:01:32Z</dc:date>
    </item>
  </channel>
</rss>

