<?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 Colouring Country Map Charts based on values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Colouring-Country-Map-Charts-based-on-values/m-p/2520424#M106420</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to colour the country map chart based on the values using the expression below. What I want is if the values are greater than 0 but less than 2 then Green colour, if the values are &amp;gt;2 and &amp;lt;5 then Yellow Colour and if the values are &amp;gt; 5 then countries with these values should change to Red colour on Map Charts however it's not working. Can someone please help, Many thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(Sum(Sales) &amp;gt; 5.0, RGB(255,0,0),if(Sum(Sales) &amp;gt; 2.0, RGB(255,191,0),if(Sum(Sales) &amp;gt; 0.0, RGB(255,191,0))))&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jun 2025 15:21:34 GMT</pubDate>
    <dc:creator>karandeep</dc:creator>
    <dc:date>2025-06-06T15:21:34Z</dc:date>
    <item>
      <title>Colouring Country Map Charts based on values</title>
      <link>https://community.qlik.com/t5/App-Development/Colouring-Country-Map-Charts-based-on-values/m-p/2520424#M106420</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to colour the country map chart based on the values using the expression below. What I want is if the values are greater than 0 but less than 2 then Green colour, if the values are &amp;gt;2 and &amp;lt;5 then Yellow Colour and if the values are &amp;gt; 5 then countries with these values should change to Red colour on Map Charts however it's not working. Can someone please help, Many thanks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(Sum(Sales) &amp;gt; 5.0, RGB(255,0,0),if(Sum(Sales) &amp;gt; 2.0, RGB(255,191,0),if(Sum(Sales) &amp;gt; 0.0, RGB(255,191,0))))&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 15:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colouring-Country-Map-Charts-based-on-values/m-p/2520424#M106420</guid>
      <dc:creator>karandeep</dc:creator>
      <dc:date>2025-06-06T15:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Colouring Country Map Charts based on values</title>
      <link>https://community.qlik.com/t5/App-Development/Colouring-Country-Map-Charts-based-on-values/m-p/2520460#M106421</link>
      <description>&lt;P&gt;Hi, I suppose the last color is just a typo, the rgb should be green but that code is for yellow.&lt;/P&gt;&lt;P&gt;I tried that expression in a map and it's working, in data-&amp;gt;dimension, and in location-&amp;gt;field, the dimenson is the country; and in Colors I selected 'by expression' and set that expression, and check the 'expression is a color code' checkbox.&lt;/P&gt;&lt;P&gt;With some dummy values created that meet the requirements the colors are the expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 07:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Colouring-Country-Map-Charts-based-on-values/m-p/2520460#M106421</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2025-06-07T07:22:18Z</dc:date>
    </item>
  </channel>
</rss>

