<?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: Qlik Sense color expression issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288265#M27133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you putting this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you replaced your measure with the new version for the colors then it will no longer do what it was doing before.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If want to control colors you should put this expression in the Appearance/Colors and Legends and do a color by expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2017 18:07:48 GMT</pubDate>
    <dc:creator>rittermd</dc:creator>
    <dc:date>2017-01-20T18:07:48Z</dc:date>
    <item>
      <title>Qlik Sense color expression issue</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288264#M27132</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;&lt;/P&gt;&lt;P&gt;I have the following graph that is using set analysis to limit what it displays. This works great and do not have any issues.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-01-20 at 11.25.03 AM.png" class="jive-image image-1" src="/legacyfs/online/150281_Screen Shot 2017-01-20 at 11.25.03 AM.png" style="height: 112px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;measure for chart above = avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when I try to add an expression to change the bars to red or green based on the target, the bar colors change, but I lose my set analysis and it pulls everything back in.&amp;nbsp; Below is the color expression I am using.&amp;nbsp; I am hoping I am doing something wrong here. I think I am missing something with "IF (DesiredDirectionUp=-1" but not sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF (DesiredDirectionUp=-1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF (AVG({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;gt;=&lt;/P&gt;&lt;P&gt;&amp;nbsp; avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}[Target (OHTargets)]),red(),green()),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IF (AVG({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;=&lt;/P&gt;&lt;P&gt;&amp;nbsp; avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}[Target (OHTargets)]),Green(),Red()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 16:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288264#M27132</guid>
      <dc:creator>hjm35055</dc:creator>
      <dc:date>2017-01-20T16:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense color expression issue</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288265#M27133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you putting this expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you replaced your measure with the new version for the colors then it will no longer do what it was doing before.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If want to control colors you should put this expression in the Appearance/Colors and Legends and do a color by expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288265#M27133</guid>
      <dc:creator>rittermd</dc:creator>
      <dc:date>2017-01-20T18:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense color expression issue</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288266#M27134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression is in the measure for the graph: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This expression is in the color by expression field:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;IF (DesiredDirectionUp=-1,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; IF (AVG({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &amp;gt;=&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}[Target (OHTargets)]),red(),green()),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; IF (AVG({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}ObservedNumerator)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;=&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; avg({&amp;lt;StrategicAim={"Organizational Vitality"}&amp;gt;}[Target (OHTargets)]),Green(),Red()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 18:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288266#M27134</guid>
      <dc:creator>hjm35055</dc:creator>
      <dc:date>2017-01-20T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense color expression issue</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288267#M27135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having the same issue with a set of charts I am making. I have trend charts by FY. I only want to show the trend for 2 years and I want to specify what color each year is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Making the chart is easy, but when I use the color by expression I get data for the other FY equal to all zeros which makes my trend line look flat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed my equation from set notation to if statements I was able to specify the colors of the lines without any problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Feb 2017 22:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-color-expression-issue/m-p/1288267#M27135</guid>
      <dc:creator />
      <dc:date>2017-02-03T22:44:47Z</dc:date>
    </item>
  </channel>
</rss>

