

{"id":38294,"date":"2018-11-22T12:30:32","date_gmt":"2018-11-22T07:00:32","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=38294"},"modified":"2021-12-07T11:19:51","modified_gmt":"2021-12-07T05:49:51","slug":"qlikview-direct-discovery","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/","title":{"rendered":"QlikView Direct Discovery &#8211; Working &amp; QlikView Data Query"},"content":{"rendered":"<p>In our last tutorial, we talked about <a href=\"https:\/\/data-flair.training\/blogs\/t-test-in-qlikview\/\">QlikView T-Test<\/a>. Here, we will learn about What is QlikView Direct Discovery.<\/p>\n<p>Moreover, we will discuss field types and variables of Direct Discovery in QlikView. In addition, we study the QlikView Direct Query and\u00a0QlikView Direct Discovery Data Model Vs\u00a0In-Memory.<\/p>\n<p>The term <a href=\"https:\/\/data-flair.training\/blogs\/what-is-big-data\/\">Big Data<\/a> has been creating a buzz since quite some time now and all the new <a href=\"https:\/\/data-flair.training\/blogs\/Business-Intelligence-tools\/\">Business Intelligence tools<\/a> focus on analyzing big data.<\/p>\n<p>In QlikView also, big data or large amounts of data from external data sources can analyze along with other kinds of data through a script-based feature known as <strong>Direct Discovery<\/strong>.<\/p>\n<p align=\"justify\">So, let&#8217;s start QlikView Direct Discovery.<\/p>\n<div id=\"attachment_38319\" style=\"width: 1212px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38319\" class=\"size-full wp-image-38319\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg\" alt=\"QlikView Direct Discovery\" width=\"1202\" height=\"630\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg 1202w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01-768x403.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01-1024x537.jpg 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01-520x273.jpg 520w\" sizes=\"auto, (max-width: 1202px) 100vw, 1202px\" \/><\/a><p id=\"caption-attachment-38319\" class=\"wp-caption-text\">QlikView Direct Discovery &#8211; Working &amp; QlikView Data Query<\/p><\/div>\n<h3 align=\"justify\">What is QlikView Direct Discovery?<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Direct Discovery is a unique concept of hybrid data analysis. Traditionally, in QlikView, in-memory data is the main source of data to use for business analytics.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> However, we know that having only in-memory data as the main source of data is not enough. This inefficiency of the software counter by <strong>Direct Discovery<\/strong> feature which lets the user access the ocean of information in the form of data.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Also, what enhances the business of an enterprise is how well are they able to keep up with the new trends in business and maintain their market value.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Direct Discovery achieves by analysing as much relevant data as possible in order to get closest to what is happening in the real world. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView enables this by the Direct Discovery feature through which a user can fetch data from both in-memory and external databases (big data) and use this data as a single data set in a document.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> The QlikView Direct Discovery follows a query model and both, in-memory data and external database data follows the associative model of QlikView once loaded. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">However, one common challenged faced every time a software gets to deal with big data is its volume and variety.<\/span><\/span><\/p>\n<p align=\"justify\"><a href=\"https:\/\/data-flair.training\/blogs\/best-practice-for-data-modeling-in-qlikview\/\">Do you know what is the best practice for Data Modeling in QlikView?<\/a><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This problem solves as direct discovery is a query-based approach where queries send to retrieve and store only some part of the big data into the QlikView\u2019s memory keeping the rest at the source. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView Direct Discovery provides a great deal of transparency and lets any type of user get access to the big data along with in-memory data to use them together for business analysis. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This also alleviates the issue of data silos.<\/span><\/span><\/p>\n<h3 align=\"justify\">QlikView Direct Discovery Field Types<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The QlikView Direct Discovery table structure has data fields of three types;<\/span><\/span><\/p>\n<h4 align=\"justify\">a. Dimension Fields<\/h4>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-dimensions-measures\/\">Dimension<\/a> fields have the descriptive texts defining the values contained in that field. The dimension fields load and define by the keyword DIMENSION in the <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-scripting\/\">script<\/a>. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">These fields are the only fields that load in memory during direct discovery from the external database and also use in establishing associations between in-memory data fields\/field values and direct discovery fields and values. <\/span><\/span><\/p>\n<h4 align=\"justify\">b. Measure Fields<\/h4>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Entirely different from the dimension field, the Measure fields only contain numeric values upon which calculations are to perform using aggregation functions.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-aggregate-function-aggr\/\">Aggregation functions<\/a> like Sum, Min, Max, Avg, Count use on the data values in measure fields. The measure fields do not load into in-memory indirect discovery tables.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> This is because the aggregate functions apply at the database level and do not occupy the in-memory in applying aggregation on data. <\/span><\/span><\/p>\n<h4 align=\"justify\">c. Detail Fields<\/h4>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The detail fields are simple fields that contain descriptive and important comments or remarks on the data being used. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The data in detail fields do not use as dimension or measure. Hence, in any expression. Any field can designate as a Detail field using the keyword DETAIL.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The table given below shows some characteristics of the three field types.<\/span><\/span><\/p>\n<table dir=\"ltr\">\n<colgroup>\n<col width=\"90\" \/>\n<col width=\"87\" \/>\n<col width=\"131\" \/>\n<col width=\"168\" \/><\/colgroup>\n<tbody>\n<tr>\n<td><strong>Field Type<\/strong><\/td>\n<td><strong>In-Memory?<\/strong><\/td>\n<td><strong>Forms\u00a0 Association?<\/strong><\/td>\n<td><strong>Used in Chart Expressions\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>DIMENSION\u00a0 \u00a0\u00a0<\/strong><\/td>\n<td>Yes<\/td>\n<td>Yes<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td><strong>MEASURE\u00a0 \u00a0 \u00a0 \u00a0<\/strong><\/td>\n<td>No<\/td>\n<td>No<\/td>\n<td>Yes<\/td>\n<\/tr>\n<tr>\n<td><strong>DETAIL\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/strong><\/td>\n<td>No<\/td>\n<td>No<\/td>\n<td>No<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 align=\"justify\">QlikView Direct Discovery Variables<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">There are certain dedicate variables use in direct discovery statements. In this section, we are going to learn different types of\u00a0QlikView direct discovery variables based on the purpose of the action they perform.<\/span><\/span><\/p>\n<h4 align=\"justify\">a. QlikView Direct Discovery System Variables<\/h4>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectCacheSeconds<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The caching limit in <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-charts\/\">charts<\/a> can be set using this variable. The results clear once this time limit reaches.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectCacheSeconds=1800<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectConnectionMax<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Using this variable you can invoke pooling capabilities in QlikView direct discovery i.e. parallel calls can be made requesting data from the database at a time. By default, the limit is set at 1.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\"><em>SET DirectConnectionMax=10<\/em> <\/span><\/span><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectUnicodeStrings<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This variable enables the ANSI standard wide character extended Unicode string literals (N\u2019&lt;extended string&gt;\u2019). The value of the variable <\/span><\/span><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">DirectUnicodeStrings<\/span><\/span><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> is turned \u2018True\u2019.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Usually, this feature is not supported but it can be invoked through this variable in\u00a0QlikView direct discovery statement.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectUnicodeStrings=\u2018True\u2019\u00a0<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectDistinctSupport<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The queries sent to the database can group by deactivating or setting the DISTINCT variable to false. That is why the variable DirectDistinctSupport is set as False so that queries can group using GROUP BY.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectDistinctSupport=\u2018False\u2019<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectEnableSubquery<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">In larger <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-table\/\">tables<\/a> and script setups, sub-queries send to the database instead of sending proper queries. It can enable in\u00a0QlikView direct discovery statement by setting the value True.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectEnableSubquery=\u2018True\u2019<\/span><\/span><\/em><\/p>\n<h4 align=\"justify\">b. QlikView Direct Discovery Character Variables<\/h4>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectFieldColumnDelimiter<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This variable defines the character that will use as the field delimiter. For example,<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectFieldColumnDelimiter=\u2018|\u2019<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectStringQuoteChar<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The character that will use to enclose strings in the queries define by this variable.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectStringQuoteChar=\u2018\u201d\u2019<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectIdentifierQuoteStyle<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This variable is used to change the quoting style from ANSI (default) to a non-ANSI style. The only non-ANSI style in use is GoogleBQ.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectIdentifierQuoteStyle=\u2018GoogleBQ\u2019<\/span><\/span><\/em><\/p>\n<p align=\"justify\"><a href=\"https:\/\/data-flair.training\/blogs\/qlikview-themes-in-layout\/\"><strong>We recommend you to read &#8211; How to Apply QlikView Layout Themes?<\/strong><\/a><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectIndentifierQuoteChar<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Using this variable, you can define a character (single or in pair) which will control the quoting of identifiers in the query.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectIndentifierQuoteChar=\u2019[]\u2019<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectTableBoxListThreshold<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Using this variable you can set the threshold limit for the number of rows in a table chart created using direct discovery in QlikView. This threshold is set to 1000 by default. You can increase or decrease it accordingly.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">SET DirectTableBoxListThreshold=6000<\/span><\/span><\/em><\/p>\n<h4 align=\"justify\">c. QlikView Direct Discovery Number Interpretation Variables<\/h4>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectMoneyDecimalSep<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This defines the decimal money separator. <\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">Set DirectMoneyDecimalSep=\u2019.\u2019;<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectMoneyFormat<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">\u00a0Sets the currency format.<\/span><\/span><\/p>\n<p><em><strong>Set DirectMoneyFormat=\u2019#.0000\u2019;<\/strong><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectTimeFormat<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Sets the time format and replaced that defined by the SQL statement.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">Set DirectTimeFormat=\u2019hh:mm:ss\u2019;\u00a0<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectDateFormat<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Sets and replaced the SQL statement for date format.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\"><span style=\"font-size: medium\">Set DirectDateFormat=\u2019DD\/MM\/YYYY\u2019;<\/span><\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-family: Georgia, serif\"><span style=\"font-size: large\">DirectTimeStampFormat<\/span><\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This variable is used to define the date and time stamp and replaces the SQL one.<\/span><\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\">Set DirectTimeStampFormat=\u2019D\/M\/YY hh:mm:ss[.fff];<\/span><\/em><\/p>\n<h4 align=\"justify\">d. Teradata Banding Query Variables<\/h4>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The Teradata banding query variables are used by the enterprises to connect to the Teradata databases. There are two variables used for this purpose.<\/span><\/span><\/p>\n<ul>\n<li><strong><span style=\"font-size: medium;font-family: Arial, serif\">SQLSessionPrefix<\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-size: medium;font-family: Arial, serif\"> A string containing this variable is sent when a session or connection with Teradata database is initiated.<\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\">SET SQLSessionPrefix = &#8216;SET QUERY_BAND = &#8216; &amp; Chr(39) &amp; &#8216;Who=&#8217; &amp; OSuser() &amp; &#8216;;&#8217; &amp; Chr(39) &amp; &#8216; FOR SESSION;&#8217;;<\/span><\/em><\/p>\n<ul>\n<li><strong><span style=\"font-size: medium;font-family: Arial, serif\">SQLQueryPrefix<\/span><\/strong><\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-size: medium;font-family: Arial, serif\"> This variable containing string is used before every single query.<\/span><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\">SET SQLSessionPrefix = &#8216;SET QUERY_BAND = &#8216; &amp; Chr(39) &amp; &#8216;Who=&#8217; &amp; OSuser() &amp; &#8216;;&#8217; &amp; Chr(39) &amp; &#8216; FOR TRANSACTION;&#8217;;<\/span><\/em><\/p>\n<p align=\"justify\"><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlikview-bookmarks\/\">Do you know How to Create &amp; Import Bookmarks in QlikView?<\/a><\/strong><\/p>\n<h3 align=\"justify\">QlikView Direct Query<\/h3>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Direct Query is the statement that defines and initiates direct discovery in QlikView. The QlikView direct query is written in the script editor along with the main document script where in-memory data is also loaded.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> The external database tables can access through ODBC and OLE-DB connections using the direct query statement.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The syntax for the QlikView direct query statement is,<\/span><\/span><\/p>\n<p><span style=\"font-family: Courier New, serif\"><b>DIRECT QUERY DIMENSION<\/b><\/span><span style=\"font-family: Courier New, serif\"> fieldlist [<\/span><span style=\"font-family: Courier New, serif\"><b>MEASURE<\/b><\/span><span style=\"font-family: Courier New, serif\"> fieldlist] [<\/span><span style=\"font-family: Courier New, serif\"><b>DETAIL <\/b><\/span><span style=\"font-family: Courier New, serif\">fieldlist] <\/span><span style=\"font-family: Courier New, serif\"><b>FROM<\/b><\/span><span style=\"font-family: Courier New, serif\"> tablelist [<\/span><span style=\"font-family: Courier New, serif\"><b>WHERE<\/b><\/span><span style=\"font-family: Courier New, serif\"> where_clause]<\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Where, the \u2018fieldlist\u2019 is the comma-separated fieldnames to consider as Dimension, Measure ad Detail.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> The \u2018tablelist\u2019 is the name of the table in the database from which data is being extracted and the \u2018where_clause\u2019 is a type where statement defining a condition. <\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">In this statement, the order of dimension, measure and query not define. But, every direct query statement must have a Dimension and From keywords (FROM coming after DIMENSION). <\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The image given below shows an example of the QlikView direct query statement.<\/span><\/span><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">ODBC CONNECT To AdWorks;\r\n     DIRECT QUERY\r\n        DIMENSION\r\n         CustomerID,\r\n         SalesPersonID,\r\n         SalesOrderID,\r\n         OrderDate,\r\n         NATIVE('Month ([OrderDate])') as OrderMonth, \r\n           NATIVE ('Year ([OrderDate])') as OrderYear\r\n       MEASURE\r\n         SubTotal,\r\n         TaxAmt,\r\n         TotalDue\r\n       DETAIL\r\n         DueDate,\r\n         ShipDate,\r\n         AccountNumber,\r\n         CreditCardApprovalCode,\r\n         rowguid,\r\n         ModifiedDate\r\n    FROM AdventureWorks.Sales.SalesOrderHeader;<\/pre>\n<div id=\"attachment_38317\" style=\"width: 762px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38317\" class=\"wp-image-38317 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2.png\" alt=\" Qlikview Direct Discovery - QlikView Direct Query\" width=\"752\" height=\"591\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2.png 752w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2-150x118.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2-300x236.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD2-520x409.png 520w\" sizes=\"auto, (max-width: 752px) 100vw, 752px\" \/><\/a><p id=\"caption-attachment-38317\" class=\"wp-caption-text\">Qlikview Direct Discovery &#8211; QlikView Direct Query<\/p><\/div>\n<h3>How Qlikview Direct Discovery Works?<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Now let us see how this direct discovery approach works in QlikView. As we know that through Direct Discovery data discovery and visual analysis using big data along with in-memory data has become easily possible.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Users are connecting to multiple platforms like Facebook, SAP, Teradata etc. using direct discovery. A significant advantage of this kind of QlikView direct discovery is gaining transparency through varied data silos. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">In tradition design of BI tools, with QlikView in focus, the user can either connect to an in-memory data or to an external database but not both.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Through QlikView direct discovery doing both together is possible. Another advantage is that the software still follows its associative model and so, relationships between data values of in-memory and direct discovery can see giving opportunities of new and fresh insights into data. <\/span><\/span><\/p>\n<div id=\"attachment_43014\" style=\"width: 1039px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-43014\" class=\"size-full wp-image-43014\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery.png\" alt=\"QlikView direct discovery\" width=\"1029\" height=\"569\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery.png 1029w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery-150x83.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery-300x166.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery-768x425.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery-1024x566.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/11\/QlikView-direct-discovery-520x288.png 520w\" sizes=\"auto, (max-width: 1029px) 100vw, 1029px\" \/><\/a><p id=\"caption-attachment-43014\" class=\"wp-caption-text\">QlikView direct discovery Working<\/p><\/div>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The QlikView direct discovery feature can invoke\u00a0simply by adding the Direct Query statement calling data from the desired external data source through the script. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This statement decides what is to load into QlikView\u2019s in-memory (Dimensions) and what should keep in the database at source destination (Measures).<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> However, the fields left at the database can call through queries.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> When\u00a0QlikView Direct Discovery structure gets established, both the data from in-memory and from direct discovery source can join and use in associative data analysis and visualization. <\/span><\/span><\/p>\n<h4 align=\"justify\">a. Data Source Supporting Direct Discovery<\/h4>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView Direct Discovery used <strong>ODBC and OLE DB connections<\/strong> to connect with the external data sources and for that data sources must support the connections.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> There are several data sources that support discovery connections. The list given below has the name of the data sources that support direct discovery.<\/span><\/span><\/p>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">MS SQL Server<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Teradata<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Oracle<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">SAP<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Google Big Query<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">MySQL<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Microsoft Access<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">DB2<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">PostgreSQL<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Sybase<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<p><strong><a href=\"https:\/\/data-flair.training\/blogs\/qlikview-data-structure\/\">Have a look &#8211; QlikView Data Structure (Table &amp; Fields)<\/a><\/strong><\/p>\n<h3 align=\"justify\">QlikView Direct Discovery Data Model Vs In-Memory<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Although, both in-memory and direct discovery data use along with each other in direct discovery method. Both have distinct data models that are fundamentally different from each other in some ways.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> By combining, all the storage and speed limitations in storing and processing a large amount of data have been overcome. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Some differences between the two <a href=\"https:\/\/data-flair.training\/blogs\/best-practice-for-data-modeling-in-qlikview\/\">data models<\/a> and their functioning are; <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">In the case of in-memory<a href=\"https:\/\/data-flair.training\/blogs\/qlikview-data-load\/\"> data loading<\/a>, in a table field structure, all the corresponding field data values are loaded along with the associations the field shares.\u00a0<\/span><\/span><\/p>\n<div id=\"attachment_38314\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38314\" class=\"size-full wp-image-38314\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4.png\" alt=\"QlikView Direct Discovery Data Model Vs\u00a0In-Memory\" width=\"500\" height=\"500\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4.png 500w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4-150x150.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4-300x300.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4-160x160.png 160w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD4-320x320.png 320w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-38314\" class=\"wp-caption-text\">QlikView Direct Discovery Data Model Vs\u00a0In-Memory<\/p><\/div>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Also, if another table loads having some fields in common with the existing table will share the common values as shown in the image below.<\/span><\/span><\/p>\n<div id=\"attachment_38315\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38315\" class=\"size-full wp-image-38315\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5.png\" alt=\"QlikView Direct Discovery Data Model Vs\u00a0In-Memory\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5.png 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5-150x79.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5-300x157.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5-768x402.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5-1024x536.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD5-520x272.png 520w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-38315\" class=\"wp-caption-text\">QlikView Direct Discovery Data Model Vs\u00a0In-Memory<\/p><\/div>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Now, in the case of a QlikView direct discovery data model. The fields of the table which are the Dimensions load using the QlikView Direct Query.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> The associations and measures are left in the database at the source.<\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\"> Whenever an aggregation or association is to perform on the external data, an <a href=\"https:\/\/data-flair.training\/blogs\/sql-tutorial\/\">SQL<\/a> query\u00a0launch which performs the calculations at the database source and returns only the result. The associations control by the WHERE clause in the direct query in QlikView. <\/span><\/span><\/p>\n<div id=\"attachment_38316\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38316\" class=\"size-full wp-image-38316\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6.png\" alt=\"QlikView Direct Discovery Data Model Vs\u00a0In-Memory\" width=\"500\" height=\"500\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6.png 500w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6-150x150.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6-300x300.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6-160x160.png 160w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD6-320x320.png 320w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-38316\" class=\"wp-caption-text\">QlikView Direct Discovery Data Model Vs\u00a0In-Memory<\/p><\/div>\n<div id=\"attachment_38318\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-38318\" class=\"size-full wp-image-38318\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7.png\" alt=\"QlikView Direct Discovery Data Model Vs\u00a0In-Memory\" width=\"500\" height=\"500\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7.png 500w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7-150x150.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7-300x300.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7-160x160.png 160w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/DD7-320x320.png 320w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-38318\" class=\"wp-caption-text\">QlikView Direct Discovery Data Model Vs\u00a0In-Memory<\/p><\/div>\n<h3 align=\"justify\">Advantages of QlikView Direct Discovery<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView Direct Discovery has many benefits associated with it. Some significant benefits are;<\/span><\/span><\/p>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Associative and flexible data discovery for big data that enables a thorough analysis of such large chunks of data giving fresh and fruitful results.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">A seamless combination of in-memory and direct discovery supporting data sources without any extra development efforts.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Massive data scalability as the size of data is no more a limitation.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Drilling down to details in the vast ocean of big data is much easier through data association in QlikView.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Using in-memory and direct discovery together makes data analysis much faster and efficient.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Diverse big data sources can use by the users to analyse data trends and patterns and share it with other users (team) as well.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Hidden patterns and associations can reveal in the big data by making selections in the in-memory data that shows the associations that selection has with the external data source data.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<h3 align=\"justify\">Disadvantages of QlikView Direct Discovery<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">However, following the rule of nature, this feature also has some cons or limitations as discussed below.<\/span><\/span><\/p>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Limitations occur in some cases while supporting <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-data-types\/\">data types<\/a>. For some data types, the source data format has to specifically mention using the \u2018SET Direct\u2026Format\u2019 (syntax) statement. Like,<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\">SET DirectDateFormat=&#8217;YYYY-MM-DD&#8217;; <\/span><\/em><\/p>\n<p align=\"justify\"><em><span style=\"font-family: Courier New, serif\">SET DirectMoneyFormat (default &#8216;#.0000&#8217;)<\/span><\/em><\/p>\n<ul>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">There are a few security-related constrictions like if many users are using a<a href=\"https:\/\/data-flair.training\/blogs\/qlikview-use-cases\/\"> QlikView application<\/a> which supports direct discovery then authentication services are not supported. <\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">The <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-set-analysis\/\">Set Analysis<\/a> feature cannot use.<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Calculated dimensions are not applicable.<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView Direct Discovery\u00a0does not support Binary Load, <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-synthetic-keys\/\">Synthetic Key<\/a>, Loop and Reduce.<\/span><\/span><\/p>\n<\/li>\n<li>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">QlikView Direct Discovery\u00a0does not support several other <a href=\"https:\/\/data-flair.training\/blogs\/qlikview-features\/\">QlikView features<\/a> and functionalities as it uses only SQL syntax-specific queries.<\/span><\/span><\/p>\n<\/li>\n<\/ul>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">So, this was all about QlikView Direct Discovery Tutorial. Hope you like our explanation.<\/span><\/span><\/p>\n<h3>Conclusion<\/h3>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">Hence, we complete the tutorial on the topic of QlikView Direct Discovery. <\/span><\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Arial, serif\"><span style=\"font-size: medium\">This tutorial offers a comprehensive view on the topic as it starts from explaining what direct discovery is and moves to show how to implement and use it in QlikView. Still, had a confusion? Feel free to ask in the comment box.<\/span><\/span><\/p>\n<p align=\"justify\">Related Topic &#8211; <strong><a href=\"https:\/\/data-flair.training\/blogs\/qlikview-box-plot-wizard\/\">QliKView Box Plot Wizard\u00a0\u00a0<\/a><\/strong><\/p>\n<p align=\"justify\"><strong><a href=\"https:\/\/help.qlik.com\/en-US\/qlikview\/November2017\/Subsystems\/Client\/Content\/DirectDiscovery\/direct-discovery-introduction.htm\">Reference For QlikView<\/a><\/strong><\/p>\n<p><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1720,&quot;href&quot;:&quot;https:\\\/\\\/help.qlik.com\\\/en-US\\\/qlikview\\\/November2017\\\/Subsystems\\\/Client\\\/Content\\\/DirectDiscovery\\\/direct-discovery-introduction.htm&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20201026050908\\\/https:\\\/\\\/help.qlik.com\\\/en-US\\\/qlikview\\\/November2017\\\/Subsystems\\\/Client\\\/Content\\\/DirectDiscovery\\\/direct-discovery-introduction.htm&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 20:40:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-14 21:30:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-26 06:55:03&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-02 01:15:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-12 14:17:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-18 20:14:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-22 19:50:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-11 16:30:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-07 14:13:00&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-26 07:59:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-28 10:22:09&quot;,&quot;http_code&quot;:502},{&quot;date&quot;:&quot;2026-05-16 00:51:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-07 12:22:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-07-02 16:35:29&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-07-02 16:35:29&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our last tutorial, we talked about QlikView T-Test. Here, we will learn about What is QlikView Direct Discovery. Moreover, we will discuss field types and variables of Direct Discovery in QlikView. In addition,&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":38319,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[17181,17177,17179,17180,17182,17183,17178],"class_list":["post-38294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-qlikview","tag-direct-discovery-data-model-vs-in-memory","tag-direct-discovery-in-qlikview","tag-qlikview-direct-discovery-advantages","tag-qlikview-direct-discovery-disadvantages","tag-qlikview-direct-query","tag-what-is-qlikview-direct-discovery","tag-working-of-direct-discovery"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>QlikView Direct Discovery - Working &amp; QlikView Data Query - DataFlair<\/title>\n<meta name=\"description\" content=\"What is QlikView Direct Discovery - Field Types &amp; variables of Direct Discovery in QlikView,QlikView Direct Query,Benefits &amp; Limitations of Direct Discovery\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"QlikView Direct Discovery - Working &amp; QlikView Data Query - DataFlair\" \/>\n<meta property=\"og:description\" content=\"What is QlikView Direct Discovery - Field Types &amp; variables of Direct Discovery in QlikView,QlikView Direct Query,Benefits &amp; Limitations of Direct Discovery\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-11-22T07:00:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-07T05:49:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1202\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"QlikView Direct Discovery - Working &amp; QlikView Data Query - DataFlair","description":"What is QlikView Direct Discovery - Field Types & variables of Direct Discovery in QlikView,QlikView Direct Query,Benefits & Limitations of Direct Discovery","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/","og_locale":"en_US","og_type":"article","og_title":"QlikView Direct Discovery - Working &amp; QlikView Data Query - DataFlair","og_description":"What is QlikView Direct Discovery - Field Types & variables of Direct Discovery in QlikView,QlikView Direct Query,Benefits & Limitations of Direct Discovery","og_url":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-11-22T07:00:32+00:00","article_modified_time":"2021-12-07T05:49:51+00:00","og_image":[{"width":1202,"height":630,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"QlikView Direct Discovery &#8211; Working &amp; QlikView Data Query","datePublished":"2018-11-22T07:00:32+00:00","dateModified":"2021-12-07T05:49:51+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/"},"wordCount":2331,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg","keywords":["Direct Discovery Data Model Vs\u00a0In-Memory","Direct Discovery in QlikView","QlikView Direct Discovery Advantages","QlikView Direct Discovery Disadvantages","QlikView Direct Query","What is QlikView Direct Discovery","Working of Direct Discovery"],"articleSection":["QlikView Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/","url":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/","name":"QlikView Direct Discovery - Working &amp; QlikView Data Query - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg","datePublished":"2018-11-22T07:00:32+00:00","dateModified":"2021-12-07T05:49:51+00:00","description":"What is QlikView Direct Discovery - Field Types & variables of Direct Discovery in QlikView,QlikView Direct Query,Benefits & Limitations of Direct Discovery","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/10\/QlikView-Direct-Discovery-01.jpg","width":1202,"height":630,"caption":"QlikView Direct Discovery"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/qlikview-direct-discovery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"QlikView Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/qlikview\/"},{"@type":"ListItem","position":3,"name":"QlikView Direct Discovery &#8211; Working &amp; QlikView Data Query"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/38294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=38294"}],"version-history":[{"count":13,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/38294\/revisions"}],"predecessor-version":[{"id":104876,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/38294\/revisions\/104876"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/38319"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=38294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=38294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=38294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}