Tip of the Week

Conditional Coloring to Highlight Top and Bottom Values

In this week's post, we will introduce you to another excited new feature of TIBCO Spotfire 3.1, Conditional Coloring.  Let’s assume you have a Data Table which provides sales data for a particular store. The sales are broken up into three separate product categories: Furniture, Office Supplies, and Technology, and sales are measured across the different store locations per state.


Let’s assume we want to highlight the top 5 sales result and the bottom 5 sales result for the combination of products and states. To do this, we can use TIBCO Spotfire’s Conditional Coloring to color the top 5 values green and the bottom 5 values red.


We configure these settings inside the Color section of the Table’s Properties Dialog. First we create a Color Scheme Group that includes all the product columns: Furniture, Office Supplies, and Technology. We then add a Conditional Coloring rule, using the ‘Add Rule’ button and select the Top rule and set the value to 5 as shown below:


 
This will then color the table so that the top 5 highest sales are colored green.

As you can see, all 5 are from the office supplies column. What if we wanted to see the top 5 for each product? We then change the color scaling for this group to be by Column.


 
The result now shows the top 5 sales in each product colored.

 

We can now repeat this, but using the Bottom rule instead of Top to color the bottom 5 sales in each product red.

 


Some of the additional benefits of using the Conditional Coloring Rules are that the coloring is updated to reflect the changes in the data , including filtering.  In addition, you can expose the values for top and bottom as Property Controls so that the business user can alter the values when desired.  


In the screen shot below, you can see we exposed the top and bottom values as a slider control to let the user define how many values to color.

 

More details on Conditional Coloring, including Color Schemes, Color Scaling, Using Expressions in Coloring, additional Conditional Coloring Rules, and other updates are discussed in detail in both the 3.1 Delta Training Course and the TIBCO Spotfire Business Author Bootcamp.

 

Comments

 

Rich Ellis said:

Can conditional coloring be applied to an entire row, or just a single column?  I'd like to be able to identify a row by a special value in one column (say a "status" column with values of "pass" or "fail") and have the color highlight the entire row -- to make it even more obvious when scanning through the data.

April 13, 2010 5:49 PM
 

Tip of the Week said:

In previous posts , we have discussed the use of conditional coloring to color based off rules such as

May 9, 2010 8:21 PM
 

Knowledge Base said:

In previous posts , we have discussed the use of conditional coloring to color based off rules such as

May 9, 2010 9:20 PM
 

mianzubair said:

@Rich Ellis ... did you get the answer to your question ? i am looking for the same, i-e color code a complete row based on the value of one column.

-Zubair

August 4, 2011 3:19 PM
 

uggkensington said:

http://www.uggkensingtons.org/

http://www.uggkensingtons.org/ugg-fox-fur-short-boots-5531-c-54.html | UGG Fox Fur Short Boots 5531

http://www.uggkensingtons.org/ugg-kensington-boots-5678-c-2.html | UGG Kensington Boots 5678

http://www.uggkensingtons.org/ugg-rainier-eskimo-boots-5189-c-85.html | UGG Rainier Eskimo Boots 5189

http://www.uggkensingtons.org/ugg-retro-cargo-boots-1895-c-3.html | UGG Retro Cargo Boots 1895

December 27, 2011 8:13 PM
 

uggskensingtonsale said:

www.uggskensingtonsale.org

www.uggskensingtonsale.orgugg-adirondack-boots-ii-c-6.html | UGG Adirondack Boots II

www.uggskensingtonsale.orgugg-adirondack-tall-boots-c-11.html | UGG Adirondack Tall Boots

www.uggskensingtonsale.orgugg-amberlee-boots-c-34.html | UGG Amberlee Boots

www.uggskensingtonsale.orgugg-annabelle-boots-c-35.html |

December 28, 2011 4:07 AM
 

uggretrocargosale said:

January 4, 2012 8:50 PM

Leave a Comment

(required) 
(optional)
(required) 
Submit

Syndication

Other Spotfire Blogs

Spotfire's interactive information visualization and analytic solutions give users a remarkable experience for quickly and easily querying data and reporting results for superior business intelligence. From portfolio management and customer retention programs to key processes such as CRM, marketing, research, bioinformatics, yield and asset management and design for manufacturing, enterprises around the world rely on Spotfire's business analytics software to improve operational performance.

©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center