QlikView extensions and the cycle plot

If we are going to work with advanced data visualization in QlikView, we have to get used to working with extensions. We can either develop the QlikView extension ourselves or use open source extensions that are available in Qlik Branch (http://branch.qlik.com).

For example, we are presented with the challenge to find a better way to visualize year-over-year (YoY), week-over-week (WoW), or any other period-over-period analysis. The following line chart demonstrates how difficult it can be to compare a large number of periods:

QlikView extensions and the cycle plot

A cycle plot (Cleveland, Dunn, and Terpenning, 1978) offers a alternate way to compare a large number of periods. The following cycle plot is a QlikView extension that displays the average sales by weekday in each month and compares it to the total average sales represented by a flat horizontal line:

QlikView extensions and the cycle plot

Exercise 12.6

Let's create this cycle plot in Sales_Perspective_Sandbox.qvw using the following steps:

  1. In the Ch. 2 folder of the book's exercise files, double-click the CyclePlot.qar file. QlikView will automatically open and notify you that the extension has been installed successfully.
  2. In Sales_Perspective_Sandbox.qvw, activate WebView.
  3. Right-click over an empty space and select New Sheet Object.
  4. Click Extensions Objects and drag the extension called Cycle Plot to a empty place in the sheet.
  5. Define the following properties to the cycle plot. The expression is
    sum({$<_ActualFlag={1}>} [Net Sales])
    /
    count(distinct _KEY_Date)
    

    Tip

    The properties of an extension are unique to that extension. We should review the extension's documentation for more information about each option.

    Exercise 12.6

We should now see the cycle plot similar to the one previously shown. We will continue to explore more QlikView extensions in later chapters.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset