<?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: Dynamic opacity in ARGB() for table background color. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680711#M539290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't even know of such a thing.&amp;nbsp; I'll look into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 15:31:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-11T15:31:33Z</dc:date>
    <item>
      <title>Dynamic opacity in ARGB() for table background color.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680709#M539287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm attempting to change the background color of a table chart depending on how poor the dimension is performing.&amp;nbsp; I calculate the opacity of the ARGB() function by simply multiplying the percent change by 1000.&amp;nbsp; So if the dimension is performing 6% under from the year before the ARGB call would look like this: ARGB(60, 255, 0, 0).&amp;nbsp; I've played around with the function to make sure ridiculous numbers don't break it so ARGB(255, 255, 0, 0) works as well as ARGB(400000, 255, 0, 0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, it doesn't seem that putting the value in a field translates to a number ARGB() can use.&amp;nbsp; My function:&amp;nbsp; =If(change_percent &amp;lt;= 0, ARGB(opacity, 255, 0, 0)) that is behind the 'Background Color' doesn't work.&amp;nbsp; I've tried typecasting using Num() but that doesn't help.&amp;nbsp; Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hudnutt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680709#M539287</guid>
      <dc:creator />
      <dc:date>2014-09-11T15:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic opacity in ARGB() for table background color.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680710#M539288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;have You tried to use Wizard of ColorMix1 or ColorMix2 ?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680710#M539288</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-09-11T15:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic opacity in ARGB() for table background color.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680711#M539290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't even know of such a thing.&amp;nbsp; I'll look into it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680711#M539290</guid>
      <dc:creator />
      <dc:date>2014-09-11T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic opacity in ARGB() for table background color.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680712#M539291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In background color -&amp;gt; File -&amp;gt; Wizard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:33:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680712#M539291</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2014-09-11T15:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic opacity in ARGB() for table background color.</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680713#M539292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to have a positive value in the A of ARGB, so muliply your opacity by -1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="font-size: 8pt;"&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;change_percent&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;ARGB&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;opacity&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;*-1, 255, 0, 0)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 15:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-opacity-in-ARGB-for-table-background-color/m-p/680713#M539292</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-09-11T15:34:44Z</dc:date>
    </item>
  </channel>
</rss>

