<?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 for Color Condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062510#M930311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but if that value will be change in next reload then can it help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 06:06:54 GMT</pubDate>
    <dc:creator>sspawar88</dc:creator>
    <dc:date>2016-03-14T06:06:54Z</dc:date>
    <item>
      <title>Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062506#M930307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my Database below table is there and i'm using bar chart for different dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose certain bar's value is 6 then it has to show amber color and different condition for others as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this below table in database could change this value at any time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i Hold that change in my app?&lt;/P&gt;&lt;P&gt;Should i use variable ? if yes can you please explain How ?&lt;/P&gt;&lt;P&gt;@ !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Color&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value from&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value To&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Amber&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Red&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Green&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;16&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Yellow&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;18&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062506#M930307</guid>
      <dc:creator>sspawar88</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062507#M930308</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VariableName = if(YourExp &amp;gt;=5 and YourExp &amp;lt;= 8, Amber,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(YourExp &amp;lt;=12, Red,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(YourExp &amp;lt;=16, Green,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(YourExp &amp;gt;=18 and YourExp &amp;lt;=20, Yellow))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use that variable in your expression background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use intervalmatch, but it depends on your data model and table structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 05:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062507#M930308</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-14T05:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062508#M930309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can add it as a calculated dimension whereby you will have an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like: if([value from] &amp;gt; 5 and [value from] &amp;lt;= 8, RGB([amber color code]),&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if[value from] &amp;gt; 9 and [value from] &amp;lt;= 12, RGB([red color code])&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; ), etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also have the above as a background colour in an expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 05:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062508#M930309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T05:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062509#M930310</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;Try Interval Match and get the color code into your table, now based on color value apply the colors using RGB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3037"&gt;IntervalMatch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;SPAN style="font-size: 13.3333px;"&gt;Color&lt;/SPAN&gt;= 'Red', Red(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Color='Green', Green(),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;If(Color='Yellow', Yellow(),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;If(Color='Amber',&lt;/SPAN&gt; RGB(255, 194, 0))))&lt;/SPAN&gt;&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;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 06:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062509#M930310</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-14T06:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062510#M930311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but if that value will be change in next reload then can it help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 06:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062510#M930311</guid>
      <dc:creator>sspawar88</dc:creator>
      <dc:date>2016-03-14T06:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062511#M930312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, IntervalMatch() will take the range dynamically based on the from and To values dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 06:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062511#M930312</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-14T06:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Variables for Color Condition</title>
      <link>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062512#M930313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm searching but not understanding well..Can You please elaborate that Intervalmatch in my background color expression so that if that values in table i.e Value from, value to.. is change then it will not take efforts to change it every time in Expression. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 05:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variables-for-Color-Condition/m-p/1062512#M930313</guid>
      <dc:creator>sspawar88</dc:creator>
      <dc:date>2016-03-16T05:51:27Z</dc:date>
    </item>
  </channel>
</rss>

