<?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: Colormix with different limits in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195963#M385810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You said it would be zero&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;gt;&amp;gt;Between the min(Field) and 0 - Red to white&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;gt;&amp;gt;Between 0 and the max(Field) - white to green.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 14:41:05 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2016-09-30T14:41:05Z</dc:date>
    <item>
      <title>Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195957#M385804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field which min and max values are not defined. I can have a min of -3000% and a max of 3% (because it's a variation). I would like to use colormix to color my field in the table, but I don't know how to do it. &lt;/P&gt;&lt;P&gt;I would like to have the following: &lt;/P&gt;&lt;P&gt;Between the min(Field) and 0 - Red to white &lt;/P&gt;&lt;P&gt;Between 0 and the max(Field) - white to green.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody help me please?&lt;/P&gt;&lt;P&gt;ColorMix1 ((1+Sign(2*(Field-RangeMin (top(total Field,1,NoOfRows(total))))/(RangeMax (top(total Field,1,NoOfRows(total)))-RangeMin (top(total Field,1,NoOfRows(total))))-1)*Sqrt(Fabs((2*(Field-RangeMin (top(total Field,1,NoOfRows(total))))/(RangeMax (top(total Field,1,NoOfRows(total)))-RangeMin (top(total Field,1,NoOfRows(total))))-1))))/2, ARGB(255, 255, 0, 0), ARGB(255, 0, 255, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in this case, if my values go from -3000% to 3%, my white will be -1500%, and I don't want that to happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance.&lt;/P&gt;&lt;P&gt;Cheers, &lt;/P&gt;&lt;P&gt;Inês &lt;IMG alt="sample.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139258_sample.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 10:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195957#M385804</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-09-30T10:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195958#M385805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try Colormix2() because it has a "colorzero" parameter (white in your case)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm" title="https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts.htm"&gt;https://help.qlik.com/en-US/qlikview/12.0/Subsystems/Client/Content/ChartFunctions/ColorFunctions/color-functions-charts…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 11:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195958#M385805</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-30T11:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195959#M385806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ColorMix2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sqrt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(-(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-0)/(0-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeMin&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;top&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))))),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sqrt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-0)/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RangeMax&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;top&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoOfRows&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;total&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)))-0))), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ARGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255, 255, 0, 0), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ARGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255, 0, 255, 0), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ARGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(255, 255, 255, 255)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;replace value with your Fieldname.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Try the "Assistent for dynamic gradiant" to get the result you want. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;You can find that if you are in edit expression window -&amp;gt; File -&amp;gt; Dynamic gradiant Assistent (or something like this)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139266_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;regards tim&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 11:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195959#M385806</guid>
      <dc:creator>zhadrakas</dc:creator>
      <dc:date>2016-09-30T11:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195960#M385807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This does not work because of this: the "middle" color will be the average of my two values, which does not work, because I need it to be zero.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195960#M385807</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-09-30T14:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195961#M385808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, but this expression does not work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195961#M385808</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-09-30T14:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195962#M385809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that the if may not work with colormix...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:02:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195962#M385809</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-09-30T14:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195963#M385810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;You said it would be zero&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;gt;&amp;gt;Between the min(Field) and 0 - Red to white&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&amp;gt;&amp;gt;Between 0 and the max(Field) - white to green.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195963#M385810</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-30T14:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195964#M385811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colormix2 only works with values between -1 and 1, which is not my case...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195964#M385811</guid>
      <dc:creator>inescastelhano</dc:creator>
      <dc:date>2016-09-30T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195965#M385812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can adjust your values, making a linear regression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195965#M385812</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-30T15:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Colormix with different limits</title>
      <link>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195966#M385813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA attached an example&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139305_Capturar.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Colormix-with-different-limits/m-p/1195966#M385813</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-09-30T15:18:17Z</dc:date>
    </item>
  </channel>
</rss>

