<?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 need some help on pivot table based heat map in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/need-some-help-on-pivot-table-based-heat-map/m-p/362169#M574096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a pivot table with 3 dimensions:&lt;/P&gt;&lt;P&gt;on the vertical i have project and vendor, while on the horizontal i have month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value displayed is a productivity calculation for each project,&lt;/P&gt;&lt;P&gt;also there is a column that holds the project's productivity goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, im trying to do a heat map over this pivot that will get red background if under productivity goal and green if above.&lt;/P&gt;&lt;P&gt;so far not so hard. i even found this discussion that helped me alot:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/24347"&gt;http://community.qlik.com/thread/24347&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as suggested in the above link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(round(Sum (Delivery)/Sum (Time),.1)&amp;lt;pGoal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rgb(255,log(round(Sum (Delivery)/Sum (Time),.1))*75-255,log(round(Sum (Delivery)/Sum (Time),.1))*75-255),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(round(Sum (Delivery)/Sum (Time),.1)&amp;gt;=pGoal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rgb(255-log(round(Sum (Delivery)/Sum (Time),.1))*75,255,255-log(round(Sum (Delivery)/Sum (Time),.1))*75)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result is almost what im looking for.&lt;/P&gt;&lt;P&gt;for values loower than the goal, the color range is going the wrong direction i.e darker colors for values close to goal and brighter colors for values far from goal.&lt;/P&gt;&lt;P&gt;couldnt find how to reverse that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oh and there are no negative values at all....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Jun 2012 09:26:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-21T09:26:03Z</dc:date>
    <item>
      <title>need some help on pivot table based heat map</title>
      <link>https://community.qlik.com/t5/QlikView/need-some-help-on-pivot-table-based-heat-map/m-p/362169#M574096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a pivot table with 3 dimensions:&lt;/P&gt;&lt;P&gt;on the vertical i have project and vendor, while on the horizontal i have month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value displayed is a productivity calculation for each project,&lt;/P&gt;&lt;P&gt;also there is a column that holds the project's productivity goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, im trying to do a heat map over this pivot that will get red background if under productivity goal and green if above.&lt;/P&gt;&lt;P&gt;so far not so hard. i even found this discussion that helped me alot:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/24347"&gt;http://community.qlik.com/thread/24347&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as suggested in the above link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if(round(Sum (Delivery)/Sum (Time),.1)&amp;lt;pGoal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rgb(255,log(round(Sum (Delivery)/Sum (Time),.1))*75-255,log(round(Sum (Delivery)/Sum (Time),.1))*75-255),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(round(Sum (Delivery)/Sum (Time),.1)&amp;gt;=pGoal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;rgb(255-log(round(Sum (Delivery)/Sum (Time),.1))*75,255,255-log(round(Sum (Delivery)/Sum (Time),.1))*75)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result is almost what im looking for.&lt;/P&gt;&lt;P&gt;for values loower than the goal, the color range is going the wrong direction i.e darker colors for values close to goal and brighter colors for values far from goal.&lt;/P&gt;&lt;P&gt;couldnt find how to reverse that expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oh and there are no negative values at all....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2012 09:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/need-some-help-on-pivot-table-based-heat-map/m-p/362169#M574096</guid>
      <dc:creator />
      <dc:date>2012-06-21T09:26:03Z</dc:date>
    </item>
  </channel>
</rss>

