Lesson 1Date parsing and canonicalization: parsing OrderDate into date/time, handling multiple date formats and time zonesLearn to parse raw date and time fields into Qlik dual date values. Handle multiple source formats, time zones, and locale issues while building canonical date fields that support consistent calendar logic for Canadian fiscal reporting.
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. Configure paths, encodings, delimiters, and header options, and adjust LOAD statements to ensure clean, predictable imports suitable for Canadian data standards.
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 meaningful comments, headers, and section markers so future developers and auditors can quickly understand logic, data sources, and key business rules defined in the ETL process for compliance.
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 evaluates script statements, from connection setup to final STORE or EXIT. Learn script sections, execution order, error handling basics, and how this flow impacts data model results and performance in real-world applications.
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 such as Year, Month, and Quarter from OrderDate using Qlik date functions. Support flexible time analysis by generating additional flags and keys for fiscal and calendar views aligned with Canadian practices.
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 and standardize text fields in the script using TRIM, case functions, Replace, and null handling. Ensure ProductCategory and ProductSubCategory values are consistent for grouping and association in multicultural Canadian markets.
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 checksDevelop a safe workflow for changing scripts, including partial reload, incremental reload basics, and validation checks. Compare row counts and checksum values to confirm that changes did not corrupt data integrity.
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 techniques to profile fields during load, checking distinct values, null rates, and inferred data types. Use temporary tables, RESIDENT loads, and system functions to validate data quality early in the process.
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 cleansing and calculations in script, including safe arithmetic, rounding, and guarding against division by zero. Implement measures like SalesAfterDiscount and ProfitMargin that behave reliably in apps for accurate reporting.
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 maintainabilityApply best practices for script readability and maintainability using comments, logical sectioning, naming standards, and modular includes so teams can safely extend and troubleshoot complex ETL logic in collaborative environments.
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 casesExplore core Qlik script commands used to load and transform data. Understand when to use LOAD, SELECT, INLINE, RESIDENT, DROP, and RENAME, and how they combine to build efficient, maintainable ETL pipelines for diverse datasets.
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 outlier values with conditional expressions and NULLVALUE settings. Implement simple imputation and capping strategies that preserve data integrity while avoiding misleading metrics in analysis.
Configuring NULLVALUE and NullInterpretIF and Alt for conditional handlingTreating negative quantities and pricesSimple mean and median imputationsCapping extreme outliers in metrics