<?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: Sense : Color expression not respecting set analysis in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087349#M18132</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your support. Indeed, I was missing the else condition. As for my initial issue, it is currently being escalated to the R&amp;amp;D team. Issue &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;QLIK-52432.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 13:24:03 GMT</pubDate>
    <dc:creator>maxim1500</dc:creator>
    <dc:date>2016-03-03T13:24:03Z</dc:date>
    <item>
      <title>Sense : Color expression not respecting set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087347#M18130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to apply a color expression based on a value stored in my fact table on a bar chart. Since the fact table contains historical data, I applied a filter to get only current data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension: FactTableName.SegmentName&lt;/P&gt;&lt;P&gt;Measure: Sum({$&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;FactTableName&lt;/SPAN&gt;.IsCurrent = {"true"}&amp;gt;}[&lt;SPAN style="font-size: 13.3333px;"&gt;FactTableName&lt;/SPAN&gt;.TotalValue])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is working so far. If I filter on a single entity, I get a single bar for his latest segment name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I try to add a color expression like this:&lt;/P&gt;&lt;P&gt;if([&lt;SPAN style="font-size: 13.3333px;"&gt;FactTableName.SegmentID&lt;/SPAN&gt;]=1,rgb(0,51,102),if([&lt;SPAN style="font-size: 13.3333px;"&gt;FactTableName.SegmentID&lt;/SPAN&gt;]=2,rgb(51,51,255),if([&lt;SPAN style="font-size: 13.3333px;"&gt;FactTableName.SegmentID&lt;/SPAN&gt;]=3,rgb(0,153,153))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second bar appears with a zero value (bar not visible but segment name appears on the axis) for the entity's previous segmentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same issue with treemaps, scatter plots, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on how to fix this? Color expression should not have an impact on data presentation other than setting the color...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 16:45:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087347#M18130</guid>
      <dc:creator>maxim1500</dc:creator>
      <dc:date>2016-02-22T16:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sense : Color expression not respecting set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087348#M18131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct it should not affect the data preso, but I noticed in your &lt;STRONG&gt;IF&lt;/STRONG&gt; there is no final colour outcome (Else) , I have added an rgb to the last else in you IF construct, see below, see how you go &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([FactTableName.SegmentID]=1,rgb(0,51,102),&lt;/P&gt;&lt;P&gt;if([FactTableName.SegmentID]=2,rgb(51,51,255),&lt;/P&gt;&lt;P&gt;if([FactTableName.SegmentID]=3,rgb(0,153,153)&lt;STRONG&gt;,rgb(255,250,230)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2016 21:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087348#M18131</guid>
      <dc:creator>paul_scotchford</dc:creator>
      <dc:date>2016-02-22T21:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sense : Color expression not respecting set analysis</title>
      <link>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087349#M18132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your support. Indeed, I was missing the else condition. As for my initial issue, it is currently being escalated to the R&amp;amp;D team. Issue &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;QLIK-52432.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 13:24:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sense-Color-expression-not-respecting-set-analysis/m-p/1087349#M18132</guid>
      <dc:creator>maxim1500</dc:creator>
      <dc:date>2016-03-03T13:24:03Z</dc:date>
    </item>
  </channel>
</rss>

