Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Qlikview Unlocked

You're reading from   Qlikview Unlocked Unlock more than 50 amazing tips and tricks to enhance your QlikView skills

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher Packt
ISBN-13 9781785285127
Length 196 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Roger Stone Roger Stone
Author Profile Icon Roger Stone
Roger Stone
Andrew Dove Andrew Dove
Author Profile Icon Andrew Dove
Andrew Dove
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Behind Every Successful Project Is a Plan FREE CHAPTER 2. Building the Correct Environment 3. Are You Sitting Comfortably? Be More Productive 4. It's All About Understanding the Data 5. The Right Data Model Pays Dividends 6. Make It Easy on Yourself – Some QlikView Tips and Tricks 7. Improving Chart Performance and Usability 8. To Deployment and Beyond A. Hidden Image List
Index

Synthetic keys and why they're sometimes bad news

Whenever you create two or more tables that have two or more fields with the same name, QlikView creates a synthetic key table to join them.

Background

Old school logic has stated for a long time that Synthetic keys in the data model design are bad. This is not always the case, however, and in some cases, it is unavoidable.

How to do it

The best way to avoid Synthetic keys is to create a single field with all the fields concatenated together. This needs to be done in all linking tables. The result would be a cleaner and potentially more efficient design.

The problem with this approach is the amount of memory it can consume. The uniqueness of this new combined field means that the amount of memory used to store it is increased and not just in one table but all of them, as in the following simple example.

Current fields:

Field

Number of unique entries

Bytes used

Invoice Date

50

500 (10 characters x 50)

Customer ID

100

800 (8 characters...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image