<?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: Setting different color via Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707920#M724747</link>
    <description>What's the difference between 1 and ALL?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
    <pubDate>Wed, 03 Jun 2020 17:51:58 GMT</pubDate>
    <dc:creator>brunolelli87</dc:creator>
    <dc:date>2020-06-03T17:51:58Z</dc:date>
    <item>
      <title>Setting different color via Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707910#M724745</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I'm using the following expression to color my bars depending on its value...&lt;BR /&gt;If it's above the TTOAL average (red), otherwise (green)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF(AVG(TOTAL FSPLU) &amp;gt; AVG(FSPLU), color(3), color(2))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, in this case, if the user selects some bars, the system will recalculate the colors again based on the available remaining bars.&lt;/P&gt;&lt;P&gt;How can do not change the colors in this case?&lt;BR /&gt;I mean, once it's calculated the colors should not change anymore upon users' selection.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Would that be as simple as replacing the TOTAL by ALL?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF(AVG(ALL FSPLU) &amp;gt; AVG(FSPLU), color(3), color(2))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707910#M724745</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Setting different color via Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707919#M724746</link>
      <description>&lt;P&gt;So, do you want to compare the overall AVG with currently selected AVG?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF(AVG({1}FSPLU) &amp;gt; AVG(FSPLU), color(3), color(2))&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Jun 2020 17:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707919#M724746</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-06-03T17:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting different color via Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707920#M724747</link>
      <description>What's the difference between 1 and ALL?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jun 2020 17:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1707920#M724747</guid>
      <dc:creator>brunolelli87</dc:creator>
      <dc:date>2020-06-03T17:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Setting different color via Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1708039#M724748</link>
      <description>&lt;P&gt;You will still need TOTAL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;IF(AVG({1} TOTAL FSPLU) &amp;gt; AVG(FSPLU), color(3), color(2))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{1} and ALL are the same. ALL was deprecated when replaced by {1} and ALL was meant to be removed from the product. However, the removal never happened.&lt;/P&gt;&lt;P&gt;-Rob&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 04:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-different-color-via-Expression/m-p/1708039#M724748</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-06-04T04:54:32Z</dc:date>
    </item>
  </channel>
</rss>

