<?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: Heatmap Expression in pivot table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909078#M983573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached app, I used Colormix2 function instead&amp;nbsp; of If conditions. Let us know if it is useful for you or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2015 05:32:07 GMT</pubDate>
    <dc:creator>qlikmsg4u</dc:creator>
    <dc:date>2015-08-04T05:32:07Z</dc:date>
    <item>
      <title>Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909077#M983572</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: #3d3d3d;"&gt;I have to create a heat map dashboard the requirement is something like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if Col A/Col B is &amp;lt;= +/- 3% show same color (lets say Light Red) for -ve 3 % as well as for 3 %+ve&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Col A/Col B is &amp;gt; +/-3&amp;nbsp; and &amp;lt;=+/-5% show same Color (Lets say&amp;nbsp; Red )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ColA/ColB is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt; +/-5&amp;nbsp; and&amp;lt;=&lt;/SPAN&gt;+/-10% show the same color (Dark Red)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ColA/ColB is &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;gt; +/-10&amp;nbsp; and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;=&lt;/SPAN&gt;&lt;/SPAN&gt;+/-20% show the same color (Darkest Red)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;my problem is when i'm writing the expression in pivot under background color it is failing.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;It is always in the first line of code never going to else part.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;attaching the app &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 03:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909077#M983572</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-04T03:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909078#M983573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached app, I used Colormix2 function instead&amp;nbsp; of If conditions. Let us know if it is useful for you or not&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 05:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909078#M983573</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-08-04T05:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909079#M983574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression is not having any else condition, except top two values remaining values are not satisfying the condition so default color(white) is assigned for them.&lt;/P&gt;&lt;P&gt;Try giving an else color condition like below --&lt;/P&gt;&lt;P&gt;if(((((ColA/ColB)-1)&amp;gt;=.3)&amp;nbsp; or (((ColA/ColB)-1)&amp;lt;=-.3)),RGB(206,103,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((((ColA/ColB)-1)&amp;gt;=.5)&amp;nbsp; or (((ColA/ColB)-1)&amp;lt;=-.5)),RGB(204,102,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((((ColA/ColB)-1)&amp;gt;=1)&amp;nbsp; or (((ColA/ColB)-1)&amp;lt;=-1)),RGB(176,88,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((((ColA/ColB)-1)&amp;gt;=1.5)&amp;nbsp; or (((ColA/ColB)-1)&amp;lt;=-1.5)),RGB(138,69,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(((((ColA/ColB)-1)&amp;gt;=2) or (((ColA/ColB)-1)&amp;lt;=-2)),RGB(255,255,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; RGB(255,0,0)&lt;/P&gt;&lt;P&gt;)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will see the other values in bright red color. &lt;/P&gt;&lt;P&gt;Condition is working fine, try to give more if conditions to satisfy all the possible values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I have removed single quotes for the values ('.3' to .3) as they are values but not strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Harika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 05:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909079#M983574</guid>
      <dc:creator />
      <dc:date>2015-08-04T05:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909080#M983575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is like for some range it should give me one color and for some other col, suppose the value is (Cola/Colb -1 )is 1 in that case it should go to line three but it will show me the color of line 1 only..correct me if i'm wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 05:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909080#M983575</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-04T05:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909081#M983576</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: #3d3d3d;"&gt;Hi KN Thanks a lot&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;looks fine just one thing is missing is for +ve 50% or -ve 50% it should show the same color so i tried using fabs function there it works well.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;can we show the range of colors, like for 3 to 5 % show one color and for 5 to 10 show other for 10-20 show other?&lt;/P&gt;&lt;P&gt;Updated the first app with new one(not able to attach the app while replying)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Two questions.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; when I'm using the color mix wizard a big expression is coming up where as ur exp is quite simple what would be the diff between them(Wizard VS urs EXP)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;2) is it &lt;/SPAN&gt;recommenced&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; to use color mix wizard or is there any other way, like I can just create the colors in inline and by using apply map i can get the colors with that i think &lt;/SPAN&gt;maintenance&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt; will be quite easy(&lt;A _jive_internal="true" data-containerid="2588" data-containertype="37" data-objectid="2831" data-objecttype="38" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/12/04/colors-in-charts" style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #3778c7;"&gt;Colors in charts&lt;/A&gt;&lt;/SPAN&gt;) !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 06:09:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909081#M983576</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-04T06:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909082#M983577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One problem with that we can only define the Max and Min range, only those colors will come which are under that range...if a user wants to give some custom color like for a specific range user wants a little more darker shade that can not be done i guess. we have to accept colors from the range only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 06:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909082#M983577</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-04T06:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909083#M983578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if you want to define custom colours use If conditions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 06:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909083#M983578</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-08-04T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Heatmap Expression in pivot table</title>
      <link>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909084#M983579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression and change the colors as per your requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( Fabs((ColA/ColB)-1) &amp;gt;=0.03 and Fabs((ColA/ColB)-1)&amp;lt;=0.05,RGB(206,103,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Fabs((ColA/ColB)-1) &amp;gt;= 0.05 and Fabs((ColA/ColB)-1) &amp;lt;= 0.1,RGB(176,88,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Fabs((ColA/ColB)-1) &amp;gt;= 0.1 and Fabs((ColA/ColB)-1) &amp;lt;= 0.5, RGB(138,69,0),&lt;/P&gt;&lt;P&gt;&amp;nbsp; If( Fabs((ColA/ColB)-1) &amp;gt;= 0.5 and Fabs((ColA/ColB)-1) &amp;lt;= 1, RGB(255,255,0),RGB(238,69,0)&lt;/P&gt;&lt;P&gt;))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2015 07:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Heatmap-Expression-in-pivot-table/m-p/909084#M983579</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-08-04T07:02:42Z</dc:date>
    </item>
  </channel>
</rss>

