Book Image

Qlikview Unlocked

Book Image

Qlikview Unlocked

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
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Hidden Image List
Index

Avoiding problems with JOIN


When using the JOIN function within QlikView, there are a few things to remember; otherwise, things can go disastrously wrong. However, it is the best way of cutting down the number of branches in a star data model.

Background

QlikView has four joining types; they are the same as SQL but there are slight differences in the syntax. QlikView uses Inner, Outer, Left, and Right, whereas SQL uses Inner, Full, Left, and Right. Using the right one with the right keys is essential.

How to do it

The easiest way to flatten the data model is to join two tables together into one. For a table where there is a key field and a description, it is very easy to add the description into the main table using a LEFT join (refer to the following section for an example.)

Data is joined using all the matching fields in the Load statement, so care must be taken to ensure that all fields needed are actually in the Load statement and that any field that is not needed as a link is aliased.

A further...