Data Visualization for Tabular Information (with Qlikview case)

sunil Last Updated : 17 Apr, 2015
5 min read

BI industry has its roots in MIS and spreadsheets have been the most commonly used MIS tool in the last decade. Due to this, a lot of typical reports in Organizations end up in tabular format. To make situation worse, the number of columns in these reports keep on increasing over time (e.g. addition of comparison against benchmarks). The end product of this evolution is an amorphous table with army of numbers. People will look at this report and deliberate over numbers and insights!

In today’s post, I’ll take one such report, tell you how to add a series of visualizations to make it better and leave you with a thought which will entirely transform the user experience about this report. While I am using Qlikview as a tool, the thought process can be applied to any BI tool.

Lets start with a typical report (in form of table). This is the first representation in picture below. It shows multiple data points in non-meaningful manner. We will transform this report into the second representation with help of a few tools. Not only this, I’ll leave you with a thought on how you can apply these tools to make powerful dashboards (third representation).

scorecard_improvement

If you come from an Excel background, these additions in reports are referred as conditional formatting and spark line chart (available in MS Excel 2010) option. While I tried searching internet for tutorials to create this in Qlikview, I could not find any. Hence I thought to contribute this article for the benefit of other analysts like me who are struggling with similar question.

We will discuss 3 visualization techniques for tabular information:

  1. Conditional formatting
  2. Image representation
  3. Mini Chart:

Conditional_Qlikview_Image

[stextbox id = “section”]Conditional formatting: [/stextbox]

Conditional formatting refers to changes in formats of cells based upon specific criteria. Examples of conditional formatting would include displaying negative quantities in red, display background/ text color as green if Actual Vs Plan is more than 100%, number format etc.

Conditional formatting can be performed in QlikView in two ways:A) Using Expression Attributes B) Visual Cues

Steps for Expression Attributes:

In expression tab of Pivot/ Straight table, click on (+) sign of expression attribute and select background color/ Text Color. Then move to definition section of background/ text color and write conditional statement based on your requirement.

Expression Attribute, Conditional Formatting

Steps for Visual Cues :

Open Visual Cues tab of Pivot/ Straight table and click on expression. Apply conditional statement to set background color/ Text color.

Visual_Cubes_Qlikview_Image

[stextbox id = “section”]Image representation: [/stextbox]

This option is similar to icon representation (in conditional formatting) of excel. Examples of this include representing growth by up arrow and shrinkage by down aroox.

Steps for Image Representation: 

Objective: Compare with last year sale, if it is above then up-arrow else down arrow.

Step 1: Create expression for Current Year and Previous year (Using Set Analysis)

Step 2: Generate expression for variance over previous year.

Step 3: Select Variance and and then in display options tab, select “Image”. Post that in expression window, write a conditional statement and select image name from image tab available in expression window (Refer below snapshot) based on your conditional statement like:

=if([Current Year]- [Prev Year]<0,'qmem://<bundled>/BuiltIn/arrow_s_r.png','qmem://<bundled>/BuiltIn/arrow_s_g.png')
 
Image_Representation_Qlikview_Image1

[stextbox id = “section”]Mini Chart: [/stextbox]

Mini charts are the trend chart or bar chart in cell of a table over a period. It becomes more helpful when in one column we are showing the present value and in the next cell historical trend of that value. It will help the end user to quickly understand the trend. In excel 2010, this feature has been introduced as Sparklines chart. In Qlikview, this can be used in straight table only.

Steps for Mini chart:  

Objective: Represent regional monthly sales trend.

Step 1: Create a straight table with region as dimension and sum(sale) as expression.

Mini_Chart_Qlikview_Image1

Step 2: Select expression and in display options tab select “Mini Chart”. Post that select mini chart setting, under mini chart setting, under dimension option select dimension for trend (Here select Month for Monthly trend) and we can select different  mode of mini chart like sparkline, bars etc. then apply and OK.

Mini_Chart_Qlikview_Image2

Finally we have mini chart with regional Monthly trend but here monthly trend is not in ascending order of calender month. To execute same we need to sort the expression value in sort tab.

Mini_Chart_Qlikview_Image3

While we have improved the initial report a lot, it is still job half done! A good BI professional will spend more time thinking on following aspects of this report:

  • How can I make this more visually appealing?
  • How would this look on a mobile device?
  • Can we simplify this or do we need all this information?

The end result of all this thinking should reflect in your application. Following is one such example of representing the same information in visually impressive manner:

dashboard

You already have all the required knowledge to create something this powerful. All you need now is to apply this knowledge. Can you think of other powerful ways in which this information can be presented? Do you have some more examples like this to share?

Do let me know your thoughts through comments below.

If you like what you just read & want to continue your analytics learning, subscribe to our emailsfollow us on twitter or like our facebook page.

Sunil Ray is Chief Content Officer at Analytics Vidhya, India's largest Analytics community. I am deeply passionate about understanding and explaining concepts from first principles. In my current role, I am responsible for creating top notch content for Analytics Vidhya including its courses, conferences, blogs and Competitions.

I thrive in fast paced environment and love building and scaling products which unleash huge value for customers using data and technology. Over the last 6 years, I have built the content team and created multiple data products at Analytics Vidhya.

Prior to Analytics Vidhya, I have 7+ years of experience working with several insurance companies like Max Life, Max Bupa, Birla Sun Life & Aviva Life Insurance in different data roles.

Industry exposure: Insurance, and EdTech

Major capabilities: Content Development, Product Management, Analytics, Growth Strategy.

Responses From Readers

Clear

Congratulations, You Did It!
Well Done on Completing Your Learning Journey. Stay curious and keep exploring!

We use cookies essential for this site to function well. Please click to help us improve its usefulness with additional cookies. Learn about our use of cookies in our Privacy Policy & Cookies Policy.

Show details