Book Image

QlikView for Developers Cookbook

By : Stephen Redmond
Book Image

QlikView for Developers Cookbook

By: Stephen Redmond

Overview of this book

QlikView has been around since 1993, but has only really taken off in recent years as a leader in the in-memory BI space and, more recently, in the data discovery area. QlikView features the ability to consolidate relevant data from multiple sources into a single application, as well as an associative data model to allow you to explore the data to a way your brain works, state-of-the-art visualizations, dashboard, analysis and reports, and mobile data access. QlikView for Developers Cookbook builds on your initial training and experiences with QlikView to help you become a better developer. This book features plenty of hands-on examples of many challenging functions. Assuming a basic understanding of QlikView development, this book provides a range of step-by-step exercises to teach you different subjects to help build your QlikView developer expertise. From advanced charting and layout to set analysis; from advanced aggregations through to scripting, performance, and security, this book will cover all the areas that you need to know about. The recipes in this book will give you a lot of the information that you need to become an excellent QlikView developer.
Table of Contents (19 chapters)
QlikView for Developers Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a Redmond Aged Debt Profile chart


I can't claim that I really created this general type of chart. Someone once said, there is nothing new under the sun. I know that other people have created similar stuff. However, I did create this implementation in QlikView to solve a real business problem for a customer and couldn't find anything exactly like it anywhere else.

This recipe follows on from the previous one (it uses the same data). We are going to extend the straight table to add additional bars to represent the aged debt profile.

Getting ready

Create the straight table from the previous recipe.

How to do it…

Follow these steps to create a Redmond Aged Debt Profile chart:

  1. Open the properties of the chart and go to the Expressions tab. Right-click on the second expression and select Copy from the menu:

  2. Right-click in the blank area below the expressions and select Paste. This will create a new expression with the same properties as the copy:

  3. Repeat the paste operation two more times to create three copies in total.

  4. Modify the three expressions as follows:

    Sum([0-60])/Sum([Total Debt])
    Sum([60-180])/Sum([Total Debt])
    Sum([180+])/Sum([Total Debt])
  5. Click on the Gauge Settings buttons for each and choose a different color from the original bar.

  6. Click on OK when done.

How it works…

The first column is a bar chart representing the vertical distribution of the total debt for each country. In the three following period columns, we divide each period value by the total debt for that country to get the ratio—the horizontal distribution of that country's debt across the periods. This allows the user to quickly scan down the chart and see which countries have the highest percentage debt in each period.

There's more…

There a many more situations where this can be used. Anywhere that you might consider using a stacked bar chart, consider using a Redmond instead.

See also

  • The Creating a modified bullet chart in a straight table recipe