Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Qlikview Unlocked

You're reading from  Qlikview Unlocked

Product type Book
Published in Nov 2015
Publisher Packt
ISBN-13 9781785285127
Pages 196 pages
Edition 1st Edition
Languages

Table of Contents (16) Chapters

QlikView Unlocked
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Behind Every Successful Project Is a Plan 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 Hidden Image List
Index

Preceding load on preceding load


Within the QlikView scripting language, there is the ability to write Load statements on top of each other; such statements are known as preceding loads. This is quite a useful feature as it allows additional script to be applied without a lot of extra work.

However, there is quite a bit of processing overhead involved when you use this feature, and in most cases, it is more efficient to reload the table again (using resident) than it is to use preceding load on preceding load. Alternatively, if the reason for the preceding load on preceding load is to reuse a calculated field, it can be more efficient to reproduce the calculation again.

Consider the following example:

Product_Source:
LOAD *,
  Price + VAT as TotalPrice
;
LOAD [Product Code],  
     Price,
     Price * 0.20 as VAT
FROM 

Here, we calculated the VAT figure, stored it as a field, and then in the next part of the LOAD, we added the VAT figure to the price, giving us a TotalPrice field. This is fairly...

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 $15.99/month. Cancel anytime}