Search icon CANCEL
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 for Developers

You're reading from   QlikView for Developers Design and build scalable and maintainable BI solutions

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781786469847
Length 546 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Miguel  Angel Garcia Miguel Angel Garcia
Author Profile Icon Miguel Angel Garcia
Miguel Angel Garcia
Barry Harmsen Barry Harmsen
Author Profile Icon Barry Harmsen
Barry Harmsen
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Meet QlikView FREE CHAPTER 2. What's New in QlikView 12? 3. Seeing is Believing 4. Data Sources 5. Data Modeling 6. Styling Up 7. Building Dashboards 8. Scripting 9. Data Modeling Best Practices 10. Basic Data Transformation 11. Advanced Expressions 12. Set Analysis and Point In Time Reporting 13. Advanced Data Transformation 14. More on Visual Design and User Experience 15. Security Index

Reducing storage requirements


While it is often tempting to include as much data as possible, this can also make your data model more complex than it needs to be. Additionally, as QlikView uses an in-memory database, it is also a good idea to not waste resources. RAM is still a much scarcer resource than disk-based storage.

Using number-based key fields

When linking between tables using key fields, it is advisable to use numbers as key values instead of text. The AutoNumber() script function can be used to generate a unique integer value for an expression or compound key, thus compacting the occupied RAM space.

Consider, for example, the following list of colors and their corresponding value assigned by the AutoNumber() function. As each new value appears in the list, a consecutive number is assigned. All subsequent appearances of the same value will take the value assigned to the first instance. For example, all appearances of the Blue color have been assigned the number 2, as it is the second...

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