<?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 Table - Colouring specific fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241216#M91660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table that is really confusing to read, but the data on it is valuable. I think that I can make it better, if I could colour code the specific cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without going into too much irrelevant detail, the graph describes how the customers break into sales deciles, and how those deciles change over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to do is code the chart to clearly indicate which is an improvement, which is a downgrade, and which is no change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I would describe it is:&lt;/P&gt;&lt;P&gt;If RowNo() = ColumnNo() Then Neutral (gray, white, something neutral, whatever)&lt;/P&gt;&lt;P&gt;If ColumnNo() &amp;gt; RowNo() Then Bad (red, orange, shades of red, whatever)&lt;/P&gt;&lt;P&gt;Else Good (green, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't do it with 'visual queues', so I'm right clicking in the table, and selecting 'Custom Format Cell'; Then attempting to use RowNo and ColumnNo functions to change the colour, but it appears that RowNo() is always = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my guess is that this formatting has no idea about the table to which it is applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know if this is possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 01:05:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-04T01:05:15Z</dc:date>
    <item>
      <title>Pivot Table - Colouring specific fields</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241216#M91660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table that is really confusing to read, but the data on it is valuable. I think that I can make it better, if I could colour code the specific cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without going into too much irrelevant detail, the graph describes how the customers break into sales deciles, and how those deciles change over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to do is code the chart to clearly indicate which is an improvement, which is a downgrade, and which is no change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I would describe it is:&lt;/P&gt;&lt;P&gt;If RowNo() = ColumnNo() Then Neutral (gray, white, something neutral, whatever)&lt;/P&gt;&lt;P&gt;If ColumnNo() &amp;gt; RowNo() Then Bad (red, orange, shades of red, whatever)&lt;/P&gt;&lt;P&gt;Else Good (green, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can't do it with 'visual queues', so I'm right clicking in the table, and selecting 'Custom Format Cell'; Then attempting to use RowNo and ColumnNo functions to change the colour, but it appears that RowNo() is always = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my guess is that this formatting has no idea about the table to which it is applied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone know if this is possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 01:05:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241216#M91660</guid>
      <dc:creator />
      <dc:date>2010-08-04T01:05:15Z</dc:date>
    </item>
    <item>
      <title>Pivot Table - Colouring specific fields</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241217#M91661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I'm understanding the question, I'd think you'd just use a background color expression for the expression. For instance, here's how I color code some data in one of my applications red, yellow or green:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(Capped/Target&amp;lt;.5,rgb(255,200,200) // red&lt;BR /&gt;,if(Capped/Target&amp;lt;1 ,rgb(255,255,200) // yellow&lt;BR /&gt; ,rgb(200,255,200))) // green&lt;/P&gt;&lt;P&gt;So I'd think you'd just do this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;if(rowno()=columnno(),white()&lt;BR /&gt;,if(rowno()&amp;lt;columnno(),rgb(255,200,200) // red&lt;BR /&gt; ,rgb(200,255,200))) // green&lt;/P&gt;&lt;P&gt;Yep, just tried it. Works like a charm, assuming I've understood your question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 01:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241217#M91661</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-04T01:13:19Z</dc:date>
    </item>
    <item>
      <title>Pivot Table - Colouring specific fields</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241218#M91662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There I go again... overcomplecating things.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 18:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-Table-Colouring-specific-fields/m-p/241218#M91662</guid>
      <dc:creator />
      <dc:date>2010-08-04T18:46:23Z</dc:date>
    </item>
  </channel>
</rss>

