Lesson 1Date parsing and canonicalization: parsing OrderDate into date/time, handling multiple date formats and time zonesLearn how to turn raw date and time data into proper Qlik dual date fields. Deal with different formats from sources, time zones, and local settings while creating standard date fields for smooth calendar 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 links and the file wizard. Set up paths, character encoding, separators, and headers, then tweak LOAD statements for clean and reliable imports every time.
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 statementMaster documenting Qlik scripts with useful comments, section headers, and markers so other developers and reviewers can easily follow the logic, data sources, and key business rules in your ETL work.
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 orderGet how Qlik runs script statements from connections to final STORE or EXIT. Understand sections, run order, basic error handling, and how this affects your data model 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 functionsMake calendar fields like Year, Month, Quarter from OrderDate using Qlik date tools. Add flags and keys for flexible analysis across fiscal and standard calendars.
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 standardizing ProductCategory/ProductSubCategoryClean text fields in script with TRIM, case changes, Replace, and null fixes. Make ProductCategory and ProductSubCategory consistent for proper 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 update scripts with partial reloads, incremental basics, and checks. Match row numbers and checksums to ensure changes don't mess up 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 typesProfile fields while loading by checking unique values, nulls, and types. Use temp tables, RESIDENT loads, and functions to spot data issues 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 roundingHandle numbers and calculations safely in script, with rounding and zero-division protection. Create reliable fields like SalesAfterDiscount and ProfitMargin for 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 comments, sections, naming rules, and modular includes for easy-to-read and maintain scripts so teams can build on complex ETL without hassle.
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 casesDive into key Qlik script commands for loading and changing data. Know when to use LOAD, SELECT, INLINE, RESIDENT, DROP, RENAME for efficient 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 strategiesDeal with missing, negative, or odd values using conditions and NULLVALUE. Apply simple fixes and limits to keep data solid without fake numbers.
Configuring NULLVALUE and NullInterpretIF and Alt for conditional handlingTreating negative quantities and pricesSimple mean and median imputationsCapping extreme outliers in metrics