Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW
  • CPE

Semantic Types & Data Validation in Qlik Analytics

Qlik
10/30/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


Hey, guys. It's Mike with Qlik. Thanks for joining me in the next video of the Do More with Qlik video series. I'm excited to be here in part five of the series on data products for Qlik Analytics, where we've been exploring data sets as a core component of a data product. In this section, we're going to explore semantic types and data validation rules, which help identify the issues in the data, highlighting problem areas so data stewards know exactly where to focus their efforts. So let's jump right in. So we'll pick up where we left off within the data catalog, looking at our data sets. Now, for this demonstration, we're going to use a new one named Line Items and Fulfillment, which basically combines order details and line items table. And I just used Dataflow to do that. So let's go into Line Items and Fulfillment. And just like the previous videos, we have our user interface with our overview, profile, data preview, lineage, impact analysis, and validation rules. Now, a quick note on data sampling size for profiling versus data preview. When you apply data validation rules or semantic types with validation, you're going to want to sample the values within your data to see which of those values are valid, for example, against those rules or semantic types. Here we have percentage of the data set 100% or number of rows. This is different when compared to looking at data preview, which is just looking at a preview size of either 100 or 1,000 rows. I have mine set to 1,000. If you're curious to where that is, it's in the ClickCloud administration under Settings, Feature Control, Catalog Dataset Preview Size. You can set it to 100 or 1,000. So keep that in mind. So I mentioned that we're going to focus a lot on the Data Preview tab as well as validation rules. When you look at validation rules, you're going to see that there aren't any applied. And I can click Apply Validation Rule. And if there aren't any that exist, you can create it manually. Or you can actually have AI create it through suggestions, looking at the actual columns and descriptive information to make some recommendations. And we'll talk about that later. The reason I'm mentioning this is because if you go into the menu, you're going to see a section named Data Quality. I'm just going to open that up in a new tab. And Data Quality basically is where you manage and organize the different data quality objects, such as semantic types or validation rules. It also allows you to look at weights and define those weights for the click trust score for the various dimensions. Validity, completeness, you can even turn on or turn off other dimensions, et cetera. This is going to vary based off your organization. But if you needed to configure these weights for the click trust score, you can do that here as well. So keep in mind when you make changes to your validation rules or semantic types, you're going to do it within the Data Quality section in the menu. And we'll come back to this once we set up a couple of them. OK, so coming back to the data set, let's look at Data Preview. So the first thing we're going to do is we're going to focus on Vendor. And we're just going to set up a very simple semantic type for Vendor, and I'll explain why. So the differences between setting up a semantic type versus a validation rule, semantic types basically ensure each column contains correctly formatted data. Think of an email or a phone number, while a validation rule will ensure the data is logically correct based on business requirements, including checks across different fields. So the first thing we're going to do is just set up a semantic type for Vendor so you can see how it works. OK, so let's work through this. I'll click Vendor, and you can see that we have a description and the data type, which was set up as a string within the profile, or it's defined here as text, doesn't have any typical semantic type set up with it, and it doesn't have any validation rules. So going to Data Quality, under Semantic Types, I'm going to create a new semantic type. And we'll give this a name, and we're going to call this Vendor Check. Can give it a description, and we can choose if we want to click Trust Score to use this for validation. And then there are three different types. There's Dictionary, which validates values against a predefined list of allowed entries. There's Pattern, which validates values based on specific format or structure using a regular expression. And then there's Compound, which basically just combines multiple semantic types together. And to give you a quick example of that, if I search for URL, you can see we have a couple of semantic types, Mail, Data, Website, HDFS, and File. And these all are defined as patterns. Now we have one called Generic, and it's defined as Compound. So if we look at Mail, you can see there's a regular expression for the pattern for Mail. If we look at Data, you can see there's a regular expression for the pattern for Data. If we go to Generic, it's actually combining Mail and Data, as well as File, HDFS, and URL. So if I click Edit, and I wanted to add a new one, I could just select from an existing semantic type. So that means if the data column it's checking is set up as a semantic type of Generic URL, if it contains any of those pattern formats in that column, it'll match that particular rule or semantic type validation. OK, so let's go back to the semantic type we were setting up, and we're going to set it up as a dictionary. So what I've done before we select the values, I wanted to show you that I have a little app here. And this app is just looking at the unique values in the Vendor column. We have Commodore, MSX, Odyssey 2, Retro Game Boys, and Retro Game Boys LLC. So out of these five values, Retro Game Boys and Retro Game Boys LLC, these are vendors, and these are brands. So there's obviously some issue in that data that will have to be cleaned up. So what we could do is create a semantic type defined as a dictionary with a list of allowed values. And those values can be Retro Game Boys and Retro Game Boys LLC. And there we go. So that sets up that semantic type. So I click Create. We're going to have it used for validation for the click trust score. And what we can do is just go back to the catalog. And all I'm going to do here is click Refresh. And when I do, I want you to keep an eye on the Vendor column and keep an eye on the data type area. So the refresh is now running that resampling of the profile. And it will automatically look against the semantic types and data validation rules and make those adjustments. And there we go. So now our data type is set as Vendor Check. And you can see through the visual graph, now we have 89.9% valid values, 3.5% empty values, and 6.6% invalid values. Remember we talked about the sample size? Let's go in here and let's change number of rows just to 100 and click Refresh. So now it's using only 100 rows to compute the validation. And you're going to see a difference in the visual indicator for Vendor. So notice that our null values are now missing. We don't have any black in there. There's 93% valid values and 7% invalid values. And if you click on this, it'll actually filter on those as well. So here we have Commodore, MSX, Odyssey 2, et cetera. And then here are our valid values. So a nice little demonstration of changing the sampling size and seeing how data validation works as a semantic type. OK, so we're going to wrap up this video now. And the next video will cover data validation rules. I'll see you on the next one. Bye.

