<?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: Expression Background Colour Query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95101#M510623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the data set goes back about ten years, the visualisation only needs to go back 6 months so the problem is that as soon as I apply the colour function it shows all the months back to 2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to get rid of the problem is to tick the suppress zero voles option but as I'm presenting percentages I need to show 0% performance. WHich gives me an idea in that I could fudge it by adding 0.00001 to each result but again not ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a need to keep all data in the application so I cant just limit it on load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2018 14:12:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-01T14:12:34Z</dc:date>
    <item>
      <title>Expression Background Colour Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95098#M510620</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 have a pivot table which measures the performance of various kpis nice and simple:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="standard.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/209542_standard.PNG" style="height: 107px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Note I have fixed the date dimensions to the last 6 relative months:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now want to shade the background of the expressions based on the actual performance relative to the threshhold:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="issue.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/209576_issue.PNG" style="height: 77px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This works sort of but for a reason I sort of understand but cannot fix it adds colours to all the months which are not in the set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have set my background colour using the expression not in the visual cues tab as such:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;MEASURE_CAL.RelativeMonth={'-5','-4','-3','-2','-1','0'},[Measure Outcome]={'Passed'},[Measure Type]={'KPI'}&amp;gt;}#_MEASUREVOL)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;MEASURE_CAL.RelativeMonth={'-5','-4','-3','-2','-1','0'},[Measure Type]={'KPI'}&amp;gt;}#_MEASUREVOL)&lt;/P&gt;&lt;P&gt;&amp;gt;=[Measure Threshold],AROlive,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;MEASURE_CAL.RelativeMonth={'-5','-4','-3','-2','-1','0'},[Measure Outcome]={'Passed'},[Measure Type]={'KPI'}&amp;gt;}#_MEASUREVOL)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;MEASURE_CAL.RelativeMonth={'-5','-4','-3','-2','-1','0'},[Measure Type]={'KPI'}&amp;gt;}#_MEASUREVOL)&lt;/P&gt;&lt;P&gt;&amp;gt;=([Measure Threshold]-0.05),ARSun,ARRed))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;II think even though I am limiting the set the conditional expression returns ARRed for everything including the missing months and measure type which are excluded by the set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can solve this easily by having a calculated dimension or by adding a new month dimension which just contains the last 6 months in the script but this is not ideal for various reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:48:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95098#M510620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Background Colour Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95099#M510621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95099#M510621</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-01T13:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Background Colour Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95100#M510622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly is the issue? That the color is showing up for the missing value month (2018-Feb)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 13:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95100#M510622</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-01T13:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Background Colour Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95101#M510623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the data set goes back about ten years, the visualisation only needs to go back 6 months so the problem is that as soon as I apply the colour function it shows all the months back to 2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way to get rid of the problem is to tick the suppress zero voles option but as I'm presenting percentages I need to show 0% performance. WHich gives me an idea in that I could fudge it by adding 0.00001 to each result but again not ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a need to keep all data in the application so I cant just limit it on load.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:12:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95101#M510623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Background Colour Query</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95102#M510624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll add a dummy app in a bit showing the problem and the now I think fudged solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 14:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Background-Colour-Query/m-p/95102#M510624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-01T14:16:04Z</dc:date>
    </item>
  </channel>
</rss>

