<?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: Coloring Rows in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752220#M1043579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonali, I would use the Format Cell option described in my post with advanced default layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 12:47:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-02T12:47:01Z</dc:date>
    <item>
      <title>Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752216#M1043575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table box as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="263"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Company&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;division&lt;/TD&gt;&lt;TD class="xl63" width="71"&gt;EmpName&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Salary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Comp1&lt;/TD&gt;&lt;TD&gt;div1&lt;/TD&gt;&lt;TD&gt;X&lt;/TD&gt;&lt;TD align="right"&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Comp2&lt;/TD&gt;&lt;TD&gt;div2&lt;/TD&gt;&lt;TD&gt;Y&lt;/TD&gt;&lt;TD align="right"&gt;16000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Comp3&lt;/TD&gt;&lt;TD&gt;div3&lt;/TD&gt;&lt;TD&gt;Z&lt;/TD&gt;&lt;TD align="right"&gt;17000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Comp4&lt;/TD&gt;&lt;TD&gt;div4&lt;/TD&gt;&lt;TD&gt;P&lt;/TD&gt;&lt;TD align="right"&gt;18000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want the rows should be colored alternatively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Ex&amp;nbsp;&amp;nbsp;&amp;nbsp; Row1 = Blue, Row 2 = Green&lt;/P&gt;&lt;P&gt;&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; Row 3 = Blue, Row 4 = Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sonali Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 17:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752216#M1043575</guid>
      <dc:creator />
      <dc:date>2014-12-01T17:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752217#M1043576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this as the cell background color. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (&amp;nbsp; mod( RowNo( total ) , 2 ) = 1, lightblue(), lightgreen())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use other color functions like rgb() to get better colors&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72470_Capture.PNG.png" style="width: 620px; height: 221px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 17:13:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752217#M1043576</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-01T17:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752218#M1043577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alternatively, you can go into User Settings &amp;gt;&amp;gt; Design Tab&amp;nbsp; &amp;gt;&amp;gt; select Advanced under the default styling mode &amp;gt;&amp;gt; close out of that and right click on one of the cells &amp;gt;&amp;gt; select Custom Format Cell &amp;gt;&amp;gt; Play around there -- not sure if there is an 'every other row' function, but you can set background color.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is generally held as best practice for colors to only be used to call attention to certain important data.&amp;nbsp; The layout tab on chart properties should be sufficient to differentiate between adjacent rows in a table.&amp;nbsp; Save color definitions to represent important data and positive/negative KPIs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 22:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752218#M1043577</guid>
      <dc:creator />
      <dc:date>2014-12-01T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752219#M1043578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply. It is working but my requirement is something different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="223"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="95"&gt;Submission ID&lt;/TD&gt;&lt;TD width="64"&gt;Trans ID&lt;/TD&gt;&lt;TD width="64"&gt;Amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;TD align="right"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;3&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD align="right"&gt;1050&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;5&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD align="right"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;7&lt;/TD&gt;&lt;TD&gt;D&lt;/TD&gt;&lt;TD align="right"&gt;350&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I want is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If Submission ID "2" is given blue then 3 should "yellow" then again 5 should be blue and 7 should be yellow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my ouput is coming something like this. Please find the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Pivot table for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advanse&lt;/P&gt;&lt;P&gt;Sonali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 10:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752219#M1043578</guid>
      <dc:creator />
      <dc:date>2014-12-02T10:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752220#M1043579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonali, I would use the Format Cell option described in my post with advanced default layout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752220#M1043579</guid>
      <dc:creator />
      <dc:date>2014-12-02T12:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752221#M1043580</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;Use Text Format in expanding your Expression .You can change the font color whatever you want to display for the particular row, by using like RGB(250,125,132).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752221#M1043580</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-12-02T12:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Coloring Rows</title>
      <link>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752222#M1043581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pivot table the rowno() won't work. Instead you can use rank() to figure out the rows of the higher buckets&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the screenshot below the first expression has this background color&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( mod(aggr( rank( total Division), Division), 2)=1,yellow(),lightred())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2nd (company) goes back to using the rowno()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( mod(RowNo(Total),2)=1,yellow(),lightred())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/72587_Capture.PNG.png" style="width: 620px; height: 174px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Coloring-Rows/m-p/752222#M1043581</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-12-02T21:35:46Z</dc:date>
    </item>
  </channel>
</rss>

