<?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: How to Color by? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-Color-by/m-p/104879#M7115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach an app to work with ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2018 12:48:18 GMT</pubDate>
    <dc:creator>hacr</dc:creator>
    <dc:date>2018-09-10T12:48:18Z</dc:date>
    <item>
      <title>How to Color by?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Color-by/m-p/104878#M7114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a distribution chart as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Y Axis - Activity&lt;/LI&gt;&lt;LI&gt;X axis - Resolve %&lt;/LI&gt;&lt;LI&gt;Points - Cusomter&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to color each of the data point in 2 colors using color by expression&lt;/P&gt;&lt;P&gt;For each activity (Y axis point), the mean has to be found and anything greater than mean is blue and anything less than mean is red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My color by expression is not auto resolve. It is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1536318543278788 jive_text_macro" jivemacro_uid="_1536318543278788"&gt;
&lt;P&gt;SUM({&amp;lt;$(vDateFilter),GreaterThanToday={0}&amp;gt;}IncidentCount)&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the color by expression should be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1536318584555382 jive_text_macro" jivemacro_uid="_1536318584555382"&gt;
&lt;P&gt;IF(AVG(AGGR(SUM({&amp;lt;$(vDateFilter),GreaterThanToday={0}&amp;gt;}IncidentCount),Customer))&lt;/P&gt;
&lt;P&gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;SUM({&amp;lt;$(vDateFilter),GreaterThanToday={0}&amp;gt;}IncidentCount)&lt;/P&gt;
&lt;P&gt;,RED(),BLUE())&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;IMG __jive_id="212949" alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/212949_Untitled.png" style="height: 280px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 11:11:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Color-by/m-p/104878#M7114</guid>
      <dc:creator>siddharth_s3</dc:creator>
      <dc:date>2018-09-07T11:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Color by?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-Color-by/m-p/104879#M7115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach an app to work with ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 12:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-Color-by/m-p/104879#M7115</guid>
      <dc:creator>hacr</dc:creator>
      <dc:date>2018-09-10T12:48:18Z</dc:date>
    </item>
  </channel>
</rss>