TL;DR

  • Semantic types in Qlik validate that column values match a required format or belong to a predefined list, while validation rules enforce logical business correctness across one or more fields.
  • Three semantic type structures are available — Dictionary (allowed value lists), Pattern (regex-based format matching), and Compound (combinations of multiple semantic types) — giving teams flexible options for different data scenarios.
  • After applying a 'Vendor Check' dictionary semantic type, Qlik automatically resamples the dataset and visually breaks down valid, empty, and invalid values, making data quality issues immediately visible to stewards.
  • Sampling configuration matters: switching between 100% of rows and a fixed row count changes the computed quality percentages, so teams should align sampling settings with their governance and profiling requirements.

Semantic Types vs. Validation Rules

This fifth installment in Qlik's 'Do More with Qlik' series on data products focuses on two foundational data quality mechanisms: semantic types and validation rules. The presenter, Mike from Qlik, draws a clear distinction between the two — semantic types ensure each column contains correctly formatted data (think email addresses or phone numbers), while validation rules confirm that data is logically correct according to business requirements, including cross-field checks. Understanding this distinction is essential for data stewards who need to pinpoint and prioritize data quality issues within a dataset. The demonstration uses a combined 'Line Items and Fulfillment' dataset built with Qlik Dataflow, walking through the data catalog interface including overview, profile, data preview, lineage, impact analysis, and validation rules tabs.

Building and Applying a Dictionary Semantic Type

Mike walks through the creation of a dictionary-based semantic type called 'Vendor Check,' designed to validate the Vendor column against a predefined list of allowed values. The example reveals a real-world data quality problem: the Vendor column contains five distinct values — Commodore, MSX, Odyssey 2, Retro Game Boys, and Retro Game Boys LLC — where the last two represent the same brand entered inconsistently. By defining a dictionary semantic type with only the approved vendor names, Qlik automatically resamples the dataset and surfaces a breakdown of valid (89.9%), empty (3.5%), and invalid (6.6%) values through a visual graph. The video also demonstrates how changing the sample size from 100% to 100 rows shifts these percentages, illustrating the importance of sampling configuration when interpreting data quality scores. The Qlik Trust Score, which incorporates dimensions like validity and completeness, can be weighted and configured in the Data Quality section of the menu.

Chapters

0:00 - Introduction & Series Context
0:35 - Dataset Overview & Sampling Settings
1:56 - Data Quality Menu & Trust Score Weights
3:35 - Semantic Types vs. Validation Rules
4:58 - Dictionary, Pattern & Compound Types Explained
6:03 - Creating the Vendor Check Semantic Type
7:00 - Applying & Reviewing Validation Results

Key Quotes

3:41 "Semantic types basically ensure each column contains correctly formatted data. Think of an email or a phone number, while a validation rule will ensure the data is logically correct based on business requirements, including checks across different fields."
6:17 "Retro Game Boys and Retro Game Boys LLC, these are vendors, and these are brands. So there's obviously some issue in that data that will have to be cleaned up."
7:24 "Now our data type is set as Vendor Check. And you can see through the visual graph, now we have 89.9% valid values, 3.5% empty values, and 6.6% invalid values."
8:23 "A nice little demonstration of changing the sampling size and seeing how data validation works as a semantic type."

