<?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 Pivot tables conditional colours in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269945#M1193164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table built , where I have 3 colour conditions I wish to apply - intially I was going to do this on Visual Cues tab, but as there are 3 conditions I dont think I can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I was going to do it in the expressions, I have tried, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([total] &amp;lt; 100, (RGB 0,128,0),if ([total] &amp;gt; 100 and &amp;lt; 115, (RGB 255,255,0),if([total] &amp;gt; 115,(RGB 255,0,0))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its just not working the condition is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Less than or equal too 100 , text color Green&lt;/P&gt;&lt;P&gt;between 101 and 115 , text Orange&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and greater than 115 text is Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jun 2011 13:30:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-07T13:30:25Z</dc:date>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269945#M1193164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pivot table built , where I have 3 colour conditions I wish to apply - intially I was going to do this on Visual Cues tab, but as there are 3 conditions I dont think I can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I was going to do it in the expressions, I have tried, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ([total] &amp;lt; 100, (RGB 0,128,0),if ([total] &amp;gt; 100 and &amp;lt; 115, (RGB 255,255,0),if([total] &amp;gt; 115,(RGB 255,0,0))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its just not working the condition is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Less than or equal too 100 , text color Green&lt;/P&gt;&lt;P&gt;between 101 and 115 , text Orange&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and greater than 115 text is Red.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269945#M1193164</guid>
      <dc:creator />
      <dc:date>2011-06-07T13:30:25Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269946#M1193165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( [total] &amp;lt;= 100, RGB (0,128,0),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // if less than 100 than green&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ([(total] &amp;lt;= 115, RGB (255,255,0),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // else if less than 115 then orange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RGB (255,0,0)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // else red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgb() is a function so teh parenthisis go around the arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bewrae that id your total has got decimal places you will have to tweak the conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269946#M1193165</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-07T13:38:03Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269947#M1193166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Pat Thanks so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269947#M1193166</guid>
      <dc:creator />
      <dc:date>2011-06-07T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269948#M1193167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hey Pat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cant quite get the above to do what I want , I have the chart formatted as decimals and it doesnt seem to work I have tried changing the range to 0.1 and 0.115, but it stil isnt working can you please advise ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269948#M1193167</guid>
      <dc:creator />
      <dc:date>2011-06-07T15:25:13Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269949#M1193168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; hey,&lt;/P&gt;&lt;P&gt;what do you mean you cannot get it to do exactly what you want? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of values are you getting in the [total] as this is what we are comparing against? Can you show some of those values here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a decimal? why have you changed the range to 0.1, 0.115? Is [total] a percentage? or do you have values like 100.1, 115.05 etc. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can remove the decimal part in the conditional expression by doing this floor([total]) without touching your actual expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes these color codings can be misleading especially on the boundaries as the underlying number may be different to the displayed figure - due to rounding/formatting etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you post an example of your qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269949#M1193168</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-07T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269950#M1193169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi pat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I orignally used this statement on a pivot chart loaded from excel where it ws formatted as a number , as ws the chart in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish to use it now in another Pivot chart where the data in Excal is formatted as Percentage and in chart its as percentage with 1 decimal place .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the statement as amended:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;if ([2.1.2 FTE Manpower v Actual (Budget = 107)] &amp;lt;= 0.1, RGB (0,255,0), if ([2.1.2 FTE Manpower v Actual (Budget = 107)] &amp;lt;= 0.115, RGB (255,255,0),RGB (255,0,0))) &lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is resulting in all the background colours being RED ( Which is the or else part of the condition)&amp;nbsp; &lt;/P&gt;&lt;P&gt;Do you reckon its something with how the data is formatted in the load ?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269950#M1193169</guid>
      <dc:creator />
      <dc:date>2011-06-07T15:42:27Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269951#M1193170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; well everything is certainly being evaluated as being larger than 0.115, that is for sure!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is hard to tell without seeing the data but as said before formatting means what you see is not necessarily what you get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your document do a right click and "select fields" and selct the filed you are measuring aginst. thsi will give you a list box withe the values in the field as they appear with their default formatiing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does this look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 15:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269951#M1193170</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-06-07T15:58:30Z</dc:date>
    </item>
    <item>
      <title>Pivot tables conditional colours</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269952#M1193171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Perfect , Great Tip Pat ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its all ok now&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 16:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-tables-conditional-colours/m-p/269952#M1193171</guid>
      <dc:creator />
      <dc:date>2011-06-07T16:01:53Z</dc:date>
    </item>
  </channel>
</rss>

