Efficiently debugging the script
It is good script practice to debug the script in your data load editor before its full execution. This way, the developer minimizes the risk of script failures and also saves on valuable time. The process of debugging makes it possible to monitor every script statement and examine the variable values while the script is being executed. The following recipe explains how to debug the Qlik Sense script efficiently.
Getting ready
Load the following script, which gives information about the Products
and Customers
in the Qlik Sense Data load editor
. The sample code is available for download from the Packt Publishing website:
Products Temp: LOAD * INLINE [ Product, ProductID, Sales Footwear, F21Lon, 120000 Tyres, T21Man, 150000 Mountain Bikes, MB32Lon, 195000 Road Bikes, RB12Bir, 225000 ]; Customers: LOAD * INLINE [ Customer, ProductID, City Hero, F21Lon, London Avon, T21Man, Manchester Force1, MB32Lon, London Ferrari, RB12Bir, Birmingham...