Book Image

QlikView Unlocked

By : Andrew Dove, Roger Stone
Book Image

QlikView Unlocked

By: Andrew Dove, Roger Stone

Overview of this book

QlikView Unlocked will provide you with new insights to get the very best from QlikView. This book will help you to develop skills to work with data efficiently. We will cover all the secrets of unleashing the full power of QlikView, which will enable you to make better use of the tool and create better results for future projects. In the course of this book, we will walk you through techniques and best practices that will enable you to be more productive. You will gain quick insights into the tool with the help of short steps called ”keys,” which will help you discover new features of QlikView. Moving on you will learn new techniques for data visualization, scripting, data modeling, and more. This book will then cover best practices to help you establish an efficient system with improved performance. We will also teach you some tricks that will help you speed up development processes, monitor data with dashboards, and so on. By the end of this book, you will have gained beneficial tips, tricks, and techniques to enhance the overall experience of working with QlikView.
Table of Contents (16 chapters)
QlikView Unlocked
About the Authors
About the Reviewers
Hidden Image List

Include files

We have already said that you should use MUST_INCLUDE rather than INCLUDE, but we're always surprised that many developers never use include files at all. If the same code needs to be used in more than one place, it really should be in an include file.

Suppose that you have several documents that use C:\QlikFiles\Finance\Budgets.xlsx and that the folder name is hardcoded in all of them. As soon as the file is moved to another location, you have several modifications to make, and it's easy to miss changing a document because you may not even realize it uses the file.

The solution is simple, very effective, and guaranteed to save you many reload failures.

Instead of coding the full folder name, create something similar to this:

LET vBudgetFolder='C:\QlikFiles\Finance\'; 

Put the line into an include file—for instance,

Then, code this into each script:


Finally, when you want to refer to your Budgets.xlsx spreadsheet, code the following...