Lesson 1Date parsing and standardising: parsing OrderDate into date/time, handling different date formats and time zonesLearn to parse raw date and time fields into Qlik dual date values. Handle various source formats, time zones, and local issues while building standard date fields that support steady calendar logic for better analysis.
Using Date#, Timestamp#, and Time#Converting text dates to dual valuesHandling multiple source date formatsManaging time zones and UTC offsetsBuilding canonical OrderDate fieldsLesson 2Connecting to and importing CSV files: file paths, encoding, delimiters, and file wizard optionsConnect to CSV files using data connections and the file wizard. Set up paths, encodings, delimiters, and header options, and adjust LOAD statements to ensure clean, expected imports without errors.
Creating and testing file connectionsUsing the data load file wizardConfiguring delimiters and quotesHandling headers and first data rowManaging encoding and locale issuesLesson 3Documenting the load script: how to write clear comments to explain each main part as required by the project statementLearn how to document Qlik load scripts with good comments, headers, and section markers so future developers and checkers can quickly grasp the logic, data sources, and key business rules in the ETL process.
Comment styles: single line and blockHeader blocks for script and major sectionsExplaining business rules in commentsTagging assumptions, TODOs, and risksLesson 4Understanding Qlik Sense and QlikView load script structure and execution orderUnderstand how Qlik runs script statements, from connection setup to final STORE or EXIT. Learn script sections, execution order, basic error handling, and how this affects data model results and speed.
Main, tabbed sections, and includesTop‑down execution and dependenciesControl statements: IF, FOR, DO WHILEError handling and script logsImpact of order on joins and fieldsLesson 5Creating derived fields in script: Year, Month, Quarter from OrderDate with Qlik date functionsCreate derived calendar fields like Year, Month, and Quarter from OrderDate using Qlik date functions. Support flexible time analysis by making extra flags and keys for fiscal and calendar views.
Extracting Year, Month, and DayBuilding Quarter and MonthNameUsing YearStart and MonthStartFiscal vs calendar date derivationsCreating date keys for link tablesLesson 6Text cleansing in script: TRIM, UPPER/LOWER, Replace, Null handling and standardising ProductCategory/ProductSubCategoryClean and standardise text fields in the script using TRIM, case functions, Replace, and null handling. Make sure ProductCategory and ProductSubCategory values are steady for grouping and linking.
Removing spaces with TRIM and PURGECHARUPPER, LOWER, and PROPER case usageReplacing bad or legacy text valuesHandling null and empty string casesStandardizing product category labelsLesson 7Testing and iterating script changes: reload preview, incremental reload basics, and validating row counts and checksum checksBuild a safe way to change scripts, including partial reload, basic incremental reload, and validation checks. Compare row counts and checksum values to confirm changes did not spoil the data.
Using limited load for quick testsBasics of incremental reload logicValidating row counts by tableChecksum and hash‑based comparisonsRolling back and versioning scriptsLesson 8Field discovery and profiling during load: methods to inspect distinct values, nulls, and data typesLearn ways to profile fields during load, checking unique values, null rates, and guessed data types. Use temporary tables, RESIDENT loads, and system functions to check data quality early on.
Counting distinct values per fieldDetecting nulls and empty stringsChecking inferred data typesSampling data with temporary tablesUsing script logs for profilingLesson 9Numeric cleansing and calculations in script: SalesAfterDiscount, ProfitMargin with division-by-zero guards and roundingMaster numeric cleaning and calculations in script, including safe maths, rounding, and protecting against division by zero. Make measures like SalesAfterDiscount and ProfitMargin that work well in apps.
Cleaning numeric fields and coercionHandling nulls and nonnumeric valuesDivision‑by‑zero guards in formulasRounding and formatting measuresBuilding SalesAfterDiscount metricLesson 10Using comments, sectioning, and best practices in the script for readability and maintainabilityUse best practices for script readability and upkeep with comments, logical sectioning, naming standards, and modular includes so teams can safely add to and fix complex ETL logic.
Organizing tabs and logical sectionsConsistent field and table namingUsing include files for modularitySeparating staging and model layersRefactoring duplicated script logicLesson 11Basic script commands: LOAD, SELECT, INLINE, RESIDENT, DROP, RENAME and their common use casesLook at core Qlik script commands for loading and changing data. Know when to use LOAD, SELECT, INLINE, RESIDENT, DROP, and RENAME, and how they work together for efficient, easy ETL pipelines.
LOAD vs SELECT: when and whyUsing INLINE for small reference tablesRESIDENT loads for transformationsDROP and RENAME to tidy data modelPreceding LOAD patterns and benefitsLesson 12Handling missing, negative, and outlier values in script: conditional expressions, NULLVALUE, and simple imputation strategiesHandle missing, negative, and odd values with conditional expressions and NULLVALUE settings. Use simple filling and capping ways that keep data true while avoiding wrong metrics.
Configuring NULLVALUE and NullInterpretIF and Alt for conditional handlingTreating negative quantities and pricesSimple mean and median imputationsCapping extreme outliers in metrics