<?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 QlikView Visual Cues Puzzle in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198795#M57980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple table chart. I am trying to set up Visual Cues so that the background will be Green for favorable conditions, and Red otherwise.&lt;/P&gt;&lt;P&gt;What determines favorable conditions is indicated by a field called &lt;B&gt;IndicatorStatus&lt;/B&gt;, which can contain either '&lt;B&gt;Lower is Better&lt;/B&gt;' or &lt;B&gt;'Higher is Better&lt;/B&gt;'. These are the only two values, though obviously there can also be an indeterminate state, which I think is in play here.&lt;/P&gt;&lt;P&gt;Based on selections, the table will have a mixture of rows, some with the IndicatorStatus of 'Lower is Better' and others with 'Higher is Better'. Also, two other expressions, one for Benchmark and another for Value. It is the Value field that we are using Visual Cues for.&lt;/P&gt;&lt;P&gt;Visual Cues on this expression are defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Upper &amp;gt;= =avg({$&amp;lt;Sq={$(=Period2)}&amp;gt;} Benchmark)&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Background: = if(IndicatorStatus = 'Lower IsBetter',lightred(),blue())&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Lower &amp;lt;= =avg({$&amp;lt;Sq={$(=Period2)}&amp;gt;} Benchmark)&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Background: = if(IndicatorStatus = 'Lower IsBetter',green(), black())&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt;&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;(In this example, I've used blue and black to represent the 'higher is better' condition because it makes the problem easier to see.)&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;When I have not made a selection on IndicatorStatus, and the dataset contains a mixture of 'Higher is Better' and 'Lower is Better' conditions, the Visual Cues does not work as expected. I expected that since each aggregate row must have a single value for Indicator Status, (it is a dimension of the table) then it would KNOW this value in the Visual Cues expression, but this IS NOT the case.&lt;/P&gt;&lt;H3 style="margin-bottom: 0.0001pt; line-height: normal;"&gt;If IndicatorStatus is not selected, then the value in the Visual Cue is unknown, so even though the dimension clearly shows 'Lower is Better' it is taking the 'false' path of the if function (that is, it doesn't see the value).&lt;/H3&gt;&lt;P&gt;This is resulting in the values changing background colors back and forth as the selection is made.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I want is to have the Visual Cues KNOW the value for the current row, the same way it know the Value and Benchmark fields.&lt;/P&gt;&lt;P&gt;Help me, QlikView Community. You're my only hope. [:^)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2009 21:26:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-12-30T21:26:59Z</dc:date>
    <item>
      <title>QlikView Visual Cues Puzzle</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198795#M57980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple table chart. I am trying to set up Visual Cues so that the background will be Green for favorable conditions, and Red otherwise.&lt;/P&gt;&lt;P&gt;What determines favorable conditions is indicated by a field called &lt;B&gt;IndicatorStatus&lt;/B&gt;, which can contain either '&lt;B&gt;Lower is Better&lt;/B&gt;' or &lt;B&gt;'Higher is Better&lt;/B&gt;'. These are the only two values, though obviously there can also be an indeterminate state, which I think is in play here.&lt;/P&gt;&lt;P&gt;Based on selections, the table will have a mixture of rows, some with the IndicatorStatus of 'Lower is Better' and others with 'Higher is Better'. Also, two other expressions, one for Benchmark and another for Value. It is the Value field that we are using Visual Cues for.&lt;/P&gt;&lt;P&gt;Visual Cues on this expression are defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Upper &amp;gt;= =avg({$&amp;lt;Sq={$(=Period2)}&amp;gt;} Benchmark)&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Background: = if(IndicatorStatus = 'Lower IsBetter',lightred(),blue())&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Lower &amp;lt;= =avg({$&amp;lt;Sq={$(=Period2)}&amp;gt;} Benchmark)&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt; Background: = if(IndicatorStatus = 'Lower IsBetter',green(), black())&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt;&lt;BR style="margin-bottom: 0.0001pt; line-height: normal;" /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;(In this example, I've used blue and black to represent the 'higher is better' condition because it makes the problem easier to see.)&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;When I have not made a selection on IndicatorStatus, and the dataset contains a mixture of 'Higher is Better' and 'Lower is Better' conditions, the Visual Cues does not work as expected. I expected that since each aggregate row must have a single value for Indicator Status, (it is a dimension of the table) then it would KNOW this value in the Visual Cues expression, but this IS NOT the case.&lt;/P&gt;&lt;H3 style="margin-bottom: 0.0001pt; line-height: normal;"&gt;If IndicatorStatus is not selected, then the value in the Visual Cue is unknown, so even though the dimension clearly shows 'Lower is Better' it is taking the 'false' path of the if function (that is, it doesn't see the value).&lt;/H3&gt;&lt;P&gt;This is resulting in the values changing background colors back and forth as the selection is made.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I want is to have the Visual Cues KNOW the value for the current row, the same way it know the Value and Benchmark fields.&lt;/P&gt;&lt;P&gt;Help me, QlikView Community. You're my only hope. [:^)]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2009 21:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198795#M57980</guid>
      <dc:creator />
      <dc:date>2009-12-30T21:26:59Z</dc:date>
    </item>
    <item>
      <title>QlikView Visual Cues Puzzle</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198796#M57981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a similar problem. Could anybody help ??&lt;/P&gt;&lt;P&gt;Visual cues depending on a value of a field, over 2 dimensions. Expression is just the value of an other field.&lt;/P&gt;&lt;P&gt;Fields :&lt;/P&gt;&lt;P&gt;Dim1&lt;/P&gt;&lt;P&gt;Dim2&lt;/P&gt;&lt;P&gt;Value&lt;/P&gt;&lt;P&gt;Red&lt;/P&gt;&lt;P&gt;Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 09:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198796#M57981</guid>
      <dc:creator>dirk_konings</dc:creator>
      <dc:date>2010-03-23T09:18:01Z</dc:date>
    </item>
    <item>
      <title>QlikView Visual Cues Puzzle</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198797#M57982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;If you use Text Color or Background Color on the expression (+), you have the same functionality as in Visual Cue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i added on background color:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;if&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;(&lt;B&gt;Behaald&lt;/B&gt; &amp;gt; &lt;B&gt;NormROOD&lt;/B&gt;, &lt;B&gt;RGB&lt;/B&gt;(255,128,128), &lt;B&gt;if&lt;/B&gt;(&lt;B&gt;Behaald&lt;/B&gt; &amp;lt; &lt;B&gt;NormGROEN&lt;/B&gt;, &lt;B&gt;RGB&lt;/B&gt;(128,255,0), &lt;B&gt;RGB&lt;/B&gt;(255,190,125 &lt;P&gt;)))&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Mar 2010 10:02:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Visual-Cues-Puzzle/m-p/198797#M57982</guid>
      <dc:creator>dirk_konings</dc:creator>
      <dc:date>2010-03-23T10:02:09Z</dc:date>
    </item>
  </channel>
</rss>

