QlikViewQVDCatelog

February 18, 2026 · View on GitHub

A QlikView application that catalogues and measures the data volume stored across a collection of QVD (QlikView Data) files.

Overview

The QVD Catalog reads metadata from QVD files across one or more configured directories and loads it into a QlikView data model. The application gives analysts and developers a clear picture of what data is stored in their QVD layer — including field names, record counts, file sizes, and table structures — without needing to load the underlying data itself.

Features

  • Scans multiple directories for QVD files (configurable in the load script)
  • Extracts metadata from each QVD including:
    • File name and path
    • Number of records and fields
    • File size and creation/modification dates
    • Field names and data types
  • Provides a data model suitable for building charts, tables, and dashboards
  • Useful for data governance, capacity planning, and QVD layer documentation

Getting Started

Prerequisites

  • QlikView Desktop (or QlikView Server for deployment)
  • Read access to the directories containing your QVD files

Configuration

Before reloading the application, open the load script and locate the Configuration section at the top. Set the directories you want to scan as records in the inline table:

// ── Configuration ────────────────────────────────────────────────────────────
ScanDir:
Load * Inline[
ScanDir
C:\QlikWarehouse\RawData
C:\QlikWarehouse\Transformed
];
// Add additional paths as needed

Adjust the path variables to point to the root folders where your QVD files are stored. The application will scan sub-folders.

Running the Application

  1. Open QlikView_QVD_Catelog.qvw in QlikView Desktop.
  2. Update the directory paths in the Configuration section of the load script.
  3. Save the script and perform a full reload (Ctrl+R or File > Reload).
  4. The data model will populate with metadata from all discovered QVD files.

Data Model

The application produces two primary tables linked by key fields.

Table — QVD File Metadata

Field NameDescription
%TableIdSurrogate key uniquely identifying each QVD table (links to Fields and Lineage tables)
Table Full File NameFull path and filename of the QVD file
Table FolderDirectory path where the QVD file is located
Table File NameFile name of the QVD without the folder path
Table File SizeSize of the QVD file on disk in bytes
Table QV Build NoQlikView build number used when the QVD was created
Table Creator DocThe QlikView document (.qvw) that created the QVD
Table Create DateDate the QVD file was created
Table Create TimeTime the QVD file was created
Table Source File SizeSize of the source data before QVD compression
Table NameLogical name of the table as defined in the creating script
Table Record Byte SizeAverage size of a single record in bytes
Table No of RecordsTotal number of records stored in the QVD
Table OffsetByte offset to the start of the data section within the QVD file
Table LengthLength of the data section within the QVD file in bytes

Fields — QVD Field Metadata

Field NameDescription
%TableIdForeign key linking each field record back to its parent QVD in the Table table
FieldNameName of the field as stored in the QVD
%FieldIDSurrogate key uniquely identifying each field (links to the Tags table)
Field Bit OffsetBit offset of the field within the QVD record structure
Field Bit WidthNumber of bits used to store the field value
Field BiasNumeric bias applied to the field's stored values
Field Number of SymbolsCount of distinct symbol values in the field's symbol table
Field OffsetByte offset to the field's symbol table within the QVD file
Field LengthLength of the field's symbol table section in bytes
Field TypeData type of the field (e.g., ASCII, Integer, Real, Date)
Field Num DecimalsNumber of decimal places used for numeric formatting
Field Use Thousands SeparatorWhether the field uses a thousands separator when displayed
Field FormatDisplay format mask applied to the field
Field DecDecimal separator character used for the field
Field ThouThousands separator character used for the field

Tags — Field Tags

Field NameDescription
%FieldIDForeign key linking each tag back to its parent field in the Fields table
Field TagSystem or user-defined tag applied to the field (e.g., $date, $numeric, $ascii)

Lineage — QVD Source Lineage

Field NameDescription
%TableIdForeign key linking the lineage record back to its parent QVD in the Table table
Lineage DiscriminatorIdentifies the source statement or connection that contributed data to the QVD

This model can be used to build charts showing data volume by directory, tables listing all fields across all QVDs, trend analysis on QVD growth over time, and more.

Use Cases

  • Data volume measurement — understand how much data is stored across your QVD layer
  • Field discovery — find which QVD files contain a specific field name
  • Documentation — generate a living catalogue of your QVD layer
  • Capacity planning — monitor file sizes and record counts over time
  • Data governance — audit the structure and content of your data lake

File Structure

QlikView_QVD_Catelog/

└── QlikView_QVD_Catelog.qvw   # Main QlikView application

License

This project is provided as-is for internal use. See LICENSE for details.