FAQ

What is the difference between a semantic type and a validation rule in Qlik?

Semantic types ensure a column contains correctly formatted data — such as a valid email or phone number format — using dictionary lists, regex patterns, or compound combinations. Validation rules go further by checking whether data is logically correct according to business requirements, including checks that span multiple fields.

How does sample size affect data quality results in Qlik's data catalog?

Qlik allows you to sample either a percentage of the full dataset or a fixed number of rows (100 or 1,000) when profiling and applying semantic types or validation rules. Changing the sample size can shift the computed percentages of valid, empty, and invalid values, so it's important to configure sampling consistently and understand its impact on quality scores.


Categories:
  • » Data Protection » Backup & Recovery
  • » Cybersecurity » Data Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Data Protection
  • Compliance & Governance
  • AI & Machine Learning
  • Demo
  • How-To
  • Technical Deep Dive
  • Data Quality
  • Semantic Types
  • Data Validation Rules
  • Qlik Data Catalog
  • Qlik Trust Score
  • Data Profiling
  • Data Governance
  • Data Products
  • Metadata Management
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Semantic Types & Data Validation in Qlik Analytics

              View CPE Certificates

              Upcoming 360 View Events

              • Nov
                19

                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection

                11/19/202601:00 PM ET
                More events

                XStreaminars (watch here)

                • Nov
                  10

                  Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service

                  11/10/202601:00 PM ET
                  • Nov
                    12

                    Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision

                    11/12/202601:00 PM ET
                    More events

                    Industry Events (Sponsor Hosted)

                    • Nov
                      04

                      Aligning Agentic Intent: Understanding Your Agents' True Potential and Performance

                      11/04/202611:00 AM ET
                      • Nov
                        05

                        Reclaim Your Evenings: Leverage Data Intelligence to Minimize Risk and Boost AI Adoption

                        11/05/202602:00 PM ET
                        • Nov
                          10

                          Agentic Shopping and Muse: Insights for the 2026 Holiday Season

                          11/10/202601:00 PM ET
                          • Nov
                            19

                            Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents

                            11/19/202601:00 PM ET
                            • Jan
                              19

                              HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.

                              01/19/202702:00 PM ET
                              More events

                              Upcoming Webinar Calendar

                              • 11/04/2026
                                11:00 AM
                                11/04/2026
                                Aligning Agentic Intent: Understanding Your Agents' True Potential and Performance
                                https://www.truthinit.com/index.php/channel/2158/aligning-agentic-intent-understanding-your-agents-true-potential-and-performance/
                              • 11/05/2026
                                02:00 PM
                                11/05/2026
                                Reclaim Your Evenings: Leverage Data Intelligence to Minimize Risk and Boost AI Adoption
                                https://www.truthinit.com/index.php/channel/2172/reclaim-your-evenings-leverage-data-intelligence-to-minimize-risk-and-boost-ai-adoption/
                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service
                                https://www.truthinit.com/index.php/channel/2191/zendesk-from-ai-readiness-to-results-a-framework-for-transforming-it-service/
                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Agentic Shopping and Muse: Insights for the 2026 Holiday Season
                                https://www.truthinit.com/index.php/channel/2219/agentic-shopping-and-muse-insights-for-the-2026-holiday-season/
                              • 11/12/2026
                                01:00 PM
                                11/12/2026
                                Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision
                                https://www.truthinit.com/index.php/channel/2192/leaving-vmware-means-leaving-vsan-your-vmware-exit-is-really-a-storage-decision/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection
                                https://www.truthinit.com/index.php/channel/2076/securing-the-microsoft-enterprise-strengthening-configuration-management-identity-security-and-data-protection/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents
                                https://www.truthinit.com/index.php/channel/2181/zendesk-deep-dive-get-the-work-done-faster-with-employee-service-ai-agents/
                              • 01/19/2027
                                02:00 PM
                                01/19/2027
                                HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.
                                https://www.truthinit.com/index.php/channel/2160/human-dialogue-embracing-the-rise-of-the-empowered-ai-consumer/
                              Truth in IT
                              • Sponsor
                              • About Us
                              • Terms of Service
                              • Privacy Policy
                              • Contact Us
                              • Preference Management
                              Desktop version
                              Standard version