<?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: Variables, pivot chart heat maps, if statements,  and input boxes in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017799#M15259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌So strange, I must be doing something incorrectly. Could to attach your qvf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2016 17:17:08 GMT</pubDate>
    <dc:creator>cluscombe</dc:creator>
    <dc:date>2016-02-25T17:17:08Z</dc:date>
    <item>
      <title>Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017793#M15253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I am trying to make a pivot table with "heat map" of the values using the "background color expression".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to successfully does this using the following if statement in the "background color expression":&lt;/P&gt;&lt;P&gt;If([Load Factor %] &amp;gt;= .85, Green(), If([Load Factor %] &amp;gt;= .70, LightBlue(), LightRed()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resulting in a chart like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="115765" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/115765_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you will note above that Green and Blue values are hard-coded at .85 and .70 respectively.&amp;nbsp; I want to make an input box where the user can decided was values will make some green or blue.&amp;nbsp; To attempt this I did the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;downloaded an&lt;A _jive_internal="true" href="https://community.qlik.com/discussion/create.jspa?sr=cmenu&amp;amp;containerType=14&amp;amp;containerID=1&amp;amp;draftID=842720"&gt; input box&lt;/A&gt; from Branch&lt;/LI&gt;&lt;LI&gt;Created two variables&lt;UL&gt;&lt;LI&gt;vGreat, and set initial value to .85&lt;/LI&gt;&lt;LI&gt;vGood, and set initial value to .70&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Changed if statement to: If([Load Factor %] &amp;gt;= &lt;STRONG&gt;$(vGreat)&lt;/STRONG&gt;, Green(), If([Load Factor %] &amp;gt;= &lt;STRONG&gt;$(vGood)&lt;/STRONG&gt;, LightBlue(), LightRed()))&lt;/LI&gt;&lt;LI&gt;Created two input box using branch extension&lt;UL&gt;&lt;LI&gt;set first input box to use variable "vGreat"&lt;/LI&gt;&lt;LI&gt;set second input box to use variable "vGood"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my heat map pivot table just doesnt seem to react correctly.&amp;nbsp; It appears that the first input box works as expected, but then it appears whatever value I put in the second input box is just ignored.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="115796" alt="" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/115796_pastedImage_11.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the QVF I am working on, please refer to the "analysis tab".&amp;nbsp; There you will see the heat map with hardcoded values, heat map attempt with variables, and the two input boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 14:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017793#M15253</guid>
      <dc:creator>cluscombe</dc:creator>
      <dc:date>2016-02-24T14:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017794#M15254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a smaller example? I'm not going to download 52 MB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:01:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017794#M15254</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-24T17:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017795#M15255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done.&amp;nbsp; Same data, just limited load to 10,000 records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017795#M15255</guid>
      <dc:creator>cluscombe</dc:creator>
      <dc:date>2016-02-24T17:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017796#M15256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry, but it works fine for me. Either with changing the values directly in the Variable Editor UI or with another variable extension qsVariable that I already had installed. But maybe I just don't understand why you would make the value of vGreat smaller than the value of vGood.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:25:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017796#M15256</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-24T19:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017797#M15257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you show me a screenshot where you input .90 (vGreat) in the first input box and .50 (vGood) in the second input box?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Feb 2016 19:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017797#M15257</guid>
      <dc:creator>cluscombe</dc:creator>
      <dc:date>2016-02-24T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017798#M15258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached image. I've added the same limits to the top pivot chart so they show the same colors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 16:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017798#M15258</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-25T16:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017799#M15259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌So strange, I must be doing something incorrectly. Could to attach your qvf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017799#M15259</guid>
      <dc:creator>cluscombe</dc:creator>
      <dc:date>2016-02-25T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017800#M15260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. Here&amp;nbsp; you go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017800#M15260</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-25T17:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variables, pivot chart heat maps, if statements,  and input boxes</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017801#M15261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌thanks! Much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2016 17:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-pivot-chart-heat-maps-if-statements-and-input-boxes/m-p/1017801#M15261</guid>
      <dc:creator>cluscombe</dc:creator>
      <dc:date>2016-02-25T17:48:08Z</dc:date>
    </item>
  </channel>
</rss>